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

Disassembly:
push 0xffffffffffffffff
push 0x447008
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4555b4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4555b4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x28], ecx
call fcn.004166d0
push eax
mov dword [esp + 0x84], 0
call fcn.00419940
mov ebx, eax
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
mov dword [esp + 0x34], ebx
je 0x418455
push 0
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.004295de
mov eax, dword [edi + 4]
test eax, eax
jbe 0x418433
cmp eax, 0xffffffff
jae 0x418433
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x20]
and esi, edi
call fcn.004295ff
test esi, esi
je 0x418455
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea esi, [esp + 0x58]
mov ecx, ebx
call fcn.00419510
mov edi, 1
mov dword [esp + 0x80], edi
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
xor esi, esi
mov byte [esp + 0x20], al
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
mov byte [esp + 0x80], 2
mov al, byte [ebp]
cmp al, 0x2b
je 0x4184a3
cmp al, 0x2d
mov dword [esp + 0x1c], esi
jne 0x4184a7
mov dword [esp + 0x1c], edi
call fcn.0042c95a
mov ecx, dword [eax]
mov edi, dword [esp + 0xac]
mov dl, byte [ecx]
push edi
push 0x65
push ebp
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0
call fcn.0042c980
add esp, 0xc
mov dword [esp + 0x14], eax
movsx eax, byte [esp + 0x18]
push edi
push eax
push ebp
call fcn.0042c980
mov ebx, eax
add esp, 0xc
cmp ebx, esi
jne 0x4184f4
mov dword [esp + 0xa8], esi
jmp 0x4184fb
mov esi, dword [esp + 0xa8]
mov ecx, dword [esp + 0x70]
cmp ecx, 0x10
mov edx, dword [esp + 0x5c]
mov eax, edx
jae 0x41850e
lea eax, [esp + 0x5c]
cmp byte [eax], 0x7f
je 0x418664
cmp ecx, 0x10
mov eax, edx
jae 0x418522
lea eax, [esp + 0x5c]
cmp byte [eax], 0
jle 0x418664
push edi
push ebp
lea eax, [esp + 0x44]
call fcn.00419010
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x41854c
push 0x30
push esi
lea ecx, [esp + 0x44]
call fcn.00419100
jmp 0x418578
test ebx, ebx
jne 0x41856a
mov ecx, dword [esp + 0xa0]
push 0x30
push ecx
lea ecx, [esp + 0x44]
call fcn.00419100
mov dword [esp + 0xa0], ebx
push 0x30
push esi
sub edi, ebp
lea esi, [esp + 0x44]
call fcn.004191b0
test ebx, ebx
push 0x30
jne 0x418591
mov edx, dword [esp + 0xa4]
push edx
lea ecx, [esp + 0x44]
call fcn.00419100
jmp 0x4185c3
mov eax, dword [esp + 0xa8]
sub ebx, ebp
push eax
lea edi, [ebx + 1]
lea esi, [esp + 0x44]
call fcn.004191b0
mov ecx, dword [esp + 0xa0]
push 0x30
push ecx
mov edi, ebx
call fcn.004191b0
mov dword [esp + 0xa4], 0
mov ebp, dword [esp + 0x5c]
mov eax, 0x10
cmp dword [esp + 0x70], eax
mov dword [esp + 0xa0], 0
jae 0x4185e1
lea ebp, [esp + 0x5c]
cmp dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
jae 0x4185ef
lea eax, [esp + 0x40]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0042ca30
mov edi, eax
mov al, byte [ebp]
add esp, 8
cmp al, 0x7f
je 0x418636
test al, al
jle 0x418636
mov ecx, edi
sub ecx, dword [esp + 0x1c]
movsx eax, al
cmp eax, ecx
jae 0x418636
push 0
sub edi, eax
push 1
lea esi, [esp + 0x44]
call fcn.004191b0
cmp byte [ebp + 1], 0
jle 0x41862f
add ebp, 1
mov al, byte [ebp]
cmp al, 0x7f
jne 0x418606
cmp dword [esp + 0x54], 0x10
mov ebp, dword [esp + 0x40]
jae 0x418645
lea ebp, [esp + 0x40]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xa8], 0
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xac], edx
mov edi, edx
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [edx + 0x18]
add eax, esi
add eax, edi
test ecx, ecx
jle 0x41868f
cmp ecx, eax
jbe 0x41868f
sub ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x418697
mov dword [esp + 0x14], 0
mov eax, dword [edx + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x418796
cmp eax, 0x100
je 0x4186fe
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov bl, byte [esp + 0x98]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xa0]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
call fcn.00418e00
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
add esp, 0x10
mov dword [esp + 0x14], 0
jmp 0x4187ab
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x90]
jbe 0x418751
mov ecx, dword [esp + 0x8c]
push ebp
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], edx
lea edx, [esp + 0x38]
mov dword [eax + 8], ecx
push edx
mov eax, 1
call fcn.004193c0
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
add esp, 0x14
add ebp, 1
sub edi, 1
mov dword [esp + 0xac], edi
jmp 0x41875f
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
mov bl, byte [esp + 0x98]
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
call fcn.00418e00
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
add esp, 0x10
mov dword [esp + 0x14], 0
jmp 0x4187ab
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0xac]
movsx edx, byte [esp + 0x18]
push ecx
push edx
push ebp
call fcn.0042c980
add esp, 0xc
test eax, eax
je 0x418893
mov ecx, dword [esp + 0x20]
sub eax, ebp
add eax, 1
mov dword [esp + 0x1c], eax
push ecx
add eax, 0xffffffff
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
lea edx, [esp + 0x3c]
mov dword [eax + 8], edi
push edx
mov eax, ebp
call fcn.00419440
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00418e00
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [edx + 4]
add esp, 0x10
call eax
mov cl, al
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
lea edx, [esp + 0x34]
push edx
mov eax, 1
mov bl, cl
call fcn.00418e00
mov edx, dword [eax]
add esp, 4
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00418e00
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x2c]
add esp, 0x10
add ebp, eax
sub dword [esp + 0xac], eax
mov edx, dword [esp + 0xac]
push edx
push 0x65
push ebp
call fcn.0042c980
add esp, 0xc
test eax, eax
je 0x418960
mov ecx, dword [esp + 0x20]
sub eax, ebp
add eax, 1
mov dword [esp + 0x34], eax
push ecx
add eax, 0xffffffff
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
lea edx, [esp + 0x3c]
mov dword [eax + 8], edi
push edx
mov eax, ebp
call fcn.00419440
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00418e00
mov edx, dword [esp + 0x34]
add esp, 0x10
test byte [edx + 0x10], 4
mov dword [esp + 0xa8], 0
mov ecx, 0x44d784
jne 0x418923
mov ecx, 0x44d788
mov edx, dword [eax]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x38]
push ecx
mov eax, 1
call fcn.004193c0
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x48]
add esp, 0x14
add ebp, eax
sub dword [esp + 0xac], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xac]
push edx
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
lea ecx, [esp + 0x3c]
mov dword [eax + 8], edi
push ecx
mov eax, ebp
call fcn.00419440
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00418e00
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x34]
mov bl, byte [esp + 0xa8]
add esp, 4
mov dword [ecx + 0x18], 0
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x94]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x20]
push esi
call fcn.00418e00
mov edi, 0x10
add esp, 0x10
cmp dword [esp + 0x54], edi
jb 0x418a01
mov edx, dword [esp + 0x40]
push edx
call fcn.00429c36
add esp, 4
xor eax, eax
cmp dword [esp + 0x70], edi
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], eax
mov byte [esp + 0x40], al
jb 0x418a26
mov eax, dword [esp + 0x5c]
push eax
call fcn.00429c36
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00429d78
add esp, 0x70
ret