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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4146e8
sub esp, 0x50
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x41413f
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x41413f
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x41413f
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x414167
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414167
mov dword [eax + 8], 0xfffffade
jmp 0x414167
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x41415d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41415d
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
inc dword [0x55d5bc]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.00413f70
movzx eax, byte [esp + 0x10]
test al, al
jne 0x414198
xor eax, eax
jmp 0x4141a4
call fcn.00420340
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x414161
lea eax, [0x55d818]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004421d0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.00413f70
movzx eax, byte [esp + 0x10]
test al, al
je 0x414305
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x55d82c], al
mov eax, dword [0x583418]
cmp eax, 1
jne 0x41421e
mov eax, 1
jmp 0x41422c
cmp eax, 2
jne 0x41422a
mov eax, 2
jmp 0x41422c
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [0x5472c0]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004421d0
lea eax, [0x5472e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004421d0
movzx eax, byte [0x567768]
test al, al
je 0x4142ed
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x567798]
mov ecx, dword [0x56779c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044d550
mov eax, dword [0x567798]
add eax, 1
mov ecx, dword [0x56779c]
mov dword [0x567798], eax
adc ecx, 0
mov dword [0x56779c], ecx
mov eax, dword [0x55d4b0]
mov dword [esp + 0x44], eax
mov ecx, dword [0x55d4b4]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x414334
nop
lea eax, [0x55d818]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004424e0
add esp, 0x50
ret
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x414369
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00401c10
mov eax, dword [esp + 4]
mov ecx, dword [0x5631b0]
cmp ecx, eax
je 0x414325
jmp 0x414631
call fcn.004160a0
lea eax, [0x4c4054]
mov dword [esp], eax
call fcn.00457df0
mov eax, dword [0x58314c]
mov dword [0x55d858], eax
mov dword [0x55d85c], eax
mov ecx, dword [0x583168]
cmp ecx, eax
jge 0x41439e
mov dword [0x55d858], ecx
lea eax, [0x583950]
mov dword [esp], eax
call fcn.00401e40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x55d894], eax
mov dword [0x55d890], ecx
mov dword [0x55d880], 0
mov dword [0x55d884], 0
mov eax, dword [esp + 0x14]
mov dword [0x55d828], eax
call fcn.0045a150
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x55d864], eax
mov dword [0x55d860], ecx
mov dword [0x55d88c], eax
mov dword [0x55d888], ecx
movzx eax, byte [0x567768]
test al, al
je 0x41445f
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044d550
lea eax, [0x4c4108]
mov dword [esp], eax
call fcn.00457df0
lea eax, [0x4c4058]
mov dword [esp], eax
call fcn.00457df0
call fcn.004170b0
inc dword [0x55d854]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [0x58314c]
lea ebx, [0x5838e0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
call fcn.0041b3e0
mov eax, dword [0x583940]
mov ecx, dword [0x583944]
mov dword [0x55d8a8], eax
mov dword [0x55d8ac], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4144d7
mov byte [esp], 0
call fcn.0043fc60
lea eax, [0x583148]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401e10
mov eax, dword [0x583148]
cmp eax, 1
jne 0x4144ff
mov eax, 1
jmp 0x414505
cmp eax, 2
sete al
mov byte [0x5832c4], al
test al, al
je 0x414516
mov eax, 1
jmp 0x41451d
movzx eax, byte [0x5832c5]
mov byte [0x5832c0], al
nop
mov dword [0x55d7d8], 0xffffffff
mov dword [0x55d7e4], 0xffffffff
call fcn.004176a0
call fcn.0041b2f0
lea eax, [0x583140]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401e10
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x414700]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.00457df0
lea eax, [0x5472e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004424e0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4145fb
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4145f3
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x414601
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x414601
mov eax, dword [esp + 0x14]
test eax, eax
je 0x414611
lea eax, [0x4c4068]
mov dword [esp], eax
call fcn.00457d90
nop
lea eax, [0x55d818]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004424e0
add esp, 0x50
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.00433720
lea eax, [0x4b8cd8]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00434000
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00433e00
lea eax, [0x4b846f]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00434000
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00433ca0
lea eax, [0x4b9317]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00434000
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00433ca0
call fcn.00433940
call fcn.00433790
lea eax, [0x4bc03e]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004320d0
nop
call fcn.00457f00
jmp fcn.004140d0