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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x584d3f
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 0x44]
test edx, edx
jne 0x5840dd
movzx edx, byte [ecx + 0x50]
test dl, dl
je 0x584cd1
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
xor ebp, ebp
xor esi, esi
jmp 0x5840ee
inc ebp
lea esi, [esi + edi + 1]
cmp ebp, ebx
jge 0x584161
lea edi, [edx + ebp*8]
mov edi, dword [edi + 4]
test edi, edi
je 0x584104
cmp edi, 0xff
jle 0x5840e9
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x679aed]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x6c8150]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
cmp esi, 0xffff
jg 0x584c74
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
call fcn.0057b460
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x584c17
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0057b460
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x584c0f
xor eax, eax
cmp ax, 0x303
jbe 0x5841c2
mov eax, 0x303
mov word [esp + 0x2a], ax
lea ecx, [0x633cc0]
mov dword [esp], ecx
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.00442930
mov eax, dword [esp + 0xc]
mov dword [esp + 0x90], eax
lea ecx, [0x633cc0]
mov dword [esp], ecx
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.00442930
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x40]
mov ebx, dword [ecx + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0058a050
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x94]
mov ebp, dword [edx + 0x98]
mov esi, dword [edx + 0x90]
test ebx, ebx
jne 0x584c02
mov ebx, dword [0x815ea0]
mov ebp, dword [0x815ea4]
mov esi, dword [0x815ea8]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], ebp
lea eax, [0x665b40]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
movzx ecx, word [esp + 0x2a]
mov word [eax + 0xc], cx
lea ecx, [0x62e700]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x38], 1
mov dword [ecx + 0x3c], 1
mov edx, dword [0x8326a0]
test edx, edx
jne 0x584bf5
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x14], 0x20
mov dword [ecx + 0x18], 0x20
mov edx, dword [0x8326a0]
test edx, edx
jne 0x584be1
mov edx, dword [esp + 0x90]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x20], 0x20
mov dword [ecx + 0x24], 0x20
mov edx, dword [0x8326a0]
test edx, edx
jne 0x584bcd
mov edx, dword [esp + 0x8c]
mov dword [ecx + 0x1c], edx
mov byte [ecx + 0x48], 1
mov byte [ecx + 0xa8], 1
mov edx, dword [esp + 0x54]
mov dword [ecx + 0x44], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x584bb9
mov edx, dword [esp + 0x88]
mov dword [ecx + 0x40], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0x50], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x54], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x584ba5
mov eax, dword [esp + 0x84]
mov dword [ecx + 0x4c], eax
lea eax, [0x62e700]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x5c], 1
mov dword [ecx + 0x60], 1
mov edx, dword [0x8326a0]
test edx, edx
jne 0x584b98
mov dword [ecx + 0x58], eax
mov byte [ecx + 0x8c], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x3c]
mov dword [ecx + 0xa0], ebx
mov dword [ecx + 0xa4], ebp
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x584b88
mov dword [ecx + 0x9c], eax
mov ebx, dword [esp + 0x40]
mov dword [ecx + 0xb0], ebx
mov ebx, dword [esp + 0x44]
mov dword [ecx + 0xb4], ebx
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x584b74
mov ebx, dword [esp + 0x6c]
mov dword [ecx + 0xac], ebx
mov ebx, dword [esp + 0x98]
mov ebp, dword [ebx + 0x2c]
test ebp, ebp
jle 0x584442
mov dword [ecx + 0x94], 0xc
mov dword [ecx + 0x98], 0xc
mov ebp, dword [0x8326a0]
lea eax, [ebx + 0x99]
test ebp, ebp
jne 0x584b64
mov dword [ecx + 0x90], eax
mov eax, dword [edx + 0x54]
mov ebx, dword [edx + 0x58]
test eax, eax
je 0x584b3b
mov dword [esp + 0x48], ebx
mov dword [esp + 0x88], eax
lea ecx, [0x633c00]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
call fcn.00442930
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x2c], 0
mov edx, dword [esp + 0x48]
mov dword [ecx + 0x30], edx
lea edi, [ecx + 0x28]
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x584b31
mov dword [ecx + 0x28], eax
mov dword [esp + 0x80], edi
mov eax, dword [esp + 0x88]
xor ebx, ebx
jmp 0x5844fa
inc eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x88]
mov eax, dword [esp + 0x54]
cmp edi, eax
jle 0x5844e3
mov edx, dword [esi + eax*4]
cmp word [edx], bp
jne 0x5844b1
cmp word [ecx + 0xc], 0x303
jae 0x584522
mov eax, dword [edx + 0x14]
test eax, 4
je 0x584522
inc ebx
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x48]
mov eax, ebp
mov edx, esi
mov edi, dword [esp + 0x80]
cmp edx, ebx
jle 0x5845a6
movzx ebp, word [eax + ebx*2]
mov esi, dword [0x815e70]
mov edi, dword [0x815e74]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
jmp 0x5844c1
mov eax, dword [ecx + 0x2c]
lea edx, [eax + 1]
mov esi, dword [ecx + 0x28]
mov edi, dword [ecx + 0x30]
cmp edx, edi
ja 0x58453e
lea edx, [eax + 1]
mov dword [ecx + 0x2c], edx
mov word [esi + eax*2], bp
jmp 0x5844e3
mov dword [esp + 0x54], ebx
mov word [esp + 0x26], bp
lea ecx, [0x633c00]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x30], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x584598
mov dword [ebx + 0x28], eax
mov ebx, dword [esp + 0x54]
movzx ebp, word [esp + 0x26]
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x74]
jmp 0x584532
mov edi, dword [esp + 0x80]
call fcn.0045ace0
jmp 0x584585
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
test edx, edx
je 0x584b20
mov eax, dword [ecx + 0x14]
mov ebp, dword [ecx + 0x10]
mov esi, dword [ecx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call fcn.00489c50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x584a6a
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
test ecx, ecx
je 0x584a59
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov esi, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.00489c50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x5849a3
mov edx, dword [esp + 0x74]
cmp word [edx + 0xc], 0x303
jb 0x58466b
mov eax, dword [0x815f10]
mov ebx, dword [0x815f14]
mov ebp, dword [0x815f18]
mov dword [edx + 0x78], ebx
mov dword [edx + 0x7c], ebp
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x584996
mov dword [edx + 0x74], eax
mov ecx, dword [edx + 0xb0]
mov ebx, dword [edx + 0xac]
test ecx, ecx
jbe 0x584d37
cmp word [ebx], 0x304
je 0x5846bc
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x94
ret
lea eax, [0x832588]
mov dword [esp], eax
lea eax, [0x689318]
mov dword [esp + 4], eax
call fcn.0046e810
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x2c]
mov edx, dword [0x81c00c]
lea ebx, [ecx + edx]
mov dword [esp + 0x54], ebx
mov ebp, dword [eax + 0x30]
mov esi, dword [eax + 0x28]
mov edi, dword [0x81c008]
cmp ebp, ebx
jb 0x584953
mov dword [esp + 0x88], esi
mov dword [esp + 0x50], ebp
lea eax, [esi + ecx*2]
mov dword [esp], eax
mov dword [esp + 4], edi
shl edx, 1
mov dword [esp + 8], edx
call fcn.0045b690
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x30], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x58493b
mov edx, dword [esp + 0x88]
mov dword [ecx + 0x28], edx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x94]
mov ebp, dword [edx + 0x90]
test ebx, ebx
jne 0x584930
mov ebx, dword [0x815ea0]
mov ebp, dword [0x815ea4]
test ebp, ebp
jbe 0x584d2e
movzx eax, word [ebx]
mov word [esp + 0x28], ax
mov word [esp], ax
call fcn.005977c0
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x28]
cmp cx, 0x1d
je 0x58479b
test al, al
je 0x5848d3
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test edx, edx
je 0x5848c2
mov dword [esp], edx
mov dword [esp + 4], eax
mov word [esp + 8], cx
call fcn.00597470
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x58488c
mov dword [esp + 0x70], edx
mov dword [esp + 0x4c], eax
mov ecx, dword [eax + 0x14]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x50], edx
lea ebx, [0x62e400]
mov dword [esp], ebx
call fcn.0040b4f0
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x28]
mov word [eax], cx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x58487a
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0xc8], 1
mov dword [ecx + 0xcc], 1
mov edx, dword [0x8326a0]
test edx, edx
jne 0x58486d
mov dword [ecx + 0xc4], eax
mov edx, ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x70]
jmp 0x58468a
lea edi, [ecx + 0xc4]
call fcn.0045ace0
jmp 0x58485e
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x7c]
call fcn.0045ace0
mov eax, ecx
jmp 0x584836
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ebx
add esp, 0x94
ret
mov edx, dword [0x81b960]
mov eax, dword [0x81b964]
jmp 0x5847ac
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x30
lea ecx, [0x67ff95]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x6c8150]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
mov eax, ebp
mov ebp, ebx
mov ebx, eax
jmp 0x58476a
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
call fcn.0045ace0
jmp 0x584746
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x60], edi
lea eax, [0x633c00]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004429e0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x60]
jmp 0x5846fc
lea edi, [edx + 0x74]
call fcn.0045ace0
jmp 0x58466b
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x678be9]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00445d20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edx, [0x63eca0]
mov dword [esp], edx
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x584a4e
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x6c8150]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
mov eax, dword [esp + 0x68]
call fcn.0045ace0
jmp 0x584a12
mov ecx, dword [0x81b960]
mov edx, dword [0x81b964]
jmp 0x5845fd
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x678be9]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00445d20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edx, [0x63eca0]
mov dword [esp], edx
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x584b15
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x6c8150]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
mov eax, dword [esp + 0x64]
call fcn.0045ace0
jmp 0x584ad9
mov edx, dword [0x81b960]
mov ebx, dword [0x81b964]
jmp 0x5845b7
call fcn.0045ace0
jmp 0x58449f
lea eax, [0x832588]
mov dword [esp], eax
lea ecx, [0x689318]
mov dword [esp + 4], ecx
call fcn.0046e810
mov eax, dword [0x81bff8]
mov ebx, dword [0x81bffc]
jmp 0x584450
lea edi, [ecx + 0x90]
call fcn.0045ace0
jmp 0x584442
lea edi, [ecx + 0xac]
mov eax, dword [esp + 0x6c]
call fcn.0045ace0
jmp 0x584406
lea edi, [ecx + 0x9c]
call fcn.0045ace0
jmp 0x5843da
lea edi, [ecx + 0x58]
call fcn.0045ace0
jmp 0x5843a6
lea edi, [ecx + 0x4c]
mov eax, dword [esp + 0x84]
call fcn.0045ace0
jmp 0x584371
lea edi, [ecx + 0x40]
mov eax, dword [esp + 0x88]
call fcn.0045ace0
jmp 0x58434b
lea edi, [ecx + 0x1c]
mov eax, dword [esp + 0x8c]
call fcn.0045ace0
jmp 0x584321
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x90]
call fcn.0045ace0
jmp 0x5842fb
lea edi, [ecx + 0x34]
call fcn.0045ace0
jmp 0x5842d5
mov edi, ebx
mov ebx, esi
mov esi, ebp
mov ebp, edi
jmp 0x584272
movzx eax, word [ecx]
jmp 0x5841b7
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3c
lea ecx, [0x68204a]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x6c8150]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x67afe6]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x6c8150]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x50
lea ecx, [0x68320f]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x6c8150]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
xor eax, eax
mov ecx, ebp
call fcn.0045ad60
xor eax, eax
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.005840a0