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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x586480
sub esp, 0x108
mov edx, dword [esp + 0x10c]
mov ebx, dword [edx + 0x28]
movzx ebp, byte [ebx + 0x61]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5863cb
mov ebx, dword [ebx + 0x84]
test ebx, ebx
je 0x5863cb
mov ebx, dword [esp + 0x110]
mov byte [ebx + 0x64], 1
mov ecx, dword [ebx + 0xb0]
mov ebp, dword [ebx + 0xac]
test ecx, ecx
jbe 0x586478
cmp word [ebp], 0x304
je 0x586370
mov eax, dword [edx + 0x2c]
test eax, eax
jne 0x586306
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x40]
test ebp, ebp
jle 0x5862ea
mov dword [esp + 0x34], ebp
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x28]
mov ebx, dword [edx + 0x84]
mov edx, dword [edx + 0x88]
mov ebx, dword [ebx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call ebx
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
test cl, cl
je 0x586280
test eax, eax
je 0x586280
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 0xac]
mov esi, dword [ebx + 0xb0]
xor ecx, ecx
jmp 0x5856e8
inc ecx
mov ebx, edx
mov ebp, edi
cmp esi, ecx
jle 0x586216
mov edx, ebx
lea ebx, [ebp + ecx*2]
mov edi, ebp
movzx ebp, word [eax + 0xc]
cmp word [ebx], bp
jne 0x5856e3
mov dword [esp + 0x88], eax
mov ebx, dword [esp + 0x10c]
mov ebp, dword [ebx + 0x28]
lea esi, [esp + 0x14]
mov dword [esp + 0x84], esi
mov ecx, esi
movzx esi, byte [ebp + 0x50]
xchg esi, eax
test al, al
xchg esi, eax
je 0x585fb3
cmp word [eax + 0xc], 0x304
jne 0x585e82
mov ebp, dword [ebx + 0x28]
lea edi, [esp + 0x90]
xor eax, eax
call fcn.0045af8b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x585e77
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0x90]
mov esi, esp
call fcn.0045b46e
mov eax, dword [esp + 0x88]
lea esi, [eax + 0x6c]
lea edi, [esp + 0xe0]
call fcn.0045b46e
mov edi, esp
lea esi, [esp + 0x90]
call fcn.0045b46e
mov edi, dword [esp + 0x84]
lea esi, [esp + 0xe0]
call fcn.0045b46e
call fcn.0049ba10
movzx eax, byte [esp + 0x28]
test al, al
jne 0x585dd7
mov eax, dword [esp + 0x88]
movzx ecx, word [eax + 0xe]
mov word [esp], cx
call fcn.0057af70
mov eax, dword [esp + 4]
test eax, eax
je 0x585d6d
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x110]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x80], edx
mov ebx, dword [ecx + 0x2c]
mov dword [esp + 0x4c], ebx
xor ebp, ebp
jmp 0x58580d
mov esi, dword [esp + 0x48]
lea ebp, [esi + 1]
mov eax, ecx
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x4c]
cmp ebp, ebx
jge 0x585d03
mov dword [esp + 0x48], ebp
movzx eax, word [edx + ebp*2]
mov word [esp], ax
call fcn.0057af70
mov eax, dword [esp + 4]
test eax, eax
je 0x585cfa
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x5857f2
mov ebx, dword [esp + 0x10c]
mov ebx, dword [ebx + 0x28]
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0045af8b
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x585cef
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0xa4]
mov esi, esp
call fcn.0045b46e
mov eax, dword [esp + 0x88]
lea esi, [eax + 0x34]
lea edi, [esp + 0xcc]
call fcn.0045b46e
mov edi, esp
lea esi, [esp + 0xa4]
call fcn.0045b46e
mov edi, dword [esp + 0x84]
lea esi, [esp + 0xcc]
call fcn.0045b46e
call fcn.0049cd30
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
call fcn.00452890
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x88]
mov ebx, dword [ecx]
mov dword [esp + 0x6c], ebx
mov ebp, dword [ecx + 4]
mov dword [esp + 0x40], ebp
mov esi, dword [ecx + 8]
mov dword [esp + 0x44], esi
add eax, dword [ecx + 0x80]
mov dword [esp + 0x3c], eax
lea edi, [0x62e440]
mov dword [esp], edi
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x585cdd
mov edx, dword [esp + 0x6c]
mov dword [eax], edx
mov edx, dword [esp + 0x110]
mov dword [edx + 0xe4], 1
mov dword [edx + 0xe8], 1
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x585ccd
mov dword [edx + 0xe0], eax
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx + 0xc]
lea ebp, [eax - 1]
cmp ebp, 0x13
jae 0x586457
mov ecx, dword [0x815e14]
mov ebp, dword [0x815e10]
cmp ecx, eax
jbe 0x586452
movzx eax, byte [ebp + eax]
mov dword [esp + 0x4c], eax
lea ecx, [0x633cc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00442930
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
lea ecx, [0x62e340]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x585cbb
mov edx, dword [esp + 0x7c]
mov dword [eax], edx
mov edx, dword [esp + 0x110]
mov dword [edx + 0xf0], 1
mov dword [edx + 0xf4], 1
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x585cab
mov dword [edx + 0xec], eax
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx + 0xc]
lea ebp, [eax - 1]
cmp ebp, 0x13
jae 0x58643a
mov ecx, dword [0x815e14]
mov ebp, dword [0x815e10]
cmp eax, ecx
jae 0x586435
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
mov dword [esp + 0x4c], edi
mov edi, dword [ecx + 0x60]
mov dword [esp + 0x78], edi
mov edi, dword [ecx + 0x64]
mov ecx, dword [ecx + 0x68]
movzx eax, byte [ebp + eax]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
lea edx, [0x670475]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0xa
mov edx, dword [esp + 0x78]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
call fcn.005969e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00596eb0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ebp, [0x670461]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00596d90
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0xc]
mov dword [esp], ebp
call fcn.00506930
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x110]
mov dword [esp], edx
call fcn.0058daf0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x14], ebx
call fcn.005971c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x50], edx
lea ebx, [0x62e340]
mov dword [esp], ebx
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x54]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 8], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x585c9a
mov eax, dword [esp + 0x8c]
mov dword [edi], eax
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0058db80
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x134], eax
add esp, 0x108
ret
mov eax, dword [esp + 0x8c]
call fcn.0045ace0
jmp 0x585c0a
lea edi, [edx + 0xec]
call fcn.0045ace0
jmp 0x585a15
mov edi, eax
mov eax, dword [esp + 0x7c]
call fcn.0045ace0
mov eax, edi
jmp 0x5859e6
lea edi, [edx + 0xe0]
call fcn.0045ace0
jmp 0x585968
mov edi, eax
mov eax, dword [esp + 0x6c]
call fcn.0045ace0
mov eax, edi
jmp 0x585939
lea ecx, [0x689910]
jmp 0x585861
mov ecx, dword [esp + 0x70]
jmp 0x5857f2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 0x84]
mov eax, dword [eax + 0x88]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
lea ecx, [0x689910]
jmp 0x585755
mov ecx, dword [edx + 0x28]
mov ebx, dword [edx + 0x2c]
mov ebp, dword [edx + 0x30]
movzx esi, word [eax + 0xe]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov word [esp + 0xc], si
call fcn.0057ae60
mov eax, dword [esp + 0x10]
test eax, eax
je 0x585f49
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [esp + 0x110]
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x70], ebx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x585f3f
mov dword [ebp + 0x68], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
lea edi, [ebp + 0x68]
call fcn.0045ace0
jmp 0x585ed9
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov esi, dword [eax + 0x2c]
test esi, esi
je 0x5861ac
mov esi, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
test esi, esi
jbe 0x58646f
mov ebx, dword [ebx]
mov dword [esp + 0x68], ebx
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.0045af8b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x5861a1
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0xb8]
mov esi, esp
call fcn.0045b46e
mov eax, dword [esp + 0x68]
test byte [eax], al
lea esi, [eax + 0x16c]
lea edi, [esp + 0xf4]
call fcn.0045b46e
mov edi, esp
lea esi, [esp + 0xb8]
call fcn.0045b46e
mov edi, dword [esp + 0x84]
lea esi, [esp + 0xf4]
call fcn.0045b46e
call fcn.0049ba10
movzx eax, byte [esp + 0x28]
test al, al
jne 0x586101
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00565a20
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x586097
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x110]
mov ebx, dword [esp + 0x10c]
jmp 0x58572d
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 0x84]
mov eax, dword [eax + 0x88]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
lea ecx, [0x689910]
jmp 0x585feb
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [edx + 0x14]
mov dword [esp], ebx
call eax
mov ecx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0x10c]
jmp 0x58568c
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
lea eax, [0x62e700]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov byte [eax], 1
mov ecx, dword [esp + 0x110]
mov dword [ecx + 0xd8], 1
mov dword [ecx + 0xdc], 1
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5863be
mov dword [ecx + 0xd4], eax
mov edx, dword [esp + 0x10c]
mov ebx, ecx
jmp 0x585654
lea edi, [ecx + 0xd4]
call fcn.0045ace0
jmp 0x5863b0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
call fcn.0045ad70
lea eax, [0x633ac0]
mov dword [esp], eax
lea eax, [0x6c4b28]
mov dword [esp + 4], eax
call fcn.00430630
call fcn.0045ad70
lea eax, [0x633ac0]
mov dword [esp], eax
lea eax, [0x6c4b20]
mov dword [esp + 4], eax
call fcn.00430630
xor eax, eax
mov ecx, esi
call fcn.0045ad60
xor eax, eax
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.005855e0