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

Disassembly:
push 0xffffffffffffffff
push 0x531143
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x59099c]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59099c]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xe4]
mov ebp, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, 0xf
mov dword [esp + 0x40], edi
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x50]
mov dword [esp + 0xe8], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.0040a999
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0xe8], 1
mov byte [esp + 0x24], 0x2f
mov byte [esp + 0x20], 0x5c
call fcn.0040ab1b
cmp eax, 0xffffffff
jne 0x4786c3
push 1
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x20], 0x5c
call fcn.0040ab1b
cmp eax, 0xffffffff
je 0x4786c8
mov byte [esp + 0x18], 0x5c
mov eax, dword [ebp + 0x14]
cmp eax, 2
mov bl, 0x3a
jb 0x478784
cmp eax, 1
jae 0x4786e0
call fcn.0050bbb1
mov ecx, dword [ebp + 0x18]
cmp ecx, 0x10
lea esi, [ebp + 4]
jb 0x4786ef
mov eax, dword [esi]
jmp 0x4786f1
mov eax, esi
cmp byte [eax + 1], bl
je 0x478725
cmp ecx, 0x10
jb 0x4786ff
mov eax, dword [esi]
jmp 0x478701
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [esp + 0x18]
jne 0x478784
cmp dword [ebp + 0x14], 1
jae 0x478714
call fcn.0050bbb1
cmp dword [ebp + 0x18], 0x10
jb 0x47871c
mov esi, dword [esi]
mov al, byte [esp + 0x18]
cmp byte [esi + 1], al
jne 0x478784
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push ebp
mov ecx, edi
mov byte [edi + 4], bl
call fcn.0040a999
mov ebp, 0x10
cmp dword [esp + 0x5c], ebp
jb 0x478758
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0050b609
add esp, 4
cmp dword [esp + 0xcc], ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x47877d
mov edx, dword [esp + 0xb8]
push edx
call fcn.0050b609
add esp, 4
mov eax, edi
jmp 0x4791a2
mov ecx, dword [esp + 0x58]
cmp ecx, 2
jb 0x4789dc
cmp ecx, 1
jae 0x47879f
call fcn.0050bbb1
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x48]
mov edi, 0x10
cmp edx, edi
mov eax, esi
jae 0x4787b6
lea eax, [esp + 0x48]
cmp byte [eax + 1], bl
jne 0x4788c5
push 2
push 0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x50]
call fcn.0040a369
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0xe8], 2
call fcn.0040a999
cmp dword [esp + 0x94], edi
mov byte [esp + 0xdc], 1
jb 0x47880e
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0050b609
add esp, 4
mov edx, dword [esp + 0x5c]
cmp edx, edi
mov eax, dword [esp + 0x48]
jb 0x4788b6
test eax, eax
mov esi, eax
je 0x478846
cmp edx, 0x10
mov ecx, eax
jae 0x47882f
lea ecx, [esp + 0x48]
cmp ecx, esi
ja 0x478846
cmp edx, 0x10
jae 0x47883c
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x58]
add edx, eax
cmp esi, edx
jbe 0x47884b
call fcn.0050bbb1
lea eax, [esp + 0x44]
push 2
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
call fcn.0041676c
mov edx, dword [esp + 0x5c]
cmp edx, 0x10
mov eax, dword [esp + 0x48]
jb 0x4788bf
test eax, eax
mov esi, eax
je 0x478897
cmp edx, 0x10
mov ecx, eax
jae 0x478880
lea ecx, [esp + 0x48]
cmp ecx, esi
ja 0x478897
cmp edx, 0x10
jae 0x47888d
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x58]
add ecx, eax
cmp esi, ecx
jbe 0x47889c
call fcn.0050bbb1
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
push ecx
push esi
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x40]
push edx
jmp 0x4789cf
lea esi, [esp + 0x48]
jmp 0x478824
lea esi, [esp + 0x48]
jmp 0x478875
cmp ecx, 2
jb 0x4789dc
cmp edx, edi
mov eax, esi
jae 0x4788d8
lea eax, [esp + 0x48]
mov dl, byte [esp + 0x18]
cmp byte [eax], dl
jne 0x4789dc
cmp ecx, 1
jae 0x4788f2
call fcn.0050bbb1
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x48]
jae 0x478900
lea eax, [esp + 0x48]
mov dl, byte [esp + 0x18]
cmp byte [eax + 1], dl
jne 0x4789dc
push 1
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x20], dl
call fcn.0040ab1b
cmp eax, 0xffffffff
je 0x4789d8
mov cl, byte [esp + 0x18]
push 1
add eax, 1
push eax
lea edx, [esp + 0x1c]
mov byte [esp + 0x1c], cl
push edx
lea ecx, [esp + 0x50]
call fcn.0040ab1b
mov esi, eax
cmp esi, 0xffffffff
je 0x4789d8
push esi
push 0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x50]
call fcn.0040a369
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0xe8], 3
call fcn.0040a999
lea ecx, [esp + 0x7c]
mov byte [esp + 0xdc], 1
call fcn.0040a2e8
push esi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
call fcn.0040aab2
mov ecx, eax
call fcn.00415de5
mov esi, eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
call fcn.0040aab2
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x58]
call fcn.0040aa48
mov ecx, dword [esp + 0x58]
test ecx, ecx
jbe 0x478a36
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x4789f0
call fcn.0050bbb1
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x4789ff
lea eax, [esp + 0x48]
cmp byte [eax + esi], 0x5c
je 0x478a36
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x478a11
call fcn.0050bbb1
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x478a20
lea eax, [esp + 0x48]
cmp byte [eax + esi], 0x2f
je 0x478a36
mov ecx, dword [esp + 0x18]
push ecx
push 1
lea ecx, [esp + 0x4c]
call fcn.0040a94b
push 0xffffffffffffffff
push 0
push ebp
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
call fcn.0040a999
cmp dword [esp + 0x58], 0
mov byte [esp + 0xdc], 4
je 0x478f8f
mov byte [esp + 0x14], 0x5c
mov byte [esp + 0x1c], 0x2f
lea esp, [esp]
push 1
push 0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x6c]
call fcn.0040ab1b
push 1
mov edi, eax
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x6c]
call fcn.0040ab1b
cmp edi, 0xffffffff
je 0x478ab4
cmp eax, 0xffffffff
je 0x478ab6
cmp eax, edi
jge 0x478ab6
mov edi, eax
cmp edi, 0xffffffff
je 0x478f8f
push edi
push 0
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x6c]
call fcn.0040a369
mov ebx, dword [esp + 0x78]
cmp ebx, 0x10
mov byte [esp + 0xdc], 5
jb 0x478b8f
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x478b18
cmp ebx, 0x10
mov eax, dword [esp + 0x64]
jae 0x478afd
lea eax, [esp + 0x64]
cmp eax, ebp
ja 0x478b18
cmp ebx, 0x10
mov eax, dword [esp + 0x64]
jae 0x478b0e
lea eax, [esp + 0x64]
mov edx, dword [esp + 0x74]
add eax, edx
cmp ebp, eax
jbe 0x478b21
call fcn.0050bbb1
mov ebx, dword [esp + 0x78]
lea esi, [esp + 0x60]
mov eax, esi
cmp eax, 0xfffffffe
mov dword [esp + 0x3c], ebp
je 0x478b64
cmp ebx, 0x10
mov ecx, dword [esp + 0x64]
jae 0x478b3d
lea ecx, [esp + 0x64]
mov edx, dword [esp + 0x74]
lea eax, [edi + ebp]
add ecx, edx
cmp eax, ecx
ja 0x478b5b
cmp ebx, 0x10
mov ecx, dword [esp + 0x64]
jae 0x478b57
lea ecx, [esp + 0x64]
cmp eax, ecx
jae 0x478b64
call fcn.0050bbb1
mov ebx, dword [esp + 0x78]
add edi, ebp
cmp esi, 0xfffffffe
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
je 0x478bba
test esi, esi
jne 0x478b80
call fcn.0050bbb1
mov ebx, dword [esp + 0x78]
mov ebp, dword [esi + 0x18]
cmp ebp, 0x10
lea eax, [esi + 4]
jb 0x478b98
mov ecx, dword [eax]
jmp 0x478b9a
lea ebp, [esp + 0x64]
jmp 0x478af0
mov ecx, eax
mov esi, dword [esi + 0x14]
lea edx, [edi + 1]
add esi, ecx
cmp edx, esi
ja 0x478bb1
cmp ebp, 0x10
jb 0x478bad
mov eax, dword [eax]
cmp edx, eax
jae 0x478bba
call fcn.0050bbb1
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
add edi, 1
cmp ebx, 0x10
jb 0x478d67
test ecx, ecx
mov esi, ecx
je 0x478bf4
cmp ebx, 0x10
mov eax, ecx
jae 0x478bdb
lea eax, [esp + 0x64]
cmp eax, esi
ja 0x478bf4
cmp ebx, 0x10
mov eax, ecx
jae 0x478bea
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x74]
add ecx, eax
cmp esi, ecx
jbe 0x478bf9
call fcn.0050bbb1
mov edx, dword [esp + 0x30]
push edi
push edx
push esi
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x74]
call fcn.0040aa48
mov esi, dword [esp + 0xac]
cmp esi, 2
mov ecx, esi
jb 0x478c26
mov ecx, 2
mov edi, dword [esp + 0xb0]
mov ebp, dword [esp + 0x9c]
mov ebx, 0x10
cmp edi, ebx
mov eax, ebp
jae 0x478c46
lea eax, [esp + 0x9c]
push ecx
push 0x560668
push eax
call fcn.004010f5
add esp, 0xc
test eax, eax
jne 0x478eb5
cmp esi, 2
jb 0x478eb5
cmp esi, 2
setne al
test eax, eax
jne 0x478eb5
mov eax, dword [esp + 0x58]
lea edi, [eax - 1]
test edi, edi
mov dword [esp + 0x28], edi
jle 0x478cd6
lea esi, [edi - 1]
cmp esi, eax
jbe 0x478c93
call fcn.0050bbb1
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x48]
jae 0x478ca1
lea ecx, [esp + 0x48]
cmp byte [esi + ecx], 0x5c
je 0x478cd2
cmp esi, eax
jbe 0x478cb4
call fcn.0050bbb1
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x48]
jae 0x478cc2
lea ecx, [esp + 0x48]
cmp byte [esi + ecx], 0x2f
je 0x478cd2
sub edi, 1
sub esi, 1
test edi, edi
jg 0x478c86
mov dword [esp + 0x28], edi
sub eax, edi
sub eax, 1
push eax
push edi
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x50]
call fcn.0040a369
mov esi, dword [esp + 0x90]
cmp esi, 2
mov byte [esp + 0xdc], 6
mov eax, esi
jb 0x478d09
mov eax, 2
cmp dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x80]
jae 0x478d20
lea ecx, [esp + 0x80]
push eax
push 0x560668
push ecx
call fcn.004010f5
add esp, 0xc
test eax, eax
jne 0x478d70
cmp esi, 2
jb 0x478d70
cmp esi, 2
setne al
test eax, eax
jne 0x478d70
push 2
push 0x560668
lea ecx, [esp + 0x4c]
call fcn.0040b5ed
mov edx, dword [esp + 0x18]
push edx
push 1
lea ecx, [esp + 0x4c]
call fcn.0040a94b
jmp 0x478e60
lea esi, [esp + 0x64]
jmp 0x478bd0
mov ebp, dword [esp + 0x5c]
cmp ebp, ebx
mov edx, dword [esp + 0x48]
mov eax, edx
jae 0x478d82
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x58]
lea ebx, [ecx + eax]
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0x478db1
cmp ebp, 0x10
mov eax, edx
jae 0x478d9c
lea eax, [esp + 0x48]
cmp eax, ebx
ja 0x478db1
cmp ebp, 0x10
mov eax, edx
jae 0x478dab
lea eax, [esp + 0x48]
add eax, ecx
cmp ebx, eax
jbe 0x478dc2
call fcn.0050bbb1
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
cmp ebp, 0x10
jb 0x478eac
test edx, edx
mov esi, edx
je 0x478df1
cmp ebp, 0x10
mov eax, edx
jae 0x478ddc
lea eax, [esp + 0x48]
cmp eax, esi
ja 0x478df1
cmp ebp, 0x10
mov eax, edx
jae 0x478deb
lea eax, [esp + 0x48]
add ecx, eax
cmp esi, ecx
jbe 0x478dfe
call fcn.0050bbb1
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x44]
mov ecx, eax
cmp ecx, 0xfffffffe
mov edi, eax
mov dword [esp + 0x3c], esi
je 0x478e42
cmp ebp, 0x10
mov ecx, edx
jae 0x478e1a
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x58]
add eax, esi
add ebx, ecx
cmp eax, ebx
ja 0x478e39
cmp ebp, 0x10
mov ecx, edx
jae 0x478e35
lea ecx, [esp + 0x48]
cmp eax, ecx
jae 0x478e3e
call fcn.0050bbb1
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push ebx
lea eax, [esi + ecx]
lea ecx, [esp + 0x48]
push ecx
push eax
push edi
lea edx, [esp + 0x48]
push edx
call fcn.0040aa48
mov ebx, 0x10
cmp dword [esp + 0x94], ebx
jb 0x478e79
mov eax, dword [esp + 0x80]
push eax
call fcn.0050b609
add esp, 4
mov ebp, dword [esp + 0x9c]
mov edi, dword [esp + 0xb0]
cmp edi, ebx
mov byte [esp + 0xdc], 4
jb 0x478e9c
push ebp
call fcn.0050b609
add esp, 4
cmp dword [esp + 0x58], 0
jne 0x478a80
jmp 0x478f8f
lea esi, [esp + 0x48]
jmp 0x478dd1
cmp edi, ebx
mov eax, ebp
jae 0x478ec2
lea eax, [esp + 0x9c]
push 0
push 0x5604fd
push eax
call fcn.004010f5
add esp, 0xc
test eax, eax
jne 0x478ee3
test esi, esi
setne al
test eax, eax
je 0x4790aa
cmp esi, 1
mov ecx, esi
jb 0x478eef
mov ecx, 1
cmp edi, ebx
mov eax, ebp
jae 0x478efc
lea eax, [esp + 0x9c]
push ecx
push 0x563518
push eax
call fcn.004010f5
add esp, 0xc
test eax, eax
jne 0x478f22
cmp esi, 1
jb 0x478f22
cmp esi, 1
setne al
test eax, eax
je 0x478e87
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.00442170
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xe8], 7
call fcn.0040b546
cmp dword [esp + 0x94], ebx
jb 0x478f6e
mov eax, dword [esp + 0x80]
push eax
call fcn.0050b609
add esp, 4
cmp dword [esp + 0xb0], ebx
mov byte [esp + 0xdc], 4
jb 0x478f8f
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0050b609
add esp, 4
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0040ded0
lea edx, [esp + 0x6c]
push edx
push eax
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0xf4], 8
call fcn.0040ded0
add esp, 0x18
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xe8], 9
call fcn.0040a999
mov ebx, 0x10
cmp dword [esp + 0x94], ebx
jb 0x478ffc
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0050b609
add esp, 4
cmp dword [esp + 0xb0], ebx
mov ebp, 0xf
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
mov byte [esp + 0xdc], 4
jb 0x479038
mov edx, dword [esp + 0x9c]
push edx
call fcn.0050b609
add esp, 4
cmp byte [esp + 0x18], 0x2f
push 1
lea ecx, [esp + 0x48]
push edi
jne 0x4790da
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x20], 0x5c
call fcn.0040ab1b
mov esi, eax
cmp esi, 0xffffffff
je 0x47912a
mov byte [esp + 0x14], 0x5c
lea esp, [esp]
cmp esi, dword [esp + 0x58]
jbe 0x47907b
call fcn.0050bbb1
cmp dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x48]
jae 0x479089
lea eax, [esp + 0x48]
push 1
push edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x50]
mov byte [eax + esi], 0x2f
call fcn.0040ab1b
mov esi, eax
cmp esi, 0xffffffff
jne 0x479070
jmp 0x47912a
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call fcn.00437ff0
cmp dword [esp + 0xb0], ebx
mov byte [esp + 0xdc], 4
jb 0x478f8f
mov edx, dword [esp + 0x9c]
push edx
jmp 0x478f87
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x20], 0x2f
call fcn.0040ab1b
mov esi, eax
cmp esi, 0xffffffff
je 0x47912a
mov byte [esp + 0x14], 0x2f
cmp esi, dword [esp + 0x58]
jbe 0x479100
call fcn.0050bbb1
cmp dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x48]
jae 0x47910e
lea eax, [esp + 0x48]
push 1
mov byte [eax + esi], 0x5c
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
call fcn.0040ab1b
mov esi, eax
cmp esi, 0xffffffff
jne 0x4790f5
mov esi, dword [esp + 0x40]
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x4c]
push ecx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], edi
mov ecx, esi
mov byte [esi + 4], 0
call fcn.0040a999
cmp dword [esp + 0x78], ebx
jb 0x47915a
mov edx, dword [esp + 0x64]
push edx
call fcn.0050b609
add esp, 4
cmp dword [esp + 0x5c], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
jb 0x47917a
mov eax, dword [esp + 0x48]
push eax
call fcn.0050b609
add esp, 4
cmp dword [esp + 0xcc], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
jb 0x4791a0
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0050b609
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.0050bc9c
add esp, 0xcc
ret