Function at 0x541040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
push 0x60
mov esi, eax
xor ebx, ebx
lea eax, [esp + 0x24]
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x554]
add esp, 0xc
sub eax, ebx
mov ecx, 0x4638c0
mov edi, 0x463804
je 0x5410d8
sub eax, 1
je 0x5410b1
sub eax, 1
jne 0x541136
mov eax, 0x4637ac
mov edx, 0x46381c
mov dword [esp + 0xc], ecx
mov dword [esp + 0x8c], 0x4638b4
mov dword [esp + 0x1c], 0x463858
mov dword [esp + 0x18], edi
jmp 0x54113e
mov eax, 0x4637cc
mov edx, 0x46381c
mov dword [esp + 0xc], ecx
mov dword [esp + 0x8c], 0x4638ac
mov dword [esp + 0x1c], 0x463858
mov dword [esp + 0x18], edi
jmp 0x54113e
cmp byte [esi + 0x19], bl
mov eax, 0x4637cc
je 0x54110c
mov edx, 0x463840
mov dword [esp + 0x1c], 0x463884
mov dword [esp + 0xc], 0x4638d4
mov dword [esp + 0x8c], 0x4638ac
mov dword [esp + 0x18], 0x4637e8
jmp 0x54113e
mov edx, 0x46382c
mov dword [esp + 0x1c], 0x46386c
mov dword [esp + 0xc], 0x4638c8
mov dword [esp + 0x8c], 0x4638ac
mov dword [esp + 0x18], 0x4637e8
jmp 0x54113e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov edi, dword [esi + 0x30]
xor ecx, ecx
cmp edi, 0x6f
mov dword [esp + 0x14], ebx
mov dword [esp + 0x9c], edi
ja case.0x54115e.53
movzx edi, byte [edi + 0x5423c0]
jmp dword [edi*4 + 0x542300]
xor edi, edi
jmp 0x54193d
mov edi, 1
lea ecx, [edi + 0x3f]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x508
mov dword [esp + 0x2c], ebx
jmp 0x54193d
mov edi, 1
lea ecx, [edi + 0x3f]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 0x463814
mov dword [esp + 0x28], 0x20504
mov dword [esp + 0x2c], ebx
jmp 0x54193d
mov edi, 1
lea ecx, [edi + 0x3f]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 0x4637f4
mov dword [esp + 0x28], 0x20508
mov dword [esp + 0x2c], ebx
jmp 0x54193d
mov ecx, 0x20
mov dword [esp + 0x38], 0x290
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 0x12
mov edi, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
jmp 0x54193d
mov ecx, 0x40
jmp 0x5411dc
mov ecx, 0x40
mov dword [esp + 0x38], 0x510
jmp 0x5411e4
mov ecx, 0x40
mov dword [esp + 0x38], 0x490
jmp 0x5411e4
mov ecx, 0x40
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 8
mov dword [esp + 0x30], 0x463814
mov dword [esp + 0x38], 0x504
jmp 0x5411f4
mov ecx, 0x20
mov dword [esp + 0x20], edx
mov edx, 0x290
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], eax
mov edi, 3
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
jmp 0x54193d
mov dword [esp + 0x20], edx
mov edx, 0x510
mov edi, 3
lea ecx, [edi + 0x3d]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
jmp 0x54193d
mov ecx, 0x40
jmp 0x541257
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x510
mov ecx, 0x40
mov dword [esp + 0x48], 0x508
jmp 0x54126c
mov dword [esp + 0x20], edx
mov ecx, 0x40
mov edx, 0x490
jmp 0x541260
mov ecx, 0x840
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x510
mov dword [esp + 0x40], 0x463804
mov dword [esp + 0x48], 0x20510
jmp 0x541270
cmp byte [esi + 0x19], bl
mov edi, 4
mov ecx, 0x1840
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x510
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x463804
mov dword [esp + 0x48], 0x20510
mov dword [esp + 0x4c], ebx
jne 0x541382
mov eax, 0x4637f4
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], 0x20508
mov dword [esp + 0x5c], ebx
jmp 0x54193d
mov ecx, 0x2040
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x508
mov dword [esp + 0x40], 0x463804
mov dword [esp + 0x48], 0x510
jmp 0x541270
mov edx, dword [esp + 0x1c]
mov ecx, 0x20
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], 0x12
mov dword [esp + 0x48], 0x290
jmp 0x54126c
mov dword [esp + 0x20], edx
mov edx, 0x490
mov edi, 4
lea ecx, [edi + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
jmp 0x54193d
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], edx
mov edx, 0x490
mov edi, 4
lea ecx, [edi + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], 0x12
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
jmp 0x54193d
mov dword [esp + 0x20], edx
mov edx, 0x290
mov edi, 4
lea ecx, [edi + 0x1c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
jmp 0x54193d
mov dword [esp + 0x20], edx
mov edx, 0x290
mov edi, 4
lea ecx, [edi + 0x1c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x510
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
jmp 0x54193d
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], edx
mov edx, 0x510
mov edi, 4
lea ecx, [edi + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], 0x12
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
jmp 0x54193d
mov dword [esp + 0x20], edx
mov edx, 0x510
mov edi, 4
lea ecx, [edi + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
jmp 0x54193d
mov edi, 4
mov ecx, 0x840
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x510
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x463804
mov dword [esp + 0x48], 0x20510
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x4637fc
mov dword [esp + 0x58], 0x20504
mov dword [esp + 0x5c], ebx
jmp 0x54193d
mov edi, 5
mov ecx, 0x840
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x510
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x463804
mov dword [esp + 0x48], 0x20510
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x4637fc
mov dword [esp + 0x58], 0x20504
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], 0x508
mov dword [esp + 0x6c], ebx
jmp 0x54193d
mov edi, 4
mov ecx, 0x840
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x510
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x463804
mov dword [esp + 0x48], 0x20510
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x4637fc
mov dword [esp + 0x58], 0x24500
mov dword [esp + 0x5c], ebx
jmp 0x54193d
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
mov ecx, 0x40
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], 0x20510
jmp 0x5411ec
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], 0x20510
mov ecx, 0x40
mov dword [esp + 0x48], 0x508
jmp 0x54126c
mov edi, 5
mov ecx, 0x840
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x510
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x463804
mov dword [esp + 0x48], 0x24500
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x4637fc
mov dword [esp + 0x58], 0x20504
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], 0x508
mov dword [esp + 0x6c], ebx
jmp 0x54193d
mov dword [esp + 0x20], edx
mov edx, 0x510
mov edi, 6
mov ecx, 0x840
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x463804
mov dword [esp + 0x48], 0x20510
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x4637fc
mov dword [esp + 0x58], 0x20504
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
jmp 0x54193d
mov edi, 1
mov ecx, 0x18000
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 0x463804
mov dword [esp + 0x28], 0x20504
mov dword [esp + 0x2c], ebx
jmp 0x54193d
mov edi, 1
mov dword [esp + 0x20], 0x46380c
mov dword [esp + 0x28], 0xa0510
mov dword [esp + 0x2c], ebx
jmp 0x54193d
mov edi, 1
mov ecx, 0x40000
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 0x4637fc
mov dword [esp + 0x28], 0x20504
mov dword [esp + 0x2c], ebx
jmp 0x54193d
mov edi, 1
mov dword [esp + 0x20], 0x4638a0
mov dword [esp + 0x28], 0x20512
mov dword [esp + 0x2c], ebx
jmp 0x54193d
xor edi, edi
mov ecx, 0x100000
mov dword [esp + 0x14], ebx
jmp 0x54193d
xor edi, edi
mov ecx, 0x200000
mov dword [esp + 0x14], ebx
jmp 0x54193d
xor edi, edi
mov ecx, 0x400000
mov dword [esp + 0x14], ebx
jmp 0x54193d
mov eax, dword [esp + 0x8c]
mov edi, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x20512
mov dword [esp + 0x2c], ebx
jmp 0x54193d
mov ecx, 0x800000
mov dword [esp + 0x20], 0x4638ac
mov dword [esp + 0x14], ebx
mov edi, 1
mov dword [esp + 0x28], 0x20512
mov dword [esp + 0x2c], ebx
jmp 0x54193d
mov ecx, 0x1000000
jmp 0x5418d8
mov ecx, 0x2000000
jmp 0x5418d8
mov ecx, 0x2800000
jmp 0x5418d8
mov ecx, 0x3000000
jmp 0x5418d8
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], edx
jmp 0x5418e4
mov ecx, 0x800000
mov dword [esp + 0x20], 0x4638c0
jmp 0x5418e0
mov ecx, 0x1000000
mov dword [esp + 0x20], 0x4638c0
jmp 0x5418e0
mov edi, ecx
mov eax, dword [esi + 0x518]
cmp eax, edi
je 0x54197e
push eax
mov eax, dword [esi + 0x550]
push edi
push eax
push 0x4638e8
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0x10
push 0x758ee8
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], 0x80004005
call sub.msvcrt.dll__CxxThrowException
and ecx, 0x40
or ecx, ebx
je 0x5419a5
cmp dword [esi + 0x530], ebx
je 0x5419a5
mov edx, dword [esi + 0x550]
push edx
push 0x463948
call fcn.00540d80
add esp, 8
add dword [esi + 0x14], 1
xor ecx, ecx
cmp edi, ebx
mov dword [esp + 0xc], ecx
jbe 0x5422f7
mov eax, ecx
imul eax, eax, 0xd0
lea edx, [eax + esi + 0x38]
shl ecx, 4
mov eax, dword [esp + ecx + 0x20]
mov dword [esp + 0x88], eax
mov eax, dword [eax]
cmp eax, 0xffffffff
mov dword [esp + 0x18], edx
je 0x5419fc
mov edx, dword [edx]
lea ebx, [ebx]
cmp eax, edx
je 0x541a39
mov eax, dword [esp + 0x88]
add eax, 4
mov dword [esp + 0x88], eax
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x5419e0
mov eax, dword [esi + 0x550]
mov ecx, dword [esp + 0xc]
push eax
add ecx, 1
push ecx
push 0x463990
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0xc
push 0x758ee8
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x8c], 0x80004005
call sub.msvcrt.dll__CxxThrowException
mov edx, dword [esp + ecx + 0x28]
mov ecx, dword [esp + ecx + 0x2c]
mov eax, edx
and eax, 4
or eax, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
je 0x541a82
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x80], ebx
je 0x541a82
mov ecx, dword [esi + 0x550]
mov edx, dword [esp + 0xc]
push ecx
add edx, 1
push edx
push 0x4639e0
call fcn.00540d80
mov edx, dword [esp + 0x1c]
add esp, 0xc
add dword [esi + 0x14], 1
mov eax, edx
and eax, 8
or eax, ebx
je 0x541acb
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x80]
cmp eax, 1
je 0x541acb
cmp eax, 2
jne 0x541aa7
cmp dword [ecx + 0x84], eax
je 0x541acb
mov eax, dword [esi + 0x550]
mov ecx, dword [esp + 0xc]
push eax
add ecx, 1
push ecx
push 0x463a38
call fcn.00540d80
mov edx, dword [esp + 0x1c]
add esp, 0xc
add dword [esi + 0x14], 1
mov eax, edx
and eax, 0x10
or eax, ebx
je 0x541b27
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x80]
cmp ecx, 2
je 0x541b27
mov eax, dword [eax]
cmp eax, 4
jne 0x541aef
cmp ecx, 1
je 0x541b27
cmp eax, 0xc
je 0x541b27
cmp eax, 0xf
je 0x541b27
cmp eax, 0xb
je 0x541b27
cmp eax, 0xd
je 0x541b27
mov ecx, dword [esi + 0x550]
mov edx, dword [esp + 0xc]
push ecx
add edx, 1
push edx
push 0x463ab0
call fcn.00540d80
mov edx, dword [esp + 0x1c]
add esp, 0xc
add dword [esi + 0x14], 1
mov ecx, dword [esp + 0x18]
mov eax, edx
and eax, 2
or eax, ebx
je 0x541b83
cmp dword [ecx + 0x84], ebx
jne 0x541b45
test byte [ecx + 0x94], 0xf0
jne 0x541b83
mov eax, dword [ecx]
cmp eax, 0xd
je 0x541b83
cmp eax, 0xb
je 0x541b83
cmp eax, 0xf
je 0x541b83
cmp eax, 0xc
je 0x541b83
mov eax, dword [esi + 0x550]
mov ecx, dword [esp + 0xc]
push eax
add ecx, 1
push ecx
push 0x463b58
call fcn.00540d80
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
add dword [esi + 0x14], 1
mov eax, edx
and eax, 0x100
or eax, ebx
je 0x541bc6
mov eax, dword [ecx + 0x8c]
cmp eax, 1
je 0x541b9e
cmp eax, 3
jne 0x541bc6
mov edx, dword [esi + 0x550]
mov eax, dword [esp + 0xc]
push edx
add eax, 1
push eax
push 0x463be8
call fcn.00540d80
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
add dword [esi + 0x14], 1
mov eax, edx
and eax, 0x400
or eax, ebx
je 0x541c09
mov eax, dword [ecx + 0x8c]
cmp eax, 2
je 0x541be1
cmp eax, 3
jne 0x541c09
mov ecx, dword [esi + 0x550]
mov edx, dword [esp + 0xc]
push ecx
add edx, 1
push edx
push 0x463c40
call fcn.00540d80
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
add dword [esi + 0x14], 1
mov eax, edx
and eax, 0x4000
or eax, ebx
je 0x541c6a
cmp dword [ecx + 0x80], 2
jne 0x541c46
cmp dword [ecx + 0x84], 1
jne 0x541c46
cmp byte [ecx + 0x94], bl
jne 0x541c46
cmp byte [ecx + 0x95], bl
jne 0x541c46
cmp byte [ecx + 0x96], bl
jne 0x541c46
cmp byte [ecx + 0x97], bl
je 0x541c6a
mov eax, dword [esi + 0x550]
mov ecx, dword [esp + 0xc]
push eax
add ecx, 1
push ecx
push 0x463c90
call fcn.00540d80
mov edx, dword [esp + 0x1c]
add esp, 0xc
add dword [esi + 0x14], 1
mov eax, edx
and eax, 0x20000
or eax, ebx
je 0x541cc7
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xcc]
xor ecx, ecx
sub eax, 1
je 0x541c9c
sub eax, 1
je 0x541c95
sub eax, 1
jne 0x541ca1
lea ecx, [eax + 3]
jmp 0x541ca1
mov ecx, 2
jmp 0x541ca1
mov ecx, 1
xor eax, eax
cmp ecx, ebx
jbe 0x541cc7
mov edx, dword [esp + 0x18]
add edx, 0xc0
cmp dword [edx], ebx
jne 0x5420a4
add eax, 1
add edx, 4
cmp eax, ecx
jb 0x541cb1
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
and edx, 0x80000
mov eax, edx
or eax, ebx
je 0x541d33
cmp dword [ecx + 0x80], 2
jne 0x541d0f
mov edx, 1
cmp dword [ecx + 0x84], edx
jne 0x541d0f
cmp byte [ecx + 0x94], bl
jne 0x541d0f
cmp byte [ecx + 0x95], dl
jne 0x541d0f
cmp byte [ecx + 0x96], 2
jne 0x541d0f
cmp byte [ecx + 0x97], 3
je 0x541d38
mov ecx, dword [esi + 0x550]
mov edx, dword [esp + 0xc]
push ecx
add edx, 1
push edx
push 0x463d48
call fcn.00540d80
mov ecx, dword [esp + 0x24]
add esp, 0xc
add dword [esi + 0x14], 1
mov edx, 1
mov ecx, dword [ecx]
cmp ecx, 0xf
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x88], ecx
ja case.default.0x541d5f
jmp dword [ecx*4 + 0x542430]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x90], 0x1000
jmp case.default.0x541d5f
mov eax, dword [esi + 0x554]
sub eax, ebx
je 0x541e02
sub eax, edx
je 0x541de5
sub eax, edx
jne case.default.0x541d5f
mov al, byte [esi + 0x19]
neg al
mov dword [esp + 0x1c], 2
mov dword [esp + 0x90], 6
sbb eax, eax
and eax, 0x10
add eax, 0x10
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
cmp eax, 0x5b
je 0x541dd5
cmp eax, 0x5e
jle case.default.0x541d5f
cmp eax, 0x61
jg case.default.0x541d5f
mov dword [esp + 0x90], 7
jmp case.default.0x541d5f
mov cl, byte [esi + 0x19]
neg cl
mov dword [esp + 0x1c], edx
sbb ecx, ecx
and ecx, 0x10
add ecx, 0x10
mov dword [esp + 0x90], ecx
jmp case.default.0x541d5f
mov dword [esp + 0x1c], edx
mov dword [esp + 0x90], 0x20
jmp case.default.0x541d5f
mov eax, dword [esi + 0x554]
sub eax, ebx
mov dword [esp + 0x1c], edx
je 0x541e59
sub eax, edx
je 0x541e40
sub eax, edx
jne case.default.0x541d5f
mov dword [esp + 0x90], 0x20
jmp case.default.0x541d5f
mov dl, byte [esi + 0x19]
neg dl
sbb edx, edx
and edx, 0x10
add edx, 0x10
mov dword [esp + 0x90], edx
jmp case.default.0x541d5f
mov dword [esp + 0x90], 8
jmp case.default.0x541d5f
xor eax, eax
cmp dword [esp + 0x9c], 0x69
mov dword [esp + 0x1c], 2
sete al
mov dword [esp + 0x90], 0x1000
add eax, 0x1000
mov dword [esp + 0x94], eax
jmp case.default.0x541d5f
mov dword [esp + 0x1c], edx
mov dword [esp + 0x90], 0x10
jmp case.default.0x541d5f
mov dword [esp + 0x1c], edx
mov dword [esp + 0x90], 0x80
jmp case.default.0x541d5f
xor ecx, ecx
cmp dword [esp + 0x9c], 0x59
mov dword [esp + 0x1c], 2
sete cl
mov dword [esp + 0x90], 0xf
add ecx, 0x1000
mov dword [esp + 0x94], ecx
jmp case.default.0x541d5f
mov dword [esp + 0x1c], edx
mov dword [esp + 0x90], 0xffffffff
jmp case.default.0x541d5f
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xcc]
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x84], ecx
jne 0x5420e1
mov edx, dword [esp + 0x88]
cmp edx, 8
ja case.0x541f2b.1
movzx edx, byte [edx + 0x542478]
jmp dword [edx*4 + 0x542470]
cmp dword [eax + 0xc0], ebx
jne 0x54211e
xor eax, eax
cmp ecx, ebx
jle 0x54208a
mov edx, dword [esp + 0x18]
lea ecx, [edx + 0x18]
add edx, 0xc0
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x8c]
mov edx, dword [edx]
cmp edx, ebx
je 0x54205f
cmp edx, 1
jle 0x54226a
cmp edx, 3
jg 0x54226a
mov edx, dword [ecx - 8]
cmp edx, ebx
je 0x542001
cmp edx, 3
jne 0x54215b
cmp dword [ecx], 2
jne 0x54219c
mov edx, 0x1000
cmp dword [ecx + 8], edx
jae 0x5421dd
cmp dword [ecx + 0x10], edx
jb 0x54206f
mov ecx, dword [esi + 0x550]
mov edx, dword [esp + 0xc]
push ecx
add edx, 1
push edx
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4 + 5]
mov ecx, dword [edx + ecx*8]
push 0xfff
push ecx
add eax, 1
push eax
push 0x4640d8
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0x18
push 0x758ee8
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0xa4], 0x80004005
call sub.msvcrt.dll__CxxThrowException
cmp dword [ecx], 1
jne 0x54222f
cmp dword [ecx + 8], 0x1000
jb 0x54206f
mov ecx, dword [esi + 0x550]
mov edx, dword [esp + 0xc]
push ecx
add edx, 1
push edx
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov ecx, dword [edx + ecx*8 + 0x20]
push 0xfff
push ecx
add eax, 1
push eax
push 0x463ef8
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0x18
push 0x758ee8
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x80004005
call sub.msvcrt.dll__CxxThrowException
mov edx, dword [ecx - 0x10]
cmp edx, dword [esp + eax*4 + 0x90]
jae 0x5422a5
add dword [esp + 0x8c], 4
add eax, 1
add ecx, 0x28
cmp eax, dword [esp + 0x84]
jl 0x541f5c
mov eax, dword [esp + 0xc]
add eax, 1
cmp eax, edi
mov dword [esp + 0xc], eax
jae 0x5422f7
mov ecx, eax
jmp 0x5419b3
mov eax, dword [esi + 0x550]
mov ecx, dword [esp + 0xc]
push eax
add ecx, 1
push ecx
push 0x463ce0
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0xc
push 0x758ee8
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x8c], 0x80004005
call sub.msvcrt.dll__CxxThrowException
mov eax, dword [esi + 0x550]
mov ecx, dword [esp + 0xc]
push eax
add ecx, 1
push ecx
push 0x463da8
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0xc
push 0x758ee8
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x8c], 0x80004005
call sub.msvcrt.dll__CxxThrowException
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x550]
add eax, 1
push eax
push ecx
push 0x463e08
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0xc
push 0x758ee8
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x8c], 0x80004005
call sub.msvcrt.dll__CxxThrowException
mov ecx, dword [esi + 0x550]
mov edx, dword [esp + 0xc]
push ecx
add edx, 1
push edx
add eax, 1
push eax
push 0x464198
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0x10
push 0x758ee8
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x8c], 0x80004005
call sub.msvcrt.dll__CxxThrowException
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x550]
add ecx, 1
push ecx
push edx
add eax, 1
push eax
push 0x463f98
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0x10
push 0x758ee8
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x90], 0x80004005
call sub.msvcrt.dll__CxxThrowException
mov ecx, dword [esi + 0x550]
mov edx, dword [esp + 0xc]
push ecx
add edx, 1
push edx
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov ecx, dword [edx + ecx*8 + 0x20]
push 0xfff
push ecx
add eax, 1
push eax
push 0x464030
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0x18
push 0x758ee8
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x94], 0x80004005
call sub.msvcrt.dll__CxxThrowException
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x550]
add ecx, 1
push ecx
push edx
add eax, 1
push eax
push 0x463e68
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0x10
push 0x758ee8
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x80004005
call sub.msvcrt.dll__CxxThrowException
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x550]
add ecx, 1
push ecx
push edx
add eax, 1
push eax
push 0x464290
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0x10
push 0x758ee8
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80004005
call sub.msvcrt.dll__CxxThrowException
mov ecx, dword [esi + 0x550]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + eax*4 + 0x94]
add edx, 1
push edx
sub ecx, 1
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [eax + eax*4]
mov edx, dword [ecx + edx*8 + 8]
push edx
add eax, 1
push eax
push 0x464210
call fcn.00540d80
add dword [esi + 0x14], 1
add esp, 0x18
push 0x758ee8
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0x80004005
call sub.msvcrt.dll__CxxThrowException
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret