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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43fe17
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x452210]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x452210]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
test eax, eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x58], eax
je 0x4143f4
and dword [eax], 0
push dword [ebp + 8]
lea eax, [edi - 8]
mov dword [esp + 0x34], eax
call fcn.00415a98
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], ebx
jne 0x414438
mov eax, 0x80004005
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00431f15
mov esp, ebp
pop ebp
ret 0xc
lea esi, [ebx + 0x58]
mov dword [esp + 0x44], esi
call fcn.0041c454
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 + 0x48], eax
mov dword [esp + 0x148], 7
mov dword [esp + 0x144], esi
mov word [esp + 0x134], si
lea ecx, [edi + 0x5c]
push ecx
push dword [ebp + 8]
lea eax, [edi + 0x10]
mov dword [esp + 0x298], esi
mov dword [esp + 0x88], ecx
mov dword [esp + 0x1c], eax
call fcn.004318d2
lea edx, [esp + 0x138]
mov ecx, eax
call fcn.00413153
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
je 0x4144c4
push esi
push 1
lea esi, [esp + 0x138]
call fcn.0040115f
mov eax, edi
jmp 0x414412
push dword [ebp + 8]
mov eax, dword [esp + 0x18]
lea edi, [ebx + 0x84]
mov dword [esp + 0x24], edi
call fcn.004318d2
mov edx, eax
call fcn.00413343
mov edi, eax
test edi, edi
pop ecx
je 0x4144ec
push 0
jmp 0x4144af
push 0xffffffffffffffff
push ebx
xor ebx, ebx
lea eax, [esp + 0x138]
call fcn.00401224
lea eax, [esp + 0x1bc]
call fcn.0040ce05
mov eax, dword [esp + 0x14]
mov byte [esp + 0x290], 1
call fcn.004318d2
mov edx, dword [eax]
lea ecx, [esp + 0x1bc]
push ecx
push 0x1d
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
je 0x414557
mov ebx, eax
lea eax, [esp + 0x1bc]
call fcn.0040ce1e
push 0
push 1
lea esi, [esp + 0x138]
call fcn.0040115f
mov eax, ebx
jmp 0x414412
lea eax, [esp + 0x1bc]
call fcn.004318d2
test eax, eax
je 0x41458f
cmp eax, 3
je 0x414573
mov ebx, 0x80004005
jmp 0x414534
lea ecx, [esp + 0x1bc]
call fcn.0040b8a8
mov esi, dword [esp + 0x28]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov byte [esi + 0x28], 1
jmp 0x414593
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x1bc]
mov byte [esp + 0x290], 0
call fcn.0040ce1e
mov eax, dword [esp + 0x14]
push 0xf
push dword [ebp + 8]
call fcn.004318d2
mov edi, dword [esp + 0x50]
mov edx, eax
call fcn.00413351
xor edi, edi
cmp eax, edi
pop ecx
pop ecx
je 0x4145cf
mov ebx, eax
jmp 0x414540
lea eax, [esp + 0x1e4]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
call fcn.0040ce05
mov eax, dword [esp + 0x14]
mov byte [esp + 0x290], 2
call fcn.004318d2
mov edx, dword [eax]
lea ecx, [esp + 0x1e4]
push ecx
push 7
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x1c]
mov ebx, eax
cmp ebx, edi
lea eax, [esp + 0x1e4]
jne 0x41453b
call fcn.004318d2
test eax, eax
setne byte [esp + 0x2f]
cmp byte [esp + 0x2f], 0
je 0x41464a
lea ecx, [esp + 0x1e4]
call fcn.0040b8a8
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x54], eax
lea eax, [esp + 0x1e4]
mov byte [esp + 0x290], 0
call fcn.0040ce1e
cmp dword [ebp + 0x10], edi
jne 0x41550d
mov edi, dword [esp + 0x1c]
cmp byte [edi + 0x88], 0
je 0x4146c2
push 0xc
call fcn.00431f98
test eax, eax
pop ecx
je 0x414689
mov esi, eax
call fcn.0042cead
jmp 0x41468b
xor eax, eax
mov ecx, eax
add eax, 8
neg ecx
sbb ecx, ecx
and ecx, eax
lea esi, [esp + 0x44]
call fcn.0040f1b1
mov esi, dword [esp + 0x58]
test esi, esi
je 0x4146b2
lea ecx, [esp + 0x44]
call fcn.00430d21
mov dword [esi], eax
lea eax, [esp + 0x44]
call fcn.004318dd
xor ebx, ebx
jmp 0x414540
lea eax, [esp + 0x194]
call fcn.0040ce05
mov eax, dword [esp + 0x14]
mov byte [esp + 0x290], 3
call fcn.004318d2
mov edx, dword [eax]
lea ecx, [esp + 0x194]
push ecx
push 9
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x1c]
mov ebx, eax
test ebx, ebx
lea eax, [esp + 0x194]
jne 0x41453b
call fcn.004318d2
test eax, eax
jne 0x414727
mov eax, dword [edi + 0x80]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x84]
mov dword [esi + 0x7c], eax
mov byte [esi + 0x83], bl
jmp 0x41475b
cmp eax, 3
je 0x414742
lea eax, [esp + 0x194]
call fcn.0040ce1e
mov ebx, 0x80004005
jmp 0x414540
lea ecx, [esp + 0x194]
call fcn.0040b8a8
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
mov byte [esi + 0x83], 1
lea eax, [esp + 0x194]
mov byte [esp + 0x290], 0
call fcn.0040ce1e
push 0xa
push dword [ebp + 8]
lea edi, [esi + 0x80]
push dword [esp + 0x38]
lea ebx, [esi + 0x60]
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], ebx
call fcn.00414300
test eax, eax
jne 0x4145c8
push 0xb
push dword [ebp + 8]
lea edi, [esi + 0x81]
push dword [esp + 0x38]
lea ebx, [esi + 0x68]
mov dword [esp + 0x78], edi
mov dword [esp + 0x68], ebx
call fcn.00414300
test eax, eax
jne 0x4145c8
push 0xc
push dword [ebp + 8]
lea edi, [esi + 0x82]
push dword [esp + 0x38]
lea ebx, [esi + 0x70]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x54], ebx
call fcn.00414300
xor ebx, ebx
cmp eax, ebx
jne 0x4145c8
mov eax, dword [esp + 0x14]
push 0x15
push dword [ebp + 8]
mov byte [esp + 0x2f], bl
call fcn.004318d2
lea edi, [esp + 0x2f]
mov edx, eax
call fcn.00413351
cmp eax, ebx
pop ecx
pop ecx
jne 0x4145c8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x134]
mov byte [esp + 0x294], 4
call fcn.0040f1f3
pop ecx
lea eax, [esp + 0x34]
call fcn.00403884
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x414852
lea esi, [esp + 0x34]
call fcn.0040393c
jmp 0x414738
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x20]
xor edi, edi
dec eax
je 0x4148be
dec eax
dec eax
jne 0x4148c3
lea eax, [ecx + 0x4c]
mov dword [esp + 0x7c], eax
call fcn.00403884
mov edi, eax
cmp dword [esp + 0x14], edi
jbe 0x414844
cmp edi, ebx
mov dword [esp + 0x14], ebx
jle 0x4148c3
push dword [esp + 0x14]
lea esi, [esp + 0x38]
call fcn.0040770c
push dword [esp + 0x14]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x7c], eax
call fcn.0040770c
mov ecx, eax
mov eax, dword [esp + 0x78]
call fcn.0040a735
test eax, eax
jne 0x414844
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x41487e
mov esi, dword [esp + 0x28]
jmp 0x4148c3
mov edi, dword [esp + 0x14]
dec edi
push edi
push ebx
lea edi, [esp + 0x3c]
call fcn.00407835
mov eax, edi
push eax
call fcn.00418758
mov eax, edi
add esp, 0xc
push eax
lea edi, [esp + 0xc4]
call fcn.00413a7e
pop ecx
mov byte [esp + 0x290], 5
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x20], 2
mov byte [esp + 0x26], bl
jne 0x4149d4
cmp dword [esp + 0xd4], 1
jbe 0x4149d4
xor edi, edi
inc edi
lea eax, [esp + 0xc0]
call fcn.004037ca
cmp word [eax], 0x5f
jne 0x4149d4
cmp dword [esp + 0xd4], 2
jne 0x41493c
mov eax, dword [esp + 0x20]
cmp byte [eax], bl
jne 0x414963
push 2
pop edi
lea eax, [esp + 0xc0]
call fcn.004037ca
cmp word [eax], 0x5c
je 0x414963
lea eax, [esp + 0xc0]
call fcn.004037ca
cmp word [eax], 0x2f
jne 0x4149d4
push 1
lea eax, [esp + 0xc4]
push eax
xor ebx, ebx
lea esi, [esp + 0x11c]
call fcn.004037ea
push 0x3a
mov byte [esp + 0x294], 6
call fcn.00406a15
mov eax, esi
push eax
call fcn.0040b2dc
test al, al
pop ecx
je 0x4149b0
xor edi, edi
inc edi
lea eax, [esp + 0xc0]
call fcn.004037ca
mov word [eax], 0x3a
mov byte [esp + 0x26], 1
push 0
push 1
lea esi, [esp + 0x11c]
mov byte [esp + 0x298], 5
call fcn.0040115f
mov esi, dword [esp + 0x28]
xor ebx, ebx
cmp byte [esp + 0x26], bl
jne 0x414a4e
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x29], bl
je 0x414a4e
mov esi, dword [esp + 0x38]
cmp esi, dword [esp + 0x3c]
jbe 0x4149ec
call fcn.004322f5
push esi
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x88]
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x44]
call fcn.0040389a
lea eax, [esp + 0x34]
push eax
call fcn.00418758
pop ecx
lea eax, [esp + 0x34]
push eax
lea edi, [esp + 0xfc]
call fcn.00413a7e
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0xc4]
push ecx
xor ebx, ebx
mov byte [esp + 0x298], 7
call fcn.00401224
push ebx
push 1
mov esi, edi
call fcn.0040115f
mov esi, dword [esp + 0x28]
cmp byte [esp + 0x27], bl
jne 0x414c41
mov edi, dword [esp + 0x20]
cmp byte [edi], bl
jne 0x414a7f
lea eax, [esp + 0x34]
call fcn.00403884
test eax, eax
je 0x414a7f
mov eax, dword [esp + 0x3c]
push eax
add eax, 0xffffffe4
call fcn.00403a0a
sub dword [esp + 0x3c], 0x1c
mov al, byte [edi]
cmp al, bl
je 0x414a93
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x20], 1
je 0x414c41
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], bx
cmp byte [esp + 0x26], bl
mov byte [esp + 0x290], 8
mov byte [esp + 0x1b], bl
je 0x414b13
cmp al, bl
lea eax, [esp + 0xdc]
je 0x414add
push 0xffffffffffffffff
push eax
xor ebx, ebx
lea eax, [esp + 0xc8]
call fcn.00401224
jmp 0x414aef
push eax
lea edi, [esp + 0xc4]
call fcn.0040b289
mov edi, dword [esp + 0x24]
pop ecx
lea eax, [esp + 0xdc]
push eax
call fcn.0040b2dc
test al, al
pop ecx
jne 0x414b0f
lea ecx, [esp + 0xdc]
call fcn.0040b1f1
jmp 0x414b29
mov al, 1
jmp 0x414b2e
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x38]
call fcn.0041413e
mov byte [esp + 0x1b], 1
cmp al, bl
jne 0x414bcc
push 0x443cc8
lea eax, [esp + 0x118]
call fcn.00403761
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe4]
lea esi, [esp + 0x11c]
mov byte [esp + 0x298], 9
call fcn.00403c61
push 0x443cd8
mov eax, esi
push eax
call fcn.004037ac
lea eax, [esp + 0xf8]
call fcn.0040c2a5
push 0xffffffffffffffff
push ebx
mov byte [esp + 0x298], 0xa
call fcn.00403c61
push ebx
push 1
lea esi, [esp + 0x100]
mov byte [esp + 0x298], 9
call fcn.0040115f
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x114]
push eax
push dword [ebp + 8]
call fcn.00415b4f
push ebx
push 1
lea esi, [esp + 0x11c]
call fcn.0040115f
mov edi, dword [esp + 0x20]
cmp byte [esp + 0x26], bl
jne 0x414c01
cmp byte [edi], bl
je 0x414c2e
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x4a], bl
je 0x414beb
mov ecx, dword [esp + 0x50]
cmp byte [ecx], bl
mov edx, dword [esp + 0x48]
jne 0x414bee
lea edx, [eax + 0x78]
cmp byte [eax + 0x49], bl
je 0x414c09
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], bl
je 0x414c09
mov ecx, dword [esp + 0x5c]
jmp 0x414c0b
cmp byte [esp + 0x1b], bl
je 0x414c2e
jmp 0x414bd2
xor ecx, ecx
cmp byte [eax + 0x48], bl
je 0x414c1e
mov eax, dword [esp + 0x4c]
cmp byte [eax], bl
je 0x414c1e
mov eax, dword [esp + 0x54]
jmp 0x414c20
xor eax, eax
lea esi, [esp + 0xdc]
push esi
call fcn.0040b189
pop ecx
push ebx
push 1
lea esi, [esp + 0xe4]
call fcn.0040115f
mov esi, dword [esp + 0x28]
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], bx
cmp byte [esp + 0x26], bl
mov byte [esp + 0x290], 0xb
je 0x414c86
push 0xffffffffffffffff
lea eax, [esp + 0xa8]
push eax
xor ebx, ebx
lea eax, [esp + 0xc8]
call fcn.00401224
xor edi, edi
inc edi
jmp 0x414cdd
lea eax, [esp + 0xc0]
push eax
mov eax, dword [esp + 0x20]
add eax, 0x2c
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0040b13f
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0xa8]
push ecx
xor ebx, ebx
mov byte [esp + 0x298], 0xc
call fcn.00401224
push ebx
push 1
lea esi, [esp + 0x100]
mov byte [esp + 0x298], 0xb
call fcn.0040115f
mov esi, dword [esp + 0x28]
xor edi, edi
inc edi
mov eax, dword [esp + 0x20]
cmp byte [eax], bl
je 0x414d32
push 0xffffffffffffffff
add esi, 0x2c
push esi
xor ebx, ebx
lea eax, [esp + 0xac]
call fcn.00401224
cmp byte [esp + 0x27], bl
je 0x414d06
mov eax, esi
call fcn.0040b1e7
push ebx
push 1
lea esi, [esp + 0xac]
call fcn.0040115f
push ebx
push 1
lea esi, [esp + 0xc8]
call fcn.0040115f
lea esi, [esp + 0x34]
call fcn.0040393c
jmp 0x414540
cmp byte [esi + 0x28], bl
jne 0x41531a
lea eax, [esp + 0x14c]
call fcn.0040b763
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x298], 0xd
mov byte [esp + 0x23], bl
call fcn.0040b72d
test al, al
pop ecx
pop ecx
je 0x4152f8
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x1c]
cmp eax, edi
je 0x414d7b
cmp eax, 2
jne 0x414dc4
cmp dword [ecx + 0x24], edi
ja 0x414dc4
lea eax, [esp + 0x14c]
call fcn.00418616
mov ecx, dword [esp + 0x50]
mov cl, byte [ecx]
neg cl
sbb ecx, ecx
and ecx, dword [esp + 0x48]
call fcn.0040cecb
test eax, eax
jg 0x414dc4
lea eax, [esp + 0x14c]
call fcn.0040b791
push ebx
push edi
lea esi, [esp + 0xac]
call fcn.0040115f
push ebx
push edi
jmp 0x414d18
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x24]
sub eax, ebx
je 0x414dd9
dec eax
dec eax
jne 0x41507b
jmp 0x414da3
lea ecx, [esp + 0x14c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.0040b89a
mov dword [esp + 0x6c], eax
mov eax, ecx
mov dword [esp + 0x70], edx
call fcn.00418616
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
add eax, 0xf4
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x414e1f
call fcn.0042ce91
mov byte [esp + 0x290], 0xe
mov eax, dword [esp + 0x1c]
add eax, 0x14
call fcn.004318d2
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x50]
push ecx
mov cl, byte [esp + 0x37]
neg cl
push edi
lea edx, [esp + 0x70]
mov dword [esp + 0x60], eax
mov eax, dword [eax]
sbb ecx, ecx
and ecx, edx
push ecx
mov ecx, dword [esp + 0x60]
mov cl, byte [ecx]
neg cl
sbb ecx, ecx
and ecx, dword [esp + 0x58]
push ecx
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x78]
call dword [eax + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x414ed8
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x414e9e
call fcn.0042ce9f
lea eax, [esp + 0x14c]
call fcn.0040b791
push ebx
push edi
lea esi, [esp + 0xac]
call fcn.0040115f
push ebx
push edi
lea esi, [esp + 0xc8]
call fcn.0040115f
lea esi, [esp + 0x34]
call fcn.0040393c
mov ebx, dword [esp + 0x14]
jmp 0x414540
mov eax, dword [esp + 0x4c]
cmp eax, 7
ja case.default.0x414ee5
jmp dword [eax*4 + 0x415520]
cmp dword [esp + 0x20], ebx
je 0x414efb
mov eax, dword [esp + 0x20]
call fcn.0042ce9f
lea eax, [esp + 0x14c]
call fcn.0040b791
push ebx
push edi
lea esi, [esp + 0xac]
call fcn.0040115f
push ebx
push edi
lea esi, [esp + 0xc8]
call fcn.0040115f
lea esi, [esp + 0x34]
call fcn.0040393c
mov ebx, 0x80004004
jmp 0x414540
cmp dword [esp + 0x20], ebx
je 0x414da3
mov eax, dword [esp + 0x20]
call fcn.0042ce9f
jmp 0x414da3
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x24], 2
jmp case.0x414ee5.2
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x24], edi
jmp case.0x414ee5.0
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x24], 3
jmp case.0x414ee5.0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1b], 1
call fcn.0040d351
test al, al
jne case.0x414ee5.0
push 0x443cb8
lea eax, [esp + 0x8c]
call fcn.00403761
lea ecx, [esp + 0xa4]
push ecx
push eax
lea eax, [esp + 0x11c]
push eax
mov byte [esp + 0x29c], 0xf
call fcn.0040b13f
add esp, 0xc
push ebx
push edi
lea esi, [esp + 0x90]
mov byte [esp + 0x298], 0x11
call fcn.0040115f
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x114]
push eax
push dword [ebp + 8]
call fcn.00415b4f
cmp eax, ebx
push ebx
mov dword [esp + 0x18], eax
lea esi, [esp + 0x118]
push edi
je 0x415015
call fcn.0040115f
cmp dword [esp + 0x20], ebx
je 0x414e9e
mov eax, dword [esp + 0x20]
jmp 0x414e99
call fcn.0040115f
cmp dword [esp + 0x20], ebx
je 0x415029
mov eax, dword [esp + 0x20]
call fcn.0042ce9f
lea eax, [esp + 0x14c]
call fcn.0040b791
push ebx
push edi
lea esi, [esp + 0xac]
call fcn.0040115f
push ebx
push edi
lea esi, [esp + 0xc8]
call fcn.0040115f
jmp 0x414844
cmp dword [esp + 0xb8], ebx
mov byte [esp + 0x1b], 1
je case.default.0x414ee5
mov byte [esp + 0x290], 0xd
cmp dword [esp + 0x20], ebx
je 0x41507b
mov eax, dword [esp + 0x20]
call fcn.0042ce9f
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x24]
cmp eax, 3
jne 0x41511a
lea ecx, [esp + 0xa4]
call fcn.0040d351
test al, al
jne 0x415306
push 0x443cb8
lea eax, [esp + 0xfc]
call fcn.00403761
lea ecx, [esp + 0xa4]
push ecx
push eax
lea eax, [esp + 0x250]
push eax
mov byte [esp + 0x29c], 0x12
call fcn.0040b13f
add esp, 0xc
push ebx
push edi
lea esi, [esp + 0x100]
mov byte [esp + 0x298], 0x14
call fcn.0040115f
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x248]
push eax
push dword [ebp + 8]
call fcn.00415b4f
cmp eax, ebx
push ebx
mov dword [esp + 0x18], eax
lea esi, [esp + 0x24c]
push edi
je 0x4151af
call fcn.0040115f
jmp 0x414e9e
cmp eax, 4
jne 0x41525d
lea eax, [esp + 0xa4]
lea esi, [esp + 0xdc]
call fcn.0040378d
mov ecx, esi
mov byte [esp + 0x290], 0x15
call fcn.0040d351
test al, al
jne 0x4151b9
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x214]
push 0x443cb8
push eax
call fcn.00403f89
add esp, 0xc
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x210]
push eax
push dword [ebp + 8]
mov byte [esp + 0x298], 0x16
call fcn.00415b4f
lea esi, [esp + 0x210]
jmp 0x415233
call fcn.0040115f
push ebx
push edi
lea esi, [esp + 0xe4]
jmp 0x415110
call fcn.0040115f
push ebx
push edi
lea esi, [esp + 0xe4]
call fcn.0040115f
jmp 0x415029
lea eax, [esp + 0xdc]
lea ecx, [esp + 0xa4]
call fcn.0040b1e2
test al, al
jne 0x415246
push 0x443ca4
lea eax, [esp + 0xfc]
call fcn.00403761
lea ecx, [esp + 0xa4]
push ecx
push eax
lea eax, [esp + 0x234]
push eax
mov byte [esp + 0x29c], 0x17
call fcn.0040b13f
add esp, 0xc
push ebx
push edi
lea esi, [esp + 0x100]
mov byte [esp + 0x298], 0x19
call fcn.0040115f
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x22c]
push eax
push dword [ebp + 8]
call fcn.00415b4f
lea esi, [esp + 0x22c]
cmp eax, ebx
push ebx
push edi
mov dword [esp + 0x1c], eax
jne 0x41518e
jmp 0x4151a1
push ebx
push edi
lea esi, [esp + 0xe4]
call fcn.0040115f
mov esi, dword [esp + 0x28]
jmp 0x415306
cmp byte [esp + 0x1b], bl
jne 0x415306
lea eax, [esp + 0xa4]
push eax
call fcn.0040b1f6
test al, al
pop ecx
jne 0x415306
push 0x443c94
lea eax, [esp + 0xfc]
call fcn.00403761
lea ecx, [esp + 0xa4]
push ecx
push eax
lea eax, [esp + 0x26c]
push eax
mov byte [esp + 0x29c], 0x1a
call fcn.0040b13f
add esp, 0xc
push ebx
push edi
lea esi, [esp + 0x100]
mov byte [esp + 0x298], 0x1c
call fcn.0040115f
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x264]
push eax
push dword [ebp + 8]
call fcn.00415b4f
cmp eax, ebx
push ebx
mov dword [esp + 0x18], eax
lea esi, [esp + 0x268]
push edi
jne 0x415110
call fcn.0040115f
jmp 0x414da3
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x1c], 2
je 0x414da3
lea eax, [esp + 0x14c]
mov byte [esp + 0x290], 0xb
call fcn.0040b791
cmp byte [esp + 0x27], bl
jne 0x4154c6
push 0x40
call fcn.00431f98
cmp eax, ebx
pop ecx
je 0x415343
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0xdc]
mov edx, eax
call fcn.0040c84b
jmp 0x415345
xor eax, eax
cmp eax, ebx
mov dword [esi + 0x5c], eax
je 0x415351
lea ecx, [eax + 8]
jmp 0x415353
xor ecx, ecx
lea esi, [esp + 0x1c]
call fcn.0040f1b1
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov byte [esp + 0x290], 0x1d
cmp byte [eax + 0x28], bl
mov eax, dword [eax + 0x5c]
setne cl
lea ecx, [ecx + ecx + 2]
push ecx
lea ecx, [esp + 0xa8]
push ecx
call fcn.0040c8ff
test al, al
jne 0x41541d
mov esi, dword [esp + 0x44]
call fcn.0041c454
mov eax, dword [esp + 0x28]
mov dword [eax + 0x5c], ebx
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xfc]
push 0x443ce4
push eax
call fcn.00403f89
add esp, 0xc
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xf8]
push eax
push dword [ebp + 8]
mov byte [esp + 0x298], 0x1e
call fcn.00415b4f
cmp eax, ebx
push ebx
mov dword [esp + 0x18], eax
lea esi, [esp + 0xfc]
push edi
je 0x415402
call fcn.0040115f
lea eax, [esp + 0x1c]
mov byte [esp + 0x290], 0xb
call fcn.004318dd
jmp 0x414eaa
call fcn.0040115f
lea eax, [esp + 0x1c]
mov byte [esp + 0x290], 0xb
call fcn.004318dd
jmp 0x414daf
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x28], bl
je 0x41545f
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 + 0x14], eax
je 0x41545f
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x5c]
call fcn.0040c91c
mov esi, dword [esp + 0x44]
call fcn.0041c454
mov eax, dword [esp + 0x28]
mov dword [eax + 0x5c], ebx
jmp 0x4153ec
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x1c]
call fcn.00429926
cmp byte [esp + 0x2f], bl
je 0x41549e
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x28], bl
jne 0x41549e
mov edx, dword [eax + 0x54]
cmp edx, ebx
mov esi, dword [eax + 0x50]
ja 0x41548d
cmp esi, 0x8000
jbe 0x41549e
mov eax, dword [eax + 0x5c]
cmp eax, ebx
je 0x41549e
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 0x4154b1
lea ecx, [esp + 0x1c]
call fcn.00430d21
mov dword [esi], eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x290], 0xb
call fcn.004318dd
mov esi, dword [esp + 0x28]
push 0xffffffffffffffff
lea eax, [esi + 0x2c]
push eax
xor ebx, ebx
lea eax, [esp + 0xac]
call fcn.00401224
push ebx
mov byte [esi + 0x85], 1
push 1
lea esi, [esp + 0xac]
call fcn.0040115f
push ebx
push 1
lea esi, [esp + 0xc8]
call fcn.0040115f
lea esi, [esp + 0x34]
call fcn.0040393c
jmp 0x4146bb
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0x4146bb
mov dword [eax], edi
jmp 0x4146bb