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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444e65
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x458220]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x458220]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
test eax, eax
mov edi, ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], eax
je 0x4156df
and dword [eax], 0
push dword [ebp + 8]
lea eax, [edi - 8]
mov dword [esp + 0x38], eax
call fcn.00416fd3
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], ebx
jne 0x415723
mov eax, 0x80004005
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.004363e5
mov esp, ebp
pop ebp
ret 0xc
lea esi, [ebx + 0x58]
mov dword [esp + 0x48], esi
call fcn.0041fb26
xor esi, esi
lea eax, [ebx + 0x49]
mov dword [ebx + 0x5c], esi
mov byte [eax], 0
mov byte [ebx + 0x28], 0
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x17c], 7
mov dword [esp + 0x178], esi
mov word [esp + 0x168], si
lea ecx, [edi + 0x6c]
push ecx
push dword [ebp + 8]
add edi, 0x10
mov dword [esp + 0x2a0], esi
mov eax, edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x20], edi
call fcn.0042aec0
lea edx, [esp + 0x16c]
mov ecx, eax
call fcn.004143d7
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
je 0x4157b1
push esi
push 1
lea esi, [esp + 0x16c]
call fcn.0040115e
mov eax, edi
jmp 0x4156fd
mov esi, dword [esp + 0x18]
push dword [ebp + 8]
lea edi, [ebx + 0x84]
mov eax, esi
mov dword [esp + 0x24], edi
call fcn.0042aec0
mov edx, eax
call fcn.0041465b
mov edi, eax
test edi, edi
pop ecx
je 0x4157db
push 0
jmp 0x41579c
push 0xffffffffffffffff
push ebx
xor ebx, ebx
lea eax, [esp + 0x16c]
call fcn.00401223
lea eax, [esp + 0x1ec]
call fcn.0040f16b
mov eax, esi
mov byte [esp + 0x298], 1
call fcn.0042aec0
mov edx, dword [eax]
lea ecx, [esp + 0x1ec]
push ecx
push 0x1d
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
je 0x415844
mov ebx, eax
lea eax, [esp + 0x1ec]
call fcn.0040f184
push 0
push 1
lea esi, [esp + 0x16c]
call fcn.0040115e
mov eax, ebx
jmp 0x4156fd
lea eax, [esp + 0x1ec]
call fcn.0042aec0
test eax, eax
je 0x41587c
cmp eax, 3
je 0x415860
mov ebx, 0x80004005
jmp 0x415821
lea ecx, [esp + 0x1ec]
call fcn.0040f1a9
mov ebx, dword [esp + 0x28]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x28], 1
jmp 0x415880
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x1ec]
mov byte [esp + 0x298], 0
call fcn.0040f184
push 0xf
push dword [ebp + 8]
mov eax, esi
call fcn.0042aec0
mov edi, dword [esp + 0x54]
mov edx, eax
call fcn.00414669
xor edi, edi
cmp eax, edi
pop ecx
pop ecx
je 0x4158ba
mov ebx, eax
jmp 0x41582d
lea eax, [esp + 0x1c4]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
call fcn.0040f16b
mov eax, esi
mov byte [esp + 0x298], 2
call fcn.0042aec0
mov edx, dword [eax]
lea ecx, [esp + 0x1c4]
push ecx
push 7
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x1c]
mov esi, eax
cmp esi, edi
lea eax, [esp + 0x1c4]
je 0x41590a
call fcn.0040f184
mov ebx, esi
jmp 0x41582d
call fcn.0042aec0
test eax, eax
setne byte [esp + 0x33]
cmp byte [esp + 0x33], 0
je 0x41593b
lea ecx, [esp + 0x1c4]
call fcn.0040f1a9
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x54], eax
lea eax, [esp + 0x1c4]
mov byte [esp + 0x298], 0
call fcn.0040f184
cmp dword [ebp + 0x10], edi
jne 0x4169ba
mov esi, dword [esp + 0x2c]
cmp byte [esi + 0x98], 0
je 0x4159b3
push 0xc
call fcn.00436468
cmp eax, edi
pop ecx
je 0x41597a
mov esi, eax
call fcn.00431148
jmp 0x41597c
xor eax, eax
mov ecx, eax
add eax, 8
neg ecx
sbb ecx, ecx
and ecx, eax
lea esi, [esp + 0x48]
call fcn.0042aeb2
mov esi, dword [esp + 0x58]
cmp esi, edi
je 0x4159a3
lea ecx, [esp + 0x48]
call fcn.004181c9
mov dword [esi], eax
lea eax, [esp + 0x48]
call fcn.00435da8
xor ebx, ebx
jmp 0x41582d
lea eax, [esp + 0x19c]
call fcn.0040f16b
mov byte [esp + 0x298], 3
mov eax, dword [esp + 0x18]
call fcn.0042aec0
mov edx, dword [eax]
lea ecx, [esp + 0x19c]
push ecx
push 9
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x1c]
mov ebx, eax
cmp ebx, edi
lea eax, [esp + 0x19c]
jne 0x415828
call fcn.0042aec0
cmp eax, edi
jne 0x415a1d
mov ecx, dword [esi + 0x90]
mov eax, dword [esp + 0x28]
mov dword [eax + 0x78], ecx
mov ecx, dword [esi + 0x94]
mov dword [eax + 0x7c], ecx
mov byte [eax + 0x83], 0
jmp 0x415a55
cmp eax, 3
je 0x415a38
lea eax, [esp + 0x19c]
call fcn.0040f184
mov ebx, 0x80004005
jmp 0x41582d
lea ecx, [esp + 0x19c]
call fcn.0040f1a9
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
mov byte [ecx + 0x83], 1
lea eax, [esp + 0x19c]
mov byte [esp + 0x298], 0
call fcn.0040f184
mov eax, dword [esp + 0x28]
push 0xa
push dword [ebp + 8]
lea edi, [eax + 0x80]
push dword [esp + 0x3c]
lea ebx, [eax + 0x60]
mov dword [esp + 0x80], edi
mov dword [esp + 0x70], ebx
call fcn.004155eb
test eax, eax
jne 0x4158b3
mov eax, dword [esp + 0x28]
push 0xb
push dword [ebp + 8]
lea edi, [eax + 0x81]
push dword [esp + 0x3c]
lea ebx, [eax + 0x68]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], ebx
call fcn.004155eb
test eax, eax
jne 0x4158b3
mov eax, dword [esp + 0x28]
push 0xc
push dword [ebp + 8]
lea edi, [eax + 0x82]
push dword [esp + 0x3c]
lea ebx, [eax + 0x70]
mov dword [esp + 0x68], edi
mov dword [esp + 0x58], ebx
call fcn.004155eb
xor ebx, ebx
cmp eax, ebx
jne 0x4158b3
mov eax, dword [esp + 0x18]
push 0x15
push dword [ebp + 8]
mov byte [esp + 0x2f], bl
call fcn.0042aec0
lea edi, [esp + 0x2f]
mov edx, eax
call fcn.00414669
cmp eax, ebx
pop ecx
pop ecx
jne 0x4158b3
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x168]
mov byte [esp + 0x29c], 4
call fcn.0041343b
pop ecx
lea eax, [esp + 0x38]
call fcn.00403a46
cmp eax, ebx
jne 0x415b57
lea esi, [esp + 0x38]
call fcn.00403afe
jmp 0x415a2e
mov ecx, dword [esi + 0x20]
dec ecx
mov dword [esp + 0x18], ebx
je 0x415c3e
dec ecx
dec ecx
jne 0x415c43
lea edi, [esi + 0x5c]
mov eax, edi
mov dword [esp + 0x80], edi
call fcn.00403a46
test eax, eax
je 0x415c16
mov eax, edi
call fcn.00403a46
dec eax
mov dword [esp + 0x54], eax
js 0x415c43
push dword [esp + 0x54]
mov esi, dword [esp + 0x84]
call fcn.004079c7
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
lea ecx, [esp + 0xe0]
push ecx
mov ecx, eax
mov byte [esp + 0x29c], 5
call fcn.0041343b
pop ecx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xe4]
push eax
lea edi, [esp + 0x20]
call fcn.00417319
cmp eax, ebx
mov byte [esp + 0x298], 4
lea esi, [esp + 0xe0]
je 0x415c0b
call fcn.00403afe
dec dword [esp + 0x54]
jns 0x415b98
jmp 0x415c10
call fcn.00403afe
mov esi, dword [esp + 0x2c]
jmp 0x415c43
lea eax, [esp + 0x38]
push eax
lea eax, [esi + 0x4c]
push eax
lea edi, [esp + 0x20]
call fcn.00417319
mov edi, eax
cmp edi, ebx
je 0x415c43
lea esi, [esp + 0x38]
call fcn.00403afe
mov ebx, edi
jmp 0x41582d
dec eax
mov dword [esp + 0x18], eax
push dword [esp + 0x18]
lea edi, [esp + 0x3c]
push ebx
call fcn.00407af5
mov eax, edi
push eax
call fcn.0041ae36
mov eax, edi
add esp, 0xc
push eax
lea edi, [esp + 0xc8]
call fcn.0041b1a7
pop ecx
mov byte [esp + 0x298], 6
cmp dword [esi + 0x20], 2
mov byte [esp + 0x1f], bl
jne 0x415d53
cmp dword [esp + 0xd8], 1
jbe 0x415d53
xor edi, edi
inc edi
lea eax, [esp + 0xc4]
call fcn.00403996
cmp word [eax], 0x5f
jne 0x415d53
cmp dword [esp + 0xd8], 2
jne 0x415cbb
mov eax, dword [esp + 0x20]
cmp byte [eax], bl
jne 0x415ce2
push 2
pop edi
lea eax, [esp + 0xc4]
call fcn.00403996
cmp word [eax], 0x5c
je 0x415ce2
lea eax, [esp + 0xc4]
call fcn.00403996
cmp word [eax], 0x2f
jne 0x415d53
push 1
lea eax, [esp + 0xc8]
push eax
xor ebx, ebx
lea esi, [esp + 0xe8]
call fcn.004039b6
push 0x3a
mov byte [esp + 0x29c], 7
call fcn.00406cc5
mov eax, esi
push eax
call fcn.0040bc98
test al, al
pop ecx
je 0x415d2f
xor edi, edi
inc edi
lea eax, [esp + 0xc4]
call fcn.00403996
mov word [eax], 0x3a
mov byte [esp + 0x1f], 1
push 0
push 1
lea esi, [esp + 0xe8]
mov byte [esp + 0x2a0], 6
call fcn.0040115e
mov esi, dword [esp + 0x2c]
xor ebx, ebx
cmp byte [esp + 0x1f], bl
jne 0x415dc9
cmp byte [esi + 0x29], bl
je 0x415dc9
mov esi, dword [esp + 0x3c]
cmp esi, dword [esp + 0x40]
jbe 0x415d67
call fcn.004367c5
push esi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x48]
call fcn.00403a5c
lea eax, [esp + 0x38]
push eax
call fcn.0041ae36
pop ecx
lea eax, [esp + 0x38]
push eax
lea edi, [esp + 0x14c]
call fcn.0041b1a7
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0xc8]
push ecx
xor ebx, ebx
mov byte [esp + 0x2a0], 8
call fcn.00401223
push ebx
push 1
mov esi, edi
call fcn.0040115e
mov esi, dword [esp + 0x2c]
cmp byte [esp + 0x27], bl
jne 0x4160b8
mov edi, dword [esp + 0x20]
cmp byte [edi], bl
jne 0x415dfa
lea eax, [esp + 0x38]
call fcn.00403a46
test eax, eax
je 0x415dfa
mov eax, dword [esp + 0x40]
push eax
add eax, 0xffffffe4
call fcn.00403c78
sub dword [esp + 0x40], 0x1c
mov al, byte [edi]
cmp al, bl
je 0x415e0a
cmp dword [esi + 0x20], 1
je 0x4160b8
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], bx
cmp byte [esp + 0x1f], bl
mov byte [esp + 0x298], 9
mov byte [esp + 0x17], bl
je 0x415e8a
cmp al, bl
lea eax, [esp + 0xe0]
je 0x415e54
push 0xffffffffffffffff
push eax
xor ebx, ebx
lea eax, [esp + 0xcc]
call fcn.00401223
jmp 0x415e66
push eax
lea edi, [esp + 0xc8]
call fcn.0040d167
mov edi, dword [esp + 0x24]
pop ecx
lea eax, [esp + 0xe0]
push eax
call fcn.0040bc98
test al, al
pop ecx
jne 0x415e86
lea ecx, [esp + 0xe0]
call fcn.0040d088
jmp 0x415ea0
mov al, 1
jmp 0x415ea5
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
call fcn.00415429
mov byte [esp + 0x17], 1
cmp al, bl
jne 0x415f3f
lea eax, [esp + 0x180]
call fcn.0040cd8a
mov byte [esp + 0x298], 0xa
cmp dword [eax + 0x18], 8
jb 0x415ecc
mov eax, dword [eax + 4]
jmp 0x415ecf
add eax, 4
cmp dword [esp + 0xf8], 8
mov ecx, dword [esp + 0xe4]
jae 0x415ee7
lea ecx, [esp + 0xe4]
push eax
push ecx
push 0x271a
lea ecx, [esp + 0x154]
call fcn.00402c01
add esp, 0xc
push ebx
push 1
lea esi, [esp + 0x188]
mov byte [esp + 0x2a0], 0xc
call fcn.0040115e
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x148]
push eax
push dword [ebp + 8]
call fcn.0041708a
push ebx
push 1
lea esi, [esp + 0x150]
call fcn.0040115e
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
cmp byte [esp + 0x1f], bl
jne 0x416054
cmp byte [edi], bl
je 0x4160a5
cmp byte [esi + 0x48], bl
jne 0x415f64
cmp byte [esi + 0x49], bl
jne 0x415f64
cmp byte [esi + 0x4a], bl
je 0x4160a5
mov dword [esp + 0x114], 7
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], bx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x120], bl
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov byte [esp + 0x12c], bl
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
mov byte [esp + 0x138], bl
push 0xffffffffffffffff
lea eax, [esp + 0x100]
push eax
xor ebx, ebx
lea eax, [esp + 0xe8]
mov byte [esp + 0x2a0], 0xd
call fcn.00401223
cmp byte [esi + 0x48], bl
je 0x416009
mov eax, dword [esp + 0x74]
cmp byte [eax], bl
je 0x416009
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
mov byte [esp + 0x120], 1
cmp byte [esi + 0x49], bl
je 0x416035
mov eax, dword [esp + 0x50]
cmp byte [eax], bl
je 0x416035
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], eax
mov byte [esp + 0x12c], 1
cmp byte [esi + 0x4a], bl
je 0x41605f
mov eax, dword [esp + 0x5c]
cmp byte [eax], bl
je 0x41605f
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x130], ecx
jmp 0x416072
cmp byte [esp + 0x17], bl
je 0x4160a5
jmp 0x415f49
mov eax, dword [esi + 0x88]
mov dword [esp + 0x130], eax
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x134], eax
lea eax, [esp + 0xfc]
push eax
lea edi, [esi + 0x114]
mov byte [esp + 0x13c], 1
call fcn.00417726
push ebx
push 1
lea esi, [esp + 0x104]
call fcn.0040115e
xor ebx, ebx
push ebx
push 1
lea esi, [esp + 0xe8]
call fcn.0040115e
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
cmp byte [esp + 0x1f], bl
mov byte [esp + 0x298], 0xe
je 0x4160fd
push 0xffffffffffffffff
lea eax, [esp + 0xac]
push eax
xor ebx, ebx
lea eax, [esp + 0xcc]
call fcn.00401223
xor edi, edi
inc edi
jmp 0x416150
lea eax, [esp + 0xc4]
push eax
add esi, 0x2c
lea eax, [esp + 0x14c]
push esi
push eax
call fcn.0040c29c
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0xac]
push ecx
xor ebx, ebx
mov byte [esp + 0x2a0], 0xf
call fcn.00401223
push ebx
push 1
lea esi, [esp + 0x150]
mov byte [esp + 0x2a0], 0xe
call fcn.0040115e
mov esi, dword [esp + 0x2c]
xor edi, edi
inc edi
mov eax, dword [esp + 0x20]
cmp byte [eax], bl
je 0x4161a9
mov esi, dword [esp + 0x28]
push 0xffffffffffffffff
add esi, 0x2c
push esi
xor ebx, ebx
lea eax, [esp + 0xb0]
call fcn.00401223
cmp byte [esp + 0x27], bl
je 0x41617d
mov eax, esi
call fcn.0040d07e
push ebx
push 1
lea esi, [esp + 0xb0]
call fcn.0040115e
push ebx
push 1
lea esi, [esp + 0xcc]
call fcn.0040115e
lea esi, [esp + 0x38]
call fcn.00403afe
jmp 0x41582d
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x28], bl
jne 0x4167a4
lea eax, [esp + 0xfc]
call fcn.0040d873
push eax
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x2a0], 0x10
mov byte [esp + 0x1f], bl
call fcn.0040d83d
test al, al
pop ecx
pop ecx
je 0x416786
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x4161f2
cmp eax, 2
jne 0x41623b
cmp dword [esi + 0x24], edi
ja 0x41623b
lea eax, [esp + 0xfc]
call fcn.0041a5c0
mov ecx, dword [esp + 0x5c]
mov cl, byte [ecx]
neg cl
sbb ecx, ecx
and ecx, dword [esp + 0x4c]
call fcn.0040f238
test eax, eax
jg 0x41623b
lea eax, [esp + 0xfc]
call fcn.0040d8a1
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.0040115e
push ebx
push edi
jmp 0x41618f
mov eax, dword [esi + 0x24]
sub eax, ebx
je 0x41624c
dec eax
dec eax
jne 0x4164e2
jmp 0x41621a
lea ecx, [esp + 0xfc]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.0040d90d
mov dword [esp + 0x74], eax
mov eax, ecx
mov dword [esp + 0x78], edx
call fcn.0041a5c0
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
lea eax, [esi + 0x104]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x41628f
call fcn.0043112c
lea eax, [esi + 0x14]
mov byte [esp + 0x298], 0x11
call fcn.0042aec0
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x54]
push ecx
mov cl, byte [esp + 0x3b]
neg cl
push edi
lea edx, [esp + 0x78]
mov dword [esp + 0x6c], eax
mov eax, dword [eax]
sbb ecx, ecx
and ecx, edx
push ecx
mov ecx, dword [esp + 0x6c]
mov cl, byte [ecx]
neg cl
sbb ecx, ecx
and ecx, dword [esp + 0x5c]
push ecx
lea ecx, [esp + 0x178]
push ecx
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x84]
call dword [eax + 0x18]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x41634a
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x416310
call fcn.0043113a
lea eax, [esp + 0xfc]
call fcn.0040d8a1
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.0040115e
push ebx
push edi
lea esi, [esp + 0xcc]
call fcn.0040115e
lea esi, [esp + 0x38]
call fcn.00403afe
mov ebx, dword [esp + 0x20]
jmp 0x41582d
mov eax, dword [esp + 0x50]
cmp eax, 7
ja case.default.0x416357
jmp dword [eax*4 + 0x4169cf]
cmp dword [esp + 0x18], ebx
je 0x41636d
mov eax, dword [esp + 0x18]
call fcn.0043113a
lea eax, [esp + 0xfc]
call fcn.0040d8a1
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.0040115e
push ebx
push edi
lea esi, [esp + 0xcc]
call fcn.0040115e
lea esi, [esp + 0x38]
call fcn.00403afe
mov ebx, 0x80004004
jmp 0x41582d
cmp dword [esp + 0x18], ebx
je 0x41621a
mov eax, dword [esp + 0x18]
call fcn.0043113a
jmp 0x41621a
mov dword [esi + 0x24], 2
jmp case.0x416357.2
mov dword [esi + 0x24], edi
jmp case.0x416357.0
mov dword [esi + 0x24], 3
jmp case.0x416357.0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x17], 1
call fcn.0040f6b2
test al, al
jne case.0x416357.0
lea eax, [esp + 0x8c]
push 0x271b
push eax
call fcn.00402be4
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x228]
push eax
mov byte [esp + 0x2ac], 0x12
call fcn.0040c29c
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x94]
mov byte [esp + 0x2a0], 0x14
call fcn.0040115e
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x218]
push eax
push dword [ebp + 8]
call fcn.0041708a
cmp eax, ebx
push ebx
mov dword [esp + 0x24], eax
lea esi, [esp + 0x21c]
push edi
je 0x41647c
call fcn.0040115e
cmp dword [esp + 0x18], ebx
je 0x416310
mov eax, dword [esp + 0x18]
jmp 0x41630b
call fcn.0040115e
cmp dword [esp + 0x18], ebx
je 0x416490
mov eax, dword [esp + 0x18]
call fcn.0043113a
lea eax, [esp + 0xfc]
call fcn.0040d8a1
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.0040115e
push ebx
push edi
lea esi, [esp + 0xcc]
call fcn.0040115e
jmp 0x415b49
cmp dword [esp + 0xbc], ebx
mov byte [esp + 0x17], 1
je case.default.0x416357
mov byte [esp + 0x298], 0x10
cmp dword [esp + 0x18], ebx
je 0x4164e2
mov eax, dword [esp + 0x18]
call fcn.0043113a
mov eax, dword [esi + 0x24]
cmp eax, 3
jne 0x41657e
lea ecx, [esp + 0xa8]
call fcn.0040f6b2
test al, al
jne 0x416790
lea eax, [esp + 0x148]
push 0x271b
push eax
call fcn.00402be4
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x244]
push eax
mov byte [esp + 0x2ac], 0x15
call fcn.0040c29c
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x150]
mov byte [esp + 0x2a0], 0x17
call fcn.0040115e
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x234]
push eax
push dword [ebp + 8]
call fcn.0041708a
cmp eax, ebx
push ebx
mov dword [esp + 0x24], eax
lea esi, [esp + 0x238]
push edi
je 0x41663b
call fcn.0040115e
jmp 0x416310
cmp eax, 4
jne 0x4166ea
lea eax, [esp + 0xa8]
lea esi, [esp + 0xe0]
call fcn.00403959
mov ecx, esi
mov byte [esp + 0x298], 0x18
call fcn.0040f6b2
test al, al
jne 0x416645
lea eax, [esp + 0x148]
push 0x271b
push eax
call fcn.00402be4
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x260]
push eax
mov byte [esp + 0x2ac], 0x19
call fcn.0040c29c
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x150]
mov byte [esp + 0x2a0], 0x1b
call fcn.0040115e
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x250]
push eax
push dword [ebp + 8]
call fcn.0041708a
lea esi, [esp + 0x250]
jmp 0x4166c0
call fcn.0040115e
push ebx
push edi
lea esi, [esp + 0xe8]
jmp 0x416574
call fcn.0040115e
push ebx
push edi
lea esi, [esp + 0xe8]
call fcn.0040115e
jmp 0x416490
lea eax, [esp + 0xe0]
lea ecx, [esp + 0xa8]
call fcn.0040d079
test al, al
jne 0x4166d3
lea eax, [esp + 0x148]
push 0x271d
push eax
call fcn.00402be4
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x27c]
push eax
mov byte [esp + 0x2ac], 0x1c
call fcn.0040c29c
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x150]
mov byte [esp + 0x2a0], 0x1e
call fcn.0040115e
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x26c]
push eax
push dword [ebp + 8]
call fcn.0041708a
lea esi, [esp + 0x26c]
cmp eax, ebx
push ebx
push edi
mov dword [esp + 0x28], eax
jne 0x41661a
jmp 0x41662d
push ebx
push edi
lea esi, [esp + 0xe8]
call fcn.0040115e
mov esi, dword [esp + 0x2c]
jmp 0x416790
cmp byte [esp + 0x17], bl
jne 0x416790
lea eax, [esp + 0xa8]
push eax
call fcn.0040d08d
test al, al
pop ecx
jne 0x416790
lea eax, [esp + 0x148]
push 0x271c
push eax
call fcn.00402be4
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x190]
push eax
mov byte [esp + 0x2ac], 0x1f
call fcn.0040c29c
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x150]
mov byte [esp + 0x2a0], 0x21
call fcn.0040115e
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x180]
push eax
push dword [ebp + 8]
call fcn.0041708a
cmp eax, ebx
push ebx
mov dword [esp + 0x24], eax
lea esi, [esp + 0x184]
push edi
jne 0x416574
call fcn.0040115e
jmp 0x41621a
cmp dword [esi + 0x1c], 2
je 0x41621a
lea eax, [esp + 0xfc]
mov byte [esp + 0x298], 0xe
call fcn.0040d8a1
cmp byte [esp + 0x27], bl
jne 0x41696f
push 0x58
call fcn.00436468
cmp eax, ebx
pop ecx
je 0x4167c9
mov ecx, dword [esi + 0xec]
mov edx, eax
call fcn.0040e874
jmp 0x4167cb
xor eax, eax
cmp eax, ebx
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x5c], eax
je 0x4167db
lea ecx, [eax + 8]
jmp 0x4167dd
xor ecx, ecx
lea esi, [esp + 0x2c]
call fcn.0042aeb2
mov ecx, dword [esp + 0x28]
xor eax, eax
mov byte [esp + 0x298], 0x22
cmp byte [ecx + 0x28], bl
mov ecx, dword [ecx + 0x5c]
setne al
lea eax, [eax + eax + 2]
push eax
lea eax, [esp + 0xac]
call fcn.0040e95b
test al, al
jne 0x4168ca
mov esi, dword [esp + 0x48]
call fcn.0041fb26
mov eax, dword [esp + 0x28]
mov dword [eax + 0x5c], ebx
lea eax, [esp + 0x180]
push 0x271b
push eax
call fcn.00402be4
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x2ac], 0x23
call fcn.0040c29c
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x188]
mov byte [esp + 0x2a0], 0x25
call fcn.0040115e
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x148]
push eax
push dword [ebp + 8]
call fcn.0041708a
cmp eax, ebx
push ebx
mov dword [esp + 0x24], eax
lea esi, [esp + 0x14c]
push edi
je 0x4168af
call fcn.0040115e
lea eax, [esp + 0x2c]
mov byte [esp + 0x298], 0xe
call fcn.00435da8
jmp 0x41631c
call fcn.0040115e
lea eax, [esp + 0x2c]
mov byte [esp + 0x298], 0xe
call fcn.00435da8
jmp 0x416226
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x28], bl
je 0x41690c
mov ecx, dword [eax + 0x5c]
push ebx
push ebx
push dword [eax + 0x24]
add ecx, 8
push dword [eax + 0x20]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x41690c
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x5c]
call fcn.0040e98f
mov esi, dword [esp + 0x48]
call fcn.0041fb26
mov eax, dword [esp + 0x28]
mov dword [eax + 0x5c], ebx
jmp 0x416899
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x2c]
call fcn.0041b57c
cmp byte [esp + 0x33], bl
je 0x41694b
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x28], bl
jne 0x41694b
mov edx, dword [eax + 0x54]
cmp edx, ebx
mov esi, dword [eax + 0x50]
ja 0x41693a
cmp esi, 0x8000
jbe 0x41694b
mov eax, dword [eax + 0x5c]
cmp eax, ebx
je 0x41694b
lea ecx, [eax + 8]
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x18]
mov esi, dword [esp + 0x58]
cmp esi, ebx
je 0x41695e
lea ecx, [esp + 0x2c]
call fcn.004181c9
mov dword [esi], eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x298], 0xe
call fcn.00435da8
mov esi, dword [esp + 0x28]
push 0xffffffffffffffff
lea eax, [esi + 0x2c]
push eax
xor ebx, ebx
lea eax, [esp + 0xb0]
call fcn.00401223
push ebx
mov byte [esi + 0x85], 1
push 1
lea esi, [esp + 0xb0]
call fcn.0040115e
push ebx
push 1
lea esi, [esp + 0xcc]
call fcn.0040115e
lea esi, [esp + 0x38]
call fcn.00403afe
jmp 0x4159ac
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0x4159ac
mov dword [eax], edi
jmp 0x4159ac