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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441e26
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x455210]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x455210]
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 0x4122de
and dword [eax], 0
push dword [ebp + 8]
lea eax, [edi - 8]
mov dword [esp + 0x38], eax
call fcn.00413b78
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], ebx
jne 0x412322
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.00433865
mov esp, ebp
pop ebp
ret 0xc
lea esi, [ebx + 0x58]
mov dword [esp + 0x48], esi
call fcn.0042e80e
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.00414c05
lea edx, [esp + 0x16c]
mov ecx, eax
call fcn.0041599f
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
je 0x4123b0
push esi
push 1
lea esi, [esp + 0x16c]
call fcn.00401169
mov eax, edi
jmp 0x4122fc
mov esi, dword [esp + 0x18]
push dword [ebp + 8]
lea edi, [ebx + 0x84]
mov eax, esi
mov dword [esp + 0x24], edi
call fcn.00414c05
mov edx, eax
call fcn.00415c6b
mov edi, eax
test edi, edi
pop ecx
je 0x4123da
push 0
jmp 0x41239b
push 0xffffffffffffffff
push ebx
xor ebx, ebx
lea eax, [esp + 0x16c]
call fcn.0040122e
lea eax, [esp + 0x1ec]
call fcn.0040d3ac
mov eax, esi
mov byte [esp + 0x298], 1
call fcn.00414c05
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 0x412443
mov ebx, eax
lea eax, [esp + 0x1ec]
call fcn.0040d3c5
push 0
push 1
lea esi, [esp + 0x16c]
call fcn.00401169
mov eax, ebx
jmp 0x4122fc
lea eax, [esp + 0x1ec]
call fcn.00414c05
test eax, eax
je 0x41247b
cmp eax, 3
je 0x41245f
mov ebx, 0x80004005
jmp 0x412420
lea ecx, [esp + 0x1ec]
call fcn.0040bdfb
mov ebx, dword [esp + 0x28]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x28], 1
jmp 0x41247f
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x1ec]
mov byte [esp + 0x298], 0
call fcn.0040d3c5
push 0xf
push dword [ebp + 8]
mov eax, esi
call fcn.00414c05
mov edi, dword [esp + 0x54]
mov edx, eax
call fcn.00415c79
xor edi, edi
cmp eax, edi
pop ecx
pop ecx
je 0x4124b9
mov ebx, eax
jmp 0x41242c
lea eax, [esp + 0x1c4]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
call fcn.0040d3ac
mov eax, esi
mov byte [esp + 0x298], 2
call fcn.00414c05
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 0x412509
call fcn.0040d3c5
mov ebx, esi
jmp 0x41242c
call fcn.00414c05
test eax, eax
setne byte [esp + 0x33]
cmp byte [esp + 0x33], 0
je 0x41253a
lea ecx, [esp + 0x1c4]
call fcn.0040bdfb
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.0040d3c5
cmp dword [ebp + 0x10], edi
jne 0x4135a4
mov esi, dword [esp + 0x2c]
cmp byte [esi + 0x98], 0
je 0x4125b2
push 0xc
call fcn.004338e8
cmp eax, edi
pop ecx
je 0x412579
mov esi, eax
call fcn.0042e873
jmp 0x41257b
xor eax, eax
mov ecx, eax
add eax, 8
neg ecx
sbb ecx, ecx
and ecx, eax
lea esi, [esp + 0x48]
call fcn.0040fbae
mov esi, dword [esp + 0x58]
cmp esi, edi
je 0x4125a2
lea ecx, [esp + 0x48]
call fcn.00414c08
mov dword [esi], eax
lea eax, [esp + 0x48]
call fcn.00433250
xor ebx, ebx
jmp 0x41242c
lea eax, [esp + 0x19c]
call fcn.0040d3ac
mov byte [esp + 0x298], 3
mov eax, dword [esp + 0x18]
call fcn.00414c05
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 0x412427
call fcn.00414c05
cmp eax, edi
jne 0x41261c
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 0x412654
cmp eax, 3
je 0x412637
lea eax, [esp + 0x19c]
call fcn.0040d3c5
mov ebx, 0x80004005
jmp 0x41242c
lea ecx, [esp + 0x19c]
call fcn.0040bdfb
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.0040d3c5
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.004121ea
test eax, eax
jne 0x4124b2
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.004121ea
test eax, eax
jne 0x4124b2
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.004121ea
xor ebx, ebx
cmp eax, ebx
jne 0x4124b2
mov eax, dword [esp + 0x18]
push 0x15
push dword [ebp + 8]
mov byte [esp + 0x2f], bl
call fcn.00414c05
lea edi, [esp + 0x2f]
mov edx, eax
call fcn.00415c79
cmp eax, ebx
pop ecx
pop ecx
jne 0x4124b2
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.00410e5e
pop ecx
lea eax, [esp + 0x38]
call fcn.00403865
cmp eax, ebx
jne 0x412756
lea esi, [esp + 0x38]
call fcn.0040391d
jmp 0x41262d
mov ecx, dword [esi + 0x20]
dec ecx
mov dword [esp + 0x18], ebx
je 0x41283d
dec ecx
dec ecx
jne 0x412842
lea edi, [esi + 0x5c]
mov eax, edi
mov dword [esp + 0x80], edi
call fcn.00403865
test eax, eax
je 0x412815
mov eax, edi
call fcn.00403865
dec eax
mov dword [esp + 0x54], eax
js 0x412842
push dword [esp + 0x54]
mov esi, dword [esp + 0x84]
call fcn.00407753
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.00410e5e
pop ecx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xe4]
push eax
lea edi, [esp + 0x20]
call fcn.00413d8b
cmp eax, ebx
mov byte [esp + 0x298], 4
lea esi, [esp + 0xe0]
je 0x41280a
call fcn.0040391d
dec dword [esp + 0x54]
jns 0x412797
jmp 0x41280f
call fcn.0040391d
mov esi, dword [esp + 0x2c]
jmp 0x412842
lea eax, [esp + 0x38]
push eax
lea eax, [esi + 0x4c]
push eax
lea edi, [esp + 0x20]
call fcn.00413d8b
mov edi, eax
cmp edi, ebx
je 0x412842
lea esi, [esp + 0x38]
call fcn.0040391d
mov ebx, edi
jmp 0x41242c
dec eax
mov dword [esp + 0x18], eax
push dword [esp + 0x18]
lea edi, [esp + 0x3c]
push ebx
call fcn.0040787c
mov eax, edi
push eax
call fcn.004174a8
mov eax, edi
add esp, 0xc
push eax
lea edi, [esp + 0xc8]
call fcn.00417819
pop ecx
mov byte [esp + 0x298], 6
cmp dword [esi + 0x20], 2
mov byte [esp + 0x1f], bl
jne 0x412952
cmp dword [esp + 0xd8], 1
jbe 0x412952
xor edi, edi
inc edi
lea eax, [esp + 0xc4]
call fcn.0040abcf
cmp word [eax], 0x5f
jne 0x412952
cmp dword [esp + 0xd8], 2
jne 0x4128ba
mov eax, dword [esp + 0x20]
cmp byte [eax], bl
jne 0x4128e1
push 2
pop edi
lea eax, [esp + 0xc4]
call fcn.0040abcf
cmp word [eax], 0x5c
je 0x4128e1
lea eax, [esp + 0xc4]
call fcn.0040abcf
cmp word [eax], 0x2f
jne 0x412952
push 1
lea eax, [esp + 0xc8]
push eax
xor ebx, ebx
lea esi, [esp + 0xe8]
call fcn.004037cb
push 0x3a
mov byte [esp + 0x29c], 7
call fcn.00406a57
mov eax, esi
push eax
call fcn.0040a8f0
test al, al
pop ecx
je 0x41292e
xor edi, edi
inc edi
lea eax, [esp + 0xc4]
call fcn.0040abcf
mov word [eax], 0x3a
mov byte [esp + 0x1f], 1
push 0
push 1
lea esi, [esp + 0xe8]
mov byte [esp + 0x2a0], 6
call fcn.00401169
mov esi, dword [esp + 0x2c]
xor ebx, ebx
cmp byte [esp + 0x1f], bl
jne 0x4129c8
cmp byte [esi + 0x29], bl
je 0x4129c8
mov esi, dword [esp + 0x3c]
cmp esi, dword [esp + 0x40]
jbe 0x412966
call fcn.00433c45
push esi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x48]
call fcn.0040387b
lea eax, [esp + 0x38]
push eax
call fcn.004174a8
pop ecx
lea eax, [esp + 0x38]
push eax
lea edi, [esp + 0x14c]
call fcn.00417819
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0xc8]
push ecx
xor ebx, ebx
mov byte [esp + 0x2a0], 8
call fcn.0040122e
push ebx
push 1
mov esi, edi
call fcn.00401169
mov esi, dword [esp + 0x2c]
cmp byte [esp + 0x27], bl
jne 0x412ca4
mov edi, dword [esp + 0x20]
cmp byte [edi], bl
jne 0x4129f9
lea eax, [esp + 0x38]
call fcn.00403865
test eax, eax
je 0x4129f9
mov eax, dword [esp + 0x40]
push eax
add eax, 0xffffffe4
call fcn.004039eb
sub dword [esp + 0x40], 0x1c
mov al, byte [edi]
cmp al, bl
je 0x412a09
cmp dword [esi + 0x20], 1
je 0x412ca4
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 0x412a89
cmp al, bl
lea eax, [esp + 0xe0]
je 0x412a53
push 0xffffffffffffffff
push eax
xor ebx, ebx
lea eax, [esp + 0xcc]
call fcn.0040122e
jmp 0x412a65
push eax
lea edi, [esp + 0xc8]
call fcn.0040bb0b
mov edi, dword [esp + 0x24]
pop ecx
lea eax, [esp + 0xe0]
push eax
call fcn.0040a8f0
test al, al
pop ecx
jne 0x412a85
lea ecx, [esp + 0xe0]
call fcn.0040ba73
jmp 0x412a9f
mov al, 1
jmp 0x412aa4
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
call fcn.00412028
mov byte [esp + 0x17], 1
cmp al, bl
jne 0x412b3e
lea eax, [esp + 0x180]
call fcn.0040c80c
mov byte [esp + 0x298], 0xa
cmp dword [eax + 0x18], 8
jb 0x412acb
mov eax, dword [eax + 4]
jmp 0x412ace
add eax, 4
cmp dword [esp + 0xf8], 8
mov ecx, dword [esp + 0xe4]
jae 0x412ae6
lea ecx, [esp + 0xe4]
push eax
push ecx
push 0x271a
lea ecx, [esp + 0x154]
call fcn.00402c00
add esp, 0xc
push ebx
push 1
lea esi, [esp + 0x188]
mov byte [esp + 0x2a0], 0xc
call fcn.00401169
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x148]
push eax
push dword [ebp + 8]
call fcn.00413c2f
push ebx
push 1
lea esi, [esp + 0x150]
call fcn.00401169
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
cmp byte [esp + 0x1f], bl
jne 0x412c40
cmp byte [edi], bl
je 0x412c91
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.0040122e
cmp byte [esi + 0x48], bl
je 0x412bf5
mov eax, dword [esp + 0x74]
cmp byte [eax], bl
je 0x412bf5
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 0x412c21
mov eax, dword [esp + 0x50]
cmp byte [eax], bl
je 0x412c21
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 0x412c4b
mov eax, dword [esp + 0x5c]
cmp byte [eax], bl
je 0x412c4b
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x130], ecx
jmp 0x412c5e
cmp byte [esp + 0x17], bl
je 0x412c91
jmp 0x412b48
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.00414194
push ebx
push 1
lea esi, [esp + 0x104]
call fcn.00401169
xor ebx, ebx
push ebx
push 1
lea esi, [esp + 0xe8]
call fcn.00401169
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 0x412ce6
push 0xffffffffffffffff
lea eax, [esp + 0xac]
push eax
xor ebx, ebx
lea eax, [esp + 0xcc]
call fcn.0040122e
jmp 0x412d36
lea eax, [esp + 0xc4]
push eax
add esi, 0x2c
lea eax, [esp + 0x14c]
push esi
push eax
call fcn.0040ac7e
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0xac]
push ecx
xor ebx, ebx
mov byte [esp + 0x2a0], 0xf
call fcn.0040122e
push ebx
push 1
lea esi, [esp + 0x150]
mov byte [esp + 0x2a0], 0xe
call fcn.00401169
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
xor edi, edi
inc edi
cmp byte [eax], bl
je 0x412d92
mov esi, dword [esp + 0x28]
push 0xffffffffffffffff
add esi, 0x2c
push esi
xor ebx, ebx
lea eax, [esp + 0xb0]
call fcn.0040122e
cmp byte [esp + 0x27], bl
je 0x412d66
mov eax, esi
call fcn.0040ba69
push ebx
push 1
lea esi, [esp + 0xb0]
call fcn.00401169
push ebx
push 1
lea esi, [esp + 0xcc]
call fcn.00401169
lea esi, [esp + 0x38]
call fcn.0040391d
jmp 0x41242c
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x28], bl
jne 0x41338d
lea eax, [esp + 0xfc]
call fcn.0040bd53
push eax
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x2a0], 0x10
mov byte [esp + 0x1f], bl
call fcn.0040bd1d
test al, al
pop ecx
pop ecx
je 0x41336f
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x412ddb
cmp eax, 2
jne 0x412e24
cmp dword [esi + 0x24], edi
ja 0x412e24
lea eax, [esp + 0xfc]
call fcn.0040bdf7
mov ecx, dword [esp + 0x5c]
mov cl, byte [ecx]
neg cl
sbb ecx, ecx
and ecx, dword [esp + 0x4c]
call fcn.0040d378
test eax, eax
jg 0x412e24
lea eax, [esp + 0xfc]
call fcn.0040bd81
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.00401169
push ebx
push edi
jmp 0x412d78
mov eax, dword [esi + 0x24]
sub eax, ebx
je 0x412e35
dec eax
dec eax
jne 0x4130cb
jmp 0x412e03
lea ecx, [esp + 0xfc]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.0040bded
mov dword [esp + 0x74], eax
mov eax, ecx
mov dword [esp + 0x78], edx
call fcn.0040bdf7
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 0x412e78
call fcn.0042e857
lea eax, [esi + 0x14]
mov byte [esp + 0x298], 0x11
call fcn.00414c05
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 0x412f33
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x412ef9
call fcn.0042e865
lea eax, [esp + 0xfc]
call fcn.0040bd81
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.00401169
push ebx
push edi
lea esi, [esp + 0xcc]
call fcn.00401169
lea esi, [esp + 0x38]
call fcn.0040391d
mov ebx, dword [esp + 0x20]
jmp 0x41242c
mov eax, dword [esp + 0x50]
cmp eax, 7
ja case.default.0x412f40
jmp dword [eax*4 + 0x4135ba]
cmp dword [esp + 0x18], ebx
je 0x412f56
mov eax, dword [esp + 0x18]
call fcn.0042e865
lea eax, [esp + 0xfc]
call fcn.0040bd81
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.00401169
push ebx
push edi
lea esi, [esp + 0xcc]
call fcn.00401169
lea esi, [esp + 0x38]
call fcn.0040391d
mov ebx, 0x80004004
jmp 0x41242c
cmp dword [esp + 0x18], ebx
je 0x412e03
mov eax, dword [esp + 0x18]
call fcn.0042e865
jmp 0x412e03
mov dword [esi + 0x24], 2
jmp case.0x412f40.2
mov dword [esi + 0x24], edi
jmp case.0x412f40.0
mov dword [esi + 0x24], 3
jmp case.0x412f40.0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x17], 1
call fcn.0040d89b
test al, al
jne case.0x412f40.0
lea eax, [esp + 0x8c]
push 0x271b
push eax
call fcn.00402be3
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x228]
push eax
mov byte [esp + 0x2ac], 0x12
call fcn.0040ac7e
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x94]
mov byte [esp + 0x2a0], 0x14
call fcn.00401169
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x218]
push eax
push dword [ebp + 8]
call fcn.00413c2f
cmp eax, ebx
push ebx
mov dword [esp + 0x24], eax
lea esi, [esp + 0x21c]
push edi
je 0x413065
call fcn.00401169
cmp dword [esp + 0x18], ebx
je 0x412ef9
mov eax, dword [esp + 0x18]
jmp 0x412ef4
call fcn.00401169
cmp dword [esp + 0x18], ebx
je 0x413079
mov eax, dword [esp + 0x18]
call fcn.0042e865
lea eax, [esp + 0xfc]
call fcn.0040bd81
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.00401169
push ebx
push edi
lea esi, [esp + 0xcc]
call fcn.00401169
jmp 0x412748
cmp dword [esp + 0xbc], ebx
mov byte [esp + 0x17], 1
je case.default.0x412f40
mov byte [esp + 0x298], 0x10
cmp dword [esp + 0x18], ebx
je 0x4130cb
mov eax, dword [esp + 0x18]
call fcn.0042e865
mov eax, dword [esi + 0x24]
cmp eax, 3
jne 0x413167
lea ecx, [esp + 0xa8]
call fcn.0040d89b
test al, al
jne 0x413379
lea eax, [esp + 0x148]
push 0x271b
push eax
call fcn.00402be3
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x244]
push eax
mov byte [esp + 0x2ac], 0x15
call fcn.0040ac7e
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x150]
mov byte [esp + 0x2a0], 0x17
call fcn.00401169
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x234]
push eax
push dword [ebp + 8]
call fcn.00413c2f
cmp eax, ebx
push ebx
mov dword [esp + 0x24], eax
lea esi, [esp + 0x238]
push edi
je 0x413224
call fcn.00401169
jmp 0x412ef9
cmp eax, 4
jne 0x4132d3
lea eax, [esp + 0xa8]
lea esi, [esp + 0xe0]
call fcn.0040378e
mov ecx, esi
mov byte [esp + 0x298], 0x18
call fcn.0040d89b
test al, al
jne 0x41322e
lea eax, [esp + 0x148]
push 0x271b
push eax
call fcn.00402be3
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x260]
push eax
mov byte [esp + 0x2ac], 0x19
call fcn.0040ac7e
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x150]
mov byte [esp + 0x2a0], 0x1b
call fcn.00401169
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x250]
push eax
push dword [ebp + 8]
call fcn.00413c2f
lea esi, [esp + 0x250]
jmp 0x4132a9
call fcn.00401169
push ebx
push edi
lea esi, [esp + 0xe8]
jmp 0x41315d
call fcn.00401169
push ebx
push edi
lea esi, [esp + 0xe8]
call fcn.00401169
jmp 0x413079
lea eax, [esp + 0xe0]
lea ecx, [esp + 0xa8]
call fcn.0040ba64
test al, al
jne 0x4132bc
lea eax, [esp + 0x148]
push 0x271d
push eax
call fcn.00402be3
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x27c]
push eax
mov byte [esp + 0x2ac], 0x1c
call fcn.0040ac7e
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x150]
mov byte [esp + 0x2a0], 0x1e
call fcn.00401169
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x26c]
push eax
push dword [ebp + 8]
call fcn.00413c2f
lea esi, [esp + 0x26c]
cmp eax, ebx
push ebx
push edi
mov dword [esp + 0x28], eax
jne 0x413203
jmp 0x413216
push ebx
push edi
lea esi, [esp + 0xe8]
call fcn.00401169
mov esi, dword [esp + 0x2c]
jmp 0x413379
cmp byte [esp + 0x17], bl
jne 0x413379
lea eax, [esp + 0xa8]
push eax
call fcn.0040ba78
test al, al
pop ecx
jne 0x413379
lea eax, [esp + 0x148]
push 0x271c
push eax
call fcn.00402be3
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x190]
push eax
mov byte [esp + 0x2ac], 0x1f
call fcn.0040ac7e
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x150]
mov byte [esp + 0x2a0], 0x21
call fcn.00401169
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x180]
push eax
push dword [ebp + 8]
call fcn.00413c2f
cmp eax, ebx
push ebx
mov dword [esp + 0x24], eax
lea esi, [esp + 0x184]
push edi
jne 0x41315d
call fcn.00401169
jmp 0x412e03
cmp dword [esi + 0x1c], 2
je 0x412e03
lea eax, [esp + 0xfc]
mov byte [esp + 0x298], 0xe
call fcn.0040bd81
cmp byte [esp + 0x27], bl
jne 0x413559
push 0x40
call fcn.004338e8
cmp eax, ebx
pop ecx
je 0x4133b2
mov ecx, dword [esi + 0xec]
mov edx, eax
call fcn.0040cd95
jmp 0x4133b4
xor eax, eax
cmp eax, ebx
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x5c], eax
je 0x4133c4
lea ecx, [eax + 8]
jmp 0x4133c6
xor ecx, ecx
lea esi, [esp + 0x2c]
call fcn.0040fbae
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov byte [esp + 0x298], 0x22
cmp byte [eax + 0x28], bl
mov eax, dword [eax + 0x5c]
setne cl
lea ecx, [ecx + ecx + 2]
push ecx
lea ecx, [esp + 0xac]
push ecx
call fcn.0040ce49
test al, al
jne 0x4134b4
mov esi, dword [esp + 0x48]
call fcn.0042e80e
mov eax, dword [esp + 0x28]
mov dword [eax + 0x5c], ebx
lea eax, [esp + 0x180]
push 0x271b
push eax
call fcn.00402be3
lea ecx, [esp + 0xb0]
push ecx
push eax
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x2ac], 0x23
call fcn.0040ac7e
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x188]
mov byte [esp + 0x2a0], 0x25
call fcn.00401169
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x148]
push eax
push dword [ebp + 8]
call fcn.00413c2f
cmp eax, ebx
push ebx
mov dword [esp + 0x24], eax
lea esi, [esp + 0x14c]
push edi
je 0x413499
call fcn.00401169
lea eax, [esp + 0x2c]
mov byte [esp + 0x298], 0xe
call fcn.00433250
jmp 0x412f05
call fcn.00401169
lea eax, [esp + 0x2c]
mov byte [esp + 0x298], 0xe
call fcn.00433250
jmp 0x412e0f
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x28], bl
je 0x4134f6
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 0x4134f6
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x5c]
call fcn.0040ce66
mov esi, dword [esp + 0x48]
call fcn.0042e80e
mov eax, dword [esp + 0x28]
mov dword [eax + 0x5c], ebx
jmp 0x413483
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x2c]
call fcn.0041624c
cmp byte [esp + 0x33], bl
je 0x413535
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x28], bl
jne 0x413535
mov edx, dword [eax + 0x54]
cmp edx, ebx
mov esi, dword [eax + 0x50]
ja 0x413524
cmp esi, 0x8000
jbe 0x413535
mov eax, dword [eax + 0x5c]
cmp eax, ebx
je 0x413535
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 0x413548
lea ecx, [esp + 0x2c]
call fcn.00414c08
mov dword [esi], eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x298], 0xe
call fcn.00433250
mov esi, dword [esp + 0x28]
push 0xffffffffffffffff
lea eax, [esi + 0x2c]
push eax
xor ebx, ebx
lea eax, [esp + 0xb0]
call fcn.0040122e
push ebx
mov byte [esi + 0x85], 1
push 1
lea esi, [esp + 0xb0]
call fcn.00401169
push ebx
push 1
lea esi, [esp + 0xcc]
call fcn.00401169
lea esi, [esp + 0x38]
call fcn.0040391d
jmp 0x4125ab
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0x4125ab
mov dword [eax], edi
jmp 0x4125ab