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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x5d6053
sub esp, 0x9c
lea eax, [0x659160]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
lea ebx, [ecx + edx*2 + 1]
mov dword [esp + 0x30], ebx
mov dword [esp + 8], ebx
call fcn.004483a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa0]
cmp ecx, eax
je 0x5d5890
mov dword [esp + 0x98], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 8], ecx
call fcn.004600e0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0xa4]
mov ebx, dword [esp + 0x30]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x24], esi
xor esi, esi
jmp 0x5d58c2
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x50], edi
cmp edx, esi
jle 0x5d5999
movzx ecx, byte [ecx + esi]
cmp ecx, 0x80
jge 0x5d58e1
inc esi
jmp 0x5d5925
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.00459520
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x50]
cmp ecx, 0x80
jge 0x5d598f
lea edx, [ebp + 1]
cmp ebx, edx
jae 0x5d5979
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], esi
lea ecx, [0x659160]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00448460
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x50]
mov byte [eax + ebp], cl
inc edi
mov ecx, dword [esp + 0x24]
mov ebp, edx
mov edx, dword [esp + 0xac]
jmp 0x5d58b7
mov ecx, dword [esp + 0x24]
inc ecx
jmp 0x5d58b7
test edi, edi
jle 0x5d59ed
lea esi, [ebp + 1]
cmp ebx, esi
jae 0x5d59e7
lea ecx, [0x659160]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00448460
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x50]
mov byte [eax + ebp], 0x2d
jmp 0x5d59ef
mov esi, ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov eax, pe_nt_image_headers32
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, 0x48
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x88]
jmp 0x5d5a3e
inc ecx
inc ebx
mov ebp, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ecx
mov eax, esi
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0x2c]
test ebp, ebp
je 0x5d5b2a
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x6c], eax
mov eax, 0x7fffffff
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x80]
jmp 0x5d5b89
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
sub ebx, ecx
lea ecx, [edi + 1]
mov dword [esp + 0x48], ecx
mov eax, ebx
mul ecx
mov ebp, 0x7fffffff
mov esi, dword [esp + 0x44]
sub ebp, esi
cmp eax, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
sar esi, 0x1f
mov edi, 0x7fffffff
mov ebp, dword [esp + 0x44]
sub edi, ebp
mov edi, 0
sbb edi, esi
mov esi, ebx
sar ebx, 0x1f
sar ecx, 0x1f
imul esi, ecx
mov ecx, dword [esp + 0x48]
imul ecx, ebx
add ecx, edx
add ecx, esi
cmp edi, ecx
setl cl
sete dl
movzx ebx, byte [esp + 0x23]
and edx, ebx
or ecx, edx
test cl, cl
jne 0x5d5bf6
lea ecx, [ebp + eax]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
jmp 0x5d5c87
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0044bc00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0x9c
ret
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], esi
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x6c]
cmp edx, ebx
jle 0x5d5a7f
movzx ebp, byte [ecx + ebx]
cmp ebp, 0x80
jge 0x5d5ba4
inc ebx
jmp 0x5d5bd9
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00459520
mov ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x64]
cmp esi, ebp
jle 0x5d5bed
mov edi, dword [esp + 0x34]
cmp edi, ebp
jg 0x5d5b71
mov esi, ebp
jmp 0x5d5b71
mov edi, dword [esp + 0x34]
jmp 0x5d5b71
lea eax, [0x6753e0]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xac]
mov dword [edi + 4], eax
mov eax, dword [0x887d70]
test eax, eax
jne 0x5d5c27
mov eax, dword [esp + 0xa8]
mov dword [edi], eax
jmp 0x5d5c33
mov eax, dword [esp + 0xa8]
call fcn.0045f750
mov dword [edi + 0xc], 2
lea eax, [0x68ca22]
mov dword [edi + 8], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea eax, [0x6f68e0]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edi
add esp, 0x9c
ret
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x4c], edx
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x6c]
cmp edx, ebp
jle 0x5d5a1b
mov dword [esp + 0x60], edi
mov dword [esp + 0x44], ecx
movzx edx, byte [eax + ebp]
cmp edx, 0x80
jge 0x5d5cae
inc ebp
jmp 0x5d5cee
mov dword [esp + 0x94], esi
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00459520
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x60]
cmp edx, ebx
jge 0x5d5d04
inc ecx
test ecx, ecx
jl 0x5d5e5d
mov edx, dword [esp + 0x4c]
jmp 0x5d5c74
jle 0x5d5d0f
mov edx, dword [esp + 0x4c]
jmp 0x5d5c74
mov dword [esp + 0x5c], ebp
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, 0x24
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
jmp 0x5d5f1a
cmp ecx, 0x1a
jae 0x5d5d37
add ecx, 0x61
jmp 0x5d5d46
lea edx, [ecx - 0x1a]
cmp edx, 0xa
jae 0x5d601d
add ecx, 0x16
mov edx, dword [esp + 0x2c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jae 0x5d5d9c
mov byte [esp + 0x21], cl
lea eax, [0x659160]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00448460
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x60]
mov ebp, ecx
movzx ecx, byte [esp + 0x21]
mov dword [esp + 0x2c], ebx
mov byte [esi + edx], cl
mov ecx, dword [esp + 0x50]
cmp edi, ecx
jne 0x5d5dcd
mov eax, 0x5d9f7391
mov ecx, dword [esp + 0x44]
imul ecx
sar edx, 8
sar ecx, 0x1f
sub edx, ecx
mov eax, dword [esp + 0xa8]
mov ecx, edx
mov edx, dword [esp + 0x50]
jmp 0x5d5dde
mov edx, ecx
mov ecx, dword [esp + 0x44]
shr ecx, 0x1f
mov ebx, dword [esp + 0x44]
add ecx, ebx
sar ecx, 1
cmp edi, 0xffffffff
je 0x5d6018
lea ebx, [edi + 1]
mov edi, eax
mov eax, ecx
cmp ebx, 0xffffffff
je 0x5d5df8
cdq
idiv ebx
jmp 0x5d5dfa
neg eax
add ecx, eax
xor eax, eax
jmp 0x5d6006
lea edx, [ecx + ecx*8]
cmp ecx, 0xffffffda
je 0x5d6013
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x24]
dec edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x58]
shl edx, 2
mov dword [esp + 0x58], edx
lea edx, [ecx + 0x26]
mov ecx, eax
mov eax, dword [esp + 0x58]
mov edi, edx
cmp edi, 0xffffffff
je 0x5d5e3c
cdq
idiv edi
jmp 0x5d5e3e
neg eax
lea edx, [eax + ecx]
mov eax, dword [esp + 0xa8]
xor ecx, ecx
mov dword [esp + 0x30], ebp
mov edi, ebx
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x5c]
jmp 0x5d5c74
lea eax, [0x6753e0]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xac]
mov dword [edi + 4], eax
mov eax, dword [0x887d70]
test eax, eax
jne 0x5d5e8e
mov eax, dword [esp + 0xa8]
mov dword [edi], eax
jmp 0x5d5e9a
mov eax, dword [esp + 0xa8]
call fcn.0045f750
mov dword [edi + 0xc], 2
lea eax, [0x68ca22]
mov dword [edi + 8], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea eax, [0x6f68e0]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edi
add esp, 0x9c
ret
mov byte [esi + edx], cl
lea edx, [ebp + 0x24]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x58]
cmp ecx, 0xffffffff
je 0x5d5ef3
cdq
idiv ecx
jmp 0x5d5ef5
neg eax
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x5c]
mov ecx, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x3c]
sub ebx, edx
mov ebp, dword [esp + 0x3c]
cmp ebp, edx
jg 0x5d5f2f
mov ebx, 1
jmp 0x5d5f3f
lea edi, [edx + 0x1a]
cmp ebp, edi
jl 0x5d5f3b
mov ebx, 0x1a
mov edi, dword [esp + 0x60]
cmp ecx, ebx
jl 0x5d5d2d
sub ecx, ebx
lea edi, [ebx - 0x24]
xchg edi, ebx
neg ebx
xchg edi, ebx
test edi, edi
je 0x5d604d
mov eax, ecx
cmp edi, 0xffffffff
je 0x5d5f66
cdq
idiv edi
jmp 0x5d5f68
xor edx, edx
mov eax, ecx
lea ecx, [edx + ebx]
cmp ecx, 0x1a
jae 0x5d5f78
lea ecx, [edx + ebx + 0x61]
jmp 0x5d5f89
lea ecx, [edx + ebx - 0x1a]
cmp ecx, 0xa
jae 0x5d6035
lea ecx, [edx + ebx + 0x16]
mov dword [esp + 0x58], edi
mov edx, dword [esp + 0x2c]
lea ebx, [edx + 1]
mov edi, dword [esp + 0x30]
cmp edi, ebx
jae 0x5d5edb
mov dword [esp + 0x54], eax
mov byte [esp + 0x22], cl
lea eax, [0x659160]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.00448460
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
mov edi, ecx
movzx ecx, byte [esp + 0x22]
jmp 0x5d5edb
mov dword [esp + 0x38], eax
mov eax, ecx
mov edx, 0xea0ea0eb
imul edx
add ecx, edx
sar ecx, 5
mov edx, dword [esp + 0x38]
lea eax, [edx + 0x24]
cmp ecx, 0x1c7
jg 0x5d5fed
jmp 0x5d5e03
call fcn.00433070
call fcn.00433070
lea eax, [0x658f60]
mov dword [esp], eax
lea eax, [0x6f63dc]
mov dword [esp + 4], eax
call fcn.00434250
lea eax, [0x658f60]
mov dword [esp], eax
lea eax, [0x6f63dc]
mov dword [esp + 4], eax
call fcn.00434250
call fcn.00433070
nop
call fcn.0045e340
jmp fcn.005d5810