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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x44f4e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0xd8], eax
push edi
mov edi, dword [ebp + 0x14]
xor ebx, ebx
lea eax, [ebp - 0xe8]
mov esi, edx
push eax
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
call fcn.004166f4
pop ecx
lea eax, [ebp - 0xe8]
call fcn.004011bf
cmp eax, ebx
jne 0x411a7b
mov dword [edi], 0x80004005
lea esi, [ebp - 0xe8]
call fcn.00401550
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004327cb
leave
ret 0x10
mov ecx, dword [esi + 0x30]
dec ecx
mov dword [ebp - 0xec], ebx
je 0x411b3e
dec ecx
dec ecx
jne 0x411b45
lea edi, [esi + 0x6c]
mov eax, edi
call fcn.004011bf
test eax, eax
je 0x411b17
mov eax, edi
call fcn.004011bf
dec eax
mov dword [ebp - 0xfc], eax
js 0x411b45
mov esi, dword [ebp - 0xd0]
push dword [ebp - 0xfc]
add esi, 0x6c
call fcn.004011d5
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call fcn.004166f4
pop ecx
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x70]
push eax
lea edi, [ebp - 0xec]
call fcn.00413394
test eax, eax
lea esi, [ebp - 0x70]
je 0x411b0a
call fcn.00401550
dec dword [ebp - 0xfc]
jns 0x411ab5
jmp 0x411b0f
call fcn.00401550
mov esi, dword [ebp - 0xd0]
jmp 0x411b45
lea eax, [ebp - 0xe8]
push eax
lea eax, [esi + 0x5c]
push eax
lea edi, [ebp - 0xec]
call fcn.00413394
cmp eax, ebx
je 0x411b45
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
jmp 0x411a5d
dec eax
mov dword [ebp - 0xec], eax
push dword [ebp - 0xec]
xor edi, edi
lea eax, [ebp - 0xe8]
call fcn.00414439
pop ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.00416371
pop ecx
lea eax, [ebp - 0xe8]
push eax
lea edi, [ebp - 0x20]
call fcn.00416680
cmp dword [esi + 0x30], 2
pop ecx
mov byte [ebp - 0xca], bl
jne 0x411c3c
xor edi, edi
inc edi
cmp dword [ebp - 0xc], edi
jbe 0x411c3c
lea eax, [ebp - 0x20]
call fcn.0040119f
cmp word [eax], 0x5f
jne 0x411c3c
push 2
pop edi
cmp dword [ebp - 0xc], edi
jne 0x411bba
mov eax, dword [ebp - 0xf4]
cmp byte [eax + 0x9c], bl
jne 0x411bd6
lea eax, [ebp - 0x20]
call fcn.0040119f
cmp word [eax], 0x5c
je 0x411bd6
lea eax, [ebp - 0x20]
call fcn.0040119f
cmp word [eax], 0x2f
jne 0x411c3c
push 1
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], bx
push eax
xor ebx, ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 7
call fcn.00401700
push 0x3a
lea esi, [ebp - 0x3c]
call fcn.00402e6e
mov eax, esi
push eax
call fcn.0040d3d3
test al, al
pop ecx
je 0x411c22
xor edi, edi
inc edi
lea eax, [ebp - 0x20]
call fcn.0040119f
mov word [eax], 0x3a
mov byte [ebp - 0xca], 1
push 0
push 1
lea esi, [ebp - 0x3c]
call fcn.00401469
cmp byte [ebp - 0xca], bl
jne 0x411d35
xor ebx, ebx
mov edi, dword [ebp - 0xd0]
cmp byte [edi + 0x39], bl
je 0x411d37
lea eax, [edi + 0x98]
lea esi, [ebp - 0x3c]
call fcn.00401abd
cmp dword [ebp - 0x28], ebx
jne 0x411c6d
push 0xffffffffffffffff
mov ecx, esi
lea eax, [edi + 0x7c]
push ecx
xor ebx, ebx
call fcn.00401700
mov eax, edi
cmp byte [eax + 0xe9], bl
je 0x411cc3
mov esi, dword [ebp - 0xe4]
cmp esi, dword [ebp - 0xe0]
jbe 0x411c8a
call fcn.004329e2
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xfc], esi
lea esi, [ebp - 0x100]
mov dword [ebp - 0x100], eax
call fcn.004050b3
cmp dword [ebp - 0x24], 8
mov ecx, dword [ebp - 0x38]
jae 0x411cb3
lea ecx, [ebp - 0x38]
mov edi, dword [ebp - 0x28]
push ecx
mov ecx, dword [eax + 0x14]
call fcn.00402f4f
test eax, eax
je 0x411cf3
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xe0]
mov esi, eax
jbe 0x411cd8
call fcn.004329e2
push esi
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x68]
push eax
lea esi, [ebp - 0xe8]
call fcn.004014b0
lea eax, [ebp - 0xe8]
push eax
call fcn.00416371
pop ecx
lea eax, [ebp - 0xe8]
push eax
lea edi, [ebp - 0x11c]
call fcn.00416680
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
push ecx
xor ebx, ebx
call fcn.00401700
push ebx
push 1
mov esi, edi
call fcn.00401469
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401469
xor ebx, ebx
mov esi, dword [ebp - 0xf4]
cmp byte [esi + 0x9c], bl
jne 0x411d6a
lea eax, [ebp - 0xe8]
call fcn.004011bf
test eax, eax
je 0x411d6a
mov eax, dword [ebp - 0xe0]
push eax
add eax, 0xffffffe4
call fcn.0040179f
sub dword [ebp - 0xe0], 0x1c
mov al, byte [esi + 0x9c]
cmp al, bl
mov edx, dword [ebp - 0xd0]
mov cl, 1
je 0x411d84
cmp dword [edx + 0x30], 1
jne 0x411d84
xor cl, cl
cmp dword [edx + 0x2c], 2
jne 0x411d8c
xor cl, cl
cmp cl, bl
je 0x411f8b
cmp byte [ebp - 0xca], bl
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], bx
mov byte [ebp - 0xc9], bl
je 0x411dec
cmp al, bl
lea eax, [ebp - 0x7c]
je 0x411dc6
push 0xffffffffffffffff
push eax
xor ebx, ebx
lea eax, [ebp - 0x20]
call fcn.00401700
jmp 0x411dd0
push eax
lea edi, [ebp - 0x20]
call fcn.0040dc86
pop ecx
lea eax, [ebp - 0x7c]
push eax
call fcn.0040d49d
test al, al
pop ecx
jne 0x411de8
lea ecx, [ebp - 0x7c]
call fcn.0040dba9
jmp 0x411dfd
mov al, 1
jmp 0x411e04
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xe8]
push eax
push edx
call fcn.00410cf0
mov byte [ebp - 0xc9], 1
cmp al, bl
jne 0x411e6a
lea esi, [ebp - 0x11c]
call fcn.0040e12a
cmp dword [eax + 0x18], 8
jb 0x411e1e
mov eax, dword [eax + 4]
jmp 0x411e21
add eax, 4
cmp dword [ebp - 0x64], 8
mov ecx, dword [ebp - 0x78]
jae 0x411e2d
lea ecx, [ebp - 0x78]
push eax
push ecx
push 0x271a
lea ecx, [ebp - 0x3c]
call fcn.00404120
add esp, 0xc
push ebx
push 1
lea esi, [ebp - 0x11c]
call fcn.00401469
mov esi, dword [ebp - 0xd0]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.00413127
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401469
cmp byte [ebp - 0xca], bl
jne 0x411f41
mov eax, dword [ebp - 0xf4]
cmp byte [eax + 0x9c], bl
je 0x411f80
mov eax, dword [ebp - 0xd0]
cmp byte [eax + 0x58], bl
jne 0x411ea1
cmp byte [eax + 0x59], bl
jne 0x411ea1
cmp byte [eax + 0x5a], bl
je 0x411f80
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], bx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], bl
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x24], bl
push eax
xor ebx, ebx
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x48], 7
call fcn.00401700
mov ecx, dword [ebp - 0xd0]
cmp byte [ecx + 0x58], bl
mov eax, dword [ebp - 0xf4]
je 0x411f03
cmp byte [eax + 0x98], bl
je 0x411f03
mov edx, dword [eax + 0x74]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x78]
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x3c], 1
cmp byte [ecx + 0x59], bl
je 0x411f23
cmp byte [eax + 0x99], bl
je 0x411f23
mov edx, dword [eax + 0x7c]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x80]
mov dword [ebp - 0x34], edx
mov byte [ebp - 0x30], 1
cmp byte [ecx + 0x5a], bl
je 0x411f4e
cmp byte [eax + 0x9a], bl
je 0x411f4e
mov edx, dword [eax + 0x84]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x2c], edx
jmp 0x411f5d
cmp byte [ebp - 0xc9], bl
je 0x411f80
jmp 0x411e76
mov eax, dword [ecx + 0xb4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xb8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x60]
push eax
lea esi, [ecx + 0x14c]
mov byte [ebp - 0x24], 1
call fcn.00413797
push ebx
push 1
lea esi, [ebp - 0x60]
call fcn.00401469
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x7c]
call fcn.00401469
mov eax, dword [ebp - 0xd8]
call fcn.00401e6b
cmp byte [ebp - 0xca], bl
lea eax, [ebp - 0x20]
je 0x411fb2
push 0xffffffffffffffff
push dword [ebp - 0xd8]
xor ebx, ebx
call fcn.00401700
jmp 0x411fe7
push eax
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x11c]
add eax, 0x3c
push ecx
call fcn.00401ffd
pop ecx
pop ecx
push 0xffffffffffffffff
push dword [ebp - 0xd8]
xor ebx, ebx
call fcn.00401700
push ebx
push 1
lea esi, [ebp - 0x11c]
call fcn.00401469
mov esi, dword [ebp - 0xf4]
cmp byte [esi + 0x9c], bl
je 0x41200d
mov eax, dword [ebp - 0xd4]
mov dword [eax], ebx
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.00401469
jmp 0x411a5d
cmp byte [esi + 0x28], bl
jne 0x412541
lea eax, [ebp - 0xc8]
call fcn.0040d29b
push dword [ebp - 0xd8]
mov byte [ebp - 0xca], bl
call fcn.0040d3d3
test al, al
pop ecx
je 0x4126da
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 0xd8]
call fcn.0040dadd
test al, al
pop ecx
pop ecx
je 0x4126da
mov edi, dword [ebp - 0xd0]
mov eax, dword [edi + 0x2c]
cmp eax, 1
je 0x41206a
cmp eax, 2
jne 0x4120ae
cmp dword [edi + 0x34], 1
ja 0x4120ae
lea eax, [ebp - 0xc8]
call fcn.00415b3d
mov cl, byte [esi + 0x9a]
neg cl
lea edx, [esi + 0x84]
sbb ecx, ecx
and ecx, edx
call fcn.0042b3b4
test eax, eax
jg 0x4120ae
mov eax, dword [ebp - 0xd4]
mov dword [eax], ebx
lea eax, [ebp - 0xc8]
call fcn.0040d2c9
jmp 0x411ffd
mov eax, dword [edi + 0x34]
sub eax, ebx
je 0x4120bf
dec eax
dec eax
jne 0x41225e
jmp 0x412096
lea ecx, [ebp - 0xc8]
call fcn.0040d363
mov dword [ebp - 0x128], eax
mov eax, ecx
mov dword [ebp - 0x124], edx
call fcn.00415b3d
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
lea eax, [edi + 0x1c]
mov byte [ebp - 0xc9], bl
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], ebx
call fcn.004211e5
test al, al
je 0x41215f
lea eax, [ebp - 0x48]
call fcn.0040e1ad
lea eax, [edi + 0x1c]
call fcn.00415c0c
mov edx, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
push 7
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
jne 0x412157
lea eax, [ebp - 0x48]
call fcn.00415c0c
test eax, eax
setne byte [ebp - 0xc9]
cmp byte [ebp - 0xc9], bl
je 0x412157
lea ecx, [ebp - 0x48]
call fcn.0040e1e9
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
lea eax, [ebp - 0x48]
call fcn.0040e1c6
lea eax, [edi + 0x138]
cmp eax, ebx
mov dword [ebp - 0xd0], eax
je 0x412174
call fcn.0040f3b2
lea eax, [edi + 0x20]
call fcn.00415c0c
push dword [ebp - 0xd8]
mov dl, byte [ebp - 0xc9]
neg dl
lea ecx, [ebp - 0xec]
push ecx
lea ecx, [ebp - 0xf8]
push 1
mov dword [ebp - 0xfc], eax
mov eax, dword [eax]
sbb edx, edx
and edx, ecx
mov cl, byte [esi + 0x9a]
neg cl
push edx
lea edx, [esi + 0x84]
sbb ecx, ecx
and ecx, edx
push ecx
push dword [ebp - 0x120]
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xfc]
call dword [eax + 0x18]
cmp eax, ebx
je 0x4121fd
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xd0]
cmp eax, ebx
je 0x41209e
call fcn.0040f3c0
jmp 0x41209e
mov eax, dword [ebp - 0xec]
cmp eax, 7
ja case.default.0x41220c
jmp dword [eax*4 + 0x412724]
mov eax, dword [ebp - 0xd4]
mov dword [eax], 0x80004004
cmp dword [ebp - 0xd0], ebx
je 0x41209e
mov eax, dword [ebp - 0xd0]
jmp 0x4121f3
mov dword [edi + 0x34], 2
mov eax, dword [ebp - 0xd4]
mov dword [eax], ebx
jmp 0x41221f
mov dword [edi + 0x34], 1
cmp dword [ebp - 0xd0], ebx
je 0x41225e
mov eax, dword [ebp - 0xd0]
call fcn.0040f3c0
mov eax, dword [edi + 0x34]
cmp eax, 3
jne 0x412475
mov ecx, dword [ebp - 0xd8]
call fcn.004103d8
test al, al
jne 0x412536
push 0x271b
call fcn.00405103
lea ecx, [ebp - 0x11c]
call fcn.00410027
push dword [ebp - 0xd8]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x11c]
call fcn.00401ffd
pop ecx
pop ecx
push ebx
push 1
lea esi, [ebp - 0x11c]
call fcn.00401469
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
mov esi, edi
call fcn.00413127
cmp eax, ebx
push ebx
lea esi, [ebp - 0x3c]
push 1
je 0x412464
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
call fcn.00401469
jmp 0x41209e
push 0xffffffffffffffff
lea eax, [esi + 0x48]
push eax
mov eax, dword [ebp - 0xd8]
xor ebx, ebx
call fcn.00401700
mov ecx, dword [ebp - 0xd8]
call fcn.004103d8
test al, al
jne 0x41239a
push 0x271b
call fcn.00405103
lea ecx, [ebp - 0x144]
call fcn.00410027
push dword [ebp - 0xd8]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x144]
call fcn.00401ffd
pop ecx
pop ecx
push ebx
inc ebx
push ebx
lea esi, [ebp - 0x144]
call fcn.00401469
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
mov esi, edi
call fcn.00413127
xor edi, edi
cmp eax, edi
push edi
lea esi, [ebp - 0x3c]
push ebx
je 0x41238c
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
call fcn.00401469
mov eax, dword [ebp - 0xd0]
cmp eax, edi
je 0x41237a
call fcn.0040f3c0
lea eax, [ebp - 0xc8]
call fcn.0040d2c9
push edi
push ebx
jmp 0x412000
mov eax, dword [ebp - 0xd4]
mov dword [eax], 0x80004005
jmp 0x412366
mov byte [esi + 0x64], 1
xor ebx, ebx
jmp 0x41224b
mov dword [edi + 0x34], 3
jmp 0x41224b
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 0xca], 1
call fcn.004103d8
test al, al
jne 0x41224b
push 0x271b
call fcn.00405103
lea ecx, [ebp - 0x11c]
call fcn.00410027
push dword [ebp - 0xd8]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x11c]
call fcn.00401ffd
pop ecx
pop ecx
push ebx
push 1
lea esi, [ebp - 0x11c]
call fcn.00401469
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
mov esi, edi
call fcn.00413127
cmp eax, ebx
push ebx
lea esi, [ebp - 0x3c]
push 1
je 0x41242f
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
call fcn.00401469
jmp 0x4121e5
mov eax, dword [ebp - 0xd4]
mov dword [eax], 0x80004005
jmp 0x412425
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x14], ebx
mov byte [ebp - 0xca], 1
jne 0x41224b
mov eax, dword [ebp - 0xd4]
mov dword [eax], 0x80004005
jmp 0x41221f
mov eax, dword [ebp - 0xd4]
mov dword [eax], 0x80004005
jmp 0x4122db
cmp eax, 4
jne 0x41254d
mov eax, dword [ebp - 0xd8]
lea esi, [ebp - 0x3c]
call fcn.00401abd
mov ecx, esi
call fcn.004103d8
test al, al
jne 0x41250f
push 0x271b
call fcn.00405103
lea ecx, [ebp - 0x11c]
call fcn.00410027
push dword [ebp - 0xd8]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x11c]
call fcn.00401ffd
pop ecx
pop ecx
push ebx
push 1
lea esi, [ebp - 0x11c]
call fcn.00401469
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 8]
mov esi, edi
call fcn.00413127
cmp eax, ebx
push ebx
push 1
lea esi, [ebp - 0x7c]
je 0x412501
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
call fcn.00401469
push ebx
push 1
lea esi, [ebp - 0x3c]
jmp 0x4122db
mov eax, dword [ebp - 0xd4]
mov dword [eax], 0x80004005
jmp 0x4124f1
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0x3c]
call fcn.0040db9f
test al, al
jne 0x41252b
push 0x271d
jmp 0x41249c
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401469
lea eax, [ebp - 0xc8]
call fcn.0040d2c9
mov byte [ebp - 0xc9], 1
jmp 0x412703
cmp eax, 1
jne 0x4125f6
push 0xffffffffffffffff
lea eax, [esi + 0x48]
push eax
mov eax, dword [ebp - 0xd8]
xor ebx, ebx
call fcn.00401700
mov ecx, dword [ebp - 0xd8]
call fcn.004103d8
test al, al
jne 0x4125eb
push 0x271b
call fcn.00405103
lea ecx, [ebp - 0x11c]
call fcn.00410027
push dword [ebp - 0xd8]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x11c]
call fcn.00401ffd
pop ecx
pop ecx
push ebx
inc ebx
push ebx
lea esi, [ebp - 0x11c]
call fcn.00401469
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
mov esi, edi
call fcn.00413127
xor edi, edi
cmp eax, edi
push edi
lea esi, [ebp - 0x3c]
push ebx
je 0x4125dd
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
call fcn.00401469
jmp 0x41237a
mov eax, dword [ebp - 0xd4]
mov dword [eax], 0x80004005
jmp 0x4125d3
mov byte [esi + 0x64], 1
xor ebx, ebx
jmp 0x412536
cmp byte [ebp - 0xca], bl
jne 0x412536
cmp byte [esi + 0x64], bl
jne 0x412536
push dword [ebp - 0xd8]
call fcn.0040dbae
test al, al
pop ecx
jne 0x412536
push 0x271c
call fcn.00405103
lea ecx, [ebp - 0x11c]
call fcn.00410027
push dword [ebp - 0xd8]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x11c]
call fcn.00401ffd
pop ecx
pop ecx
push ebx
push 1
lea esi, [ebp - 0x11c]
call fcn.00401469
push 0x2790
call fcn.00405103
lea ecx, [ebp - 0x11c]
call fcn.00410027
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x11c]
lea esi, [ebp - 0x3c]
call fcn.00402052
push ebx
push 1
lea esi, [ebp - 0x11c]
call fcn.00401469
lea esi, [ebp - 0x11c]
call fcn.0040e12a
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 0x3c]
call fcn.00402052
push ebx
push 1
lea esi, [ebp - 0x11c]
call fcn.00401469
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
mov esi, edi
call fcn.00413127
cmp eax, ebx
push ebx
lea esi, [ebp - 0x3c]
push 1
jne 0x4122d3
mov eax, dword [ebp - 0xd4]
mov dword [eax], ebx
jmp 0x4122db
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x2c], 2
jne 0x412536
mov eax, dword [ebp - 0xd4]
mov dword [eax], ebx
lea eax, [ebp - 0xc8]
call fcn.0040d2c9
mov byte [ebp - 0xc9], bl
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.00401469
lea esi, [ebp - 0xe8]
call fcn.00401550
mov al, byte [ebp - 0xc9]
jmp 0x411a6a