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

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d2e69
sub esp, 0x58
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x5d26e6
cmp ecx, 2
jl 0x5d26b6
lea edx, [ecx - 2]
mov ebx, dword [esp + 0x5c]
movzx ebp, word [ebx]
rol bp, 8
movzx ebp, bp
nop
cmp ebp, edx
jne 0x5d2686
lea edx, [0x8485c0]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov edx, dword [esp + 0x64]
mov eax, 2
jmp 0x5d2727
mov eax, dword [0x81cb54]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x6db880]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov eax, dword [0x81cb48]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x6db754]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x58
ret
lea eax, [0x8485c0]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x58
ret
movzx ebp, word [ebx + ebp]
rol bp, 8
movzx ebp, bp
lea eax, [eax + ebp + 4]
mov edx, dword [esp + 0x64]
cmp ecx, eax
jle 0x5d2e18
lea ebp, [eax + 2]
cmp ecx, ebp
jl 0x5d2de8
cmp ecx, eax
jb 0x5d2e63
mov esi, ecx
sub esi, eax
sub edx, eax
mov dword [esp + 0x28], edx
neg edx
sar edx, 0x1f
and edx, eax
lea edi, [ebx + edx]
cmp esi, 1
jbe 0x5d2e57
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], edi
movzx edx, word [ebx + edx]
rol dx, 8
cmp dx, 0xe
ja 0x5d2a78
test dx, dx
je 0x5d2980
cmp dx, 0xa
je 0x5d288f
cmp dx, 0xe
jne 0x5d2a93
lea eax, [0x65dee0]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov dword [eax], 0
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call fcn.005d4a80
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d27f1
mov edx, dword [esp + 0x14]
lea esi, [0x6dc218]
jmp 0x5d2872
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
jae 0x5d2838
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x65d2a0]
mov dword [esp + 0x10], eax
call fcn.0044fab0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebx
lea edx, [ebp + ebx*8 - 8]
lea esi, [0x6dc218]
mov dword [edx], esi
mov edx, dword [0x8489b0]
lea ebx, [ebp + ebx*8 - 4]
test edx, edx
jne 0x5d285c
mov edx, dword [esp + 0x48]
jmp 0x5d286c
call fcn.0046a610
mov edx, dword [esp + 0x48]
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, edx
mov edx, eax
mov eax, dword [esp + 0x20]
jmp 0x5d2d5e
lea eax, [0x65de80]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov dword [eax], 0
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call fcn.005d3c10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d28e2
mov edx, dword [esp + 0x14]
lea esi, [0x6dc2c0]
jmp 0x5d2963
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
jae 0x5d2929
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x65d2a0]
mov dword [esp + 0x10], eax
call fcn.0044fab0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebx
lea edx, [ebp + ebx*8 - 8]
lea esi, [0x6dc2c0]
mov dword [edx], esi
mov edx, dword [0x8489b0]
lea ebx, [ebp + ebx*8 - 4]
test edx, edx
jne 0x5d294d
mov edx, dword [esp + 0x44]
jmp 0x5d295d
call fcn.0046a610
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, edx
mov edx, eax
mov eax, dword [esp + 0x20]
jmp 0x5d2d5e
lea eax, [0x65de20]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call fcn.005d3780
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d29da
mov edx, dword [esp + 0x14]
lea esi, [0x6dc2dc]
jmp 0x5d2a5b
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
jae 0x5d2a21
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x65d2a0]
mov dword [esp + 0x10], eax
call fcn.0044fab0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebx
lea edx, [ebp + ebx*8 - 8]
lea esi, [0x6dc2dc]
mov dword [edx], esi
mov edx, dword [0x8489b0]
lea ebx, [ebp + ebx*8 - 4]
test edx, edx
jne 0x5d2a45
mov edx, dword [esp + 0x40]
jmp 0x5d2a55
call fcn.0046a610
mov edx, dword [esp + 0x40]
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, edx
mov edx, eax
mov eax, dword [esp + 0x20]
jmp 0x5d2d5e
cmp dx, 0x10
je 0x5d2c72
cmp dx, 0x17
je 0x5d2b87
cmp dx, 0xff01
je 0x5d2a9c
xor edx, edx
xor edi, edi
jmp 0x5d2d5e
lea eax, [0x65e000]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call fcn.005d30e0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d2ae9
mov edx, dword [esp + 0x14]
lea esi, [0x6dc1e0]
jmp 0x5d2b6a
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
jae 0x5d2b30
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x65d2a0]
mov dword [esp + 0x10], eax
call fcn.0044fab0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebx
lea edx, [ebp + ebx*8 - 8]
lea esi, [0x6dc1e0]
mov dword [edx], esi
mov edx, dword [0x8489b0]
lea ebx, [ebp + ebx*8 - 4]
test edx, edx
jne 0x5d2b54
mov edx, dword [esp + 0x3c]
jmp 0x5d2b64
call fcn.0046a610
mov edx, dword [esp + 0x3c]
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, edx
mov edx, eax
mov eax, dword [esp + 0x20]
jmp 0x5d2d5e
lea eax, [0x65dfa0]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call fcn.005d4870
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d2bd4
mov edx, dword [esp + 0x14]
lea esi, [0x6dc1fc]
jmp 0x5d2c55
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
jae 0x5d2c1b
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x65d2a0]
mov dword [esp + 0x10], eax
call fcn.0044fab0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebx
lea edx, [ebp + ebx*8 - 8]
lea esi, [0x6dc1fc]
mov dword [edx], esi
mov edx, dword [0x8489b0]
lea ebx, [ebp + ebx*8 - 4]
test edx, edx
jne 0x5d2c3f
mov edx, dword [esp + 0x38]
jmp 0x5d2c4f
call fcn.0046a610
mov edx, dword [esp + 0x38]
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, edx
mov edx, eax
mov eax, dword [esp + 0x20]
jmp 0x5d2d5e
lea eax, [0x65df40]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov dword [eax], 0
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call fcn.005d2360
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d2cc5
mov edx, dword [esp + 0x14]
lea esi, [0x6dc250]
jmp 0x5d2d46
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
jae 0x5d2d0c
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x65d2a0]
mov dword [esp + 0x10], eax
call fcn.0044fab0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebx
lea edx, [ebp + ebx*8 - 8]
lea esi, [0x6dc250]
mov dword [edx], esi
mov edx, dword [0x8489b0]
lea ebx, [ebp + ebx*8 - 4]
test edx, edx
jne 0x5d2d30
mov edx, dword [esp + 0x34]
jmp 0x5d2d40
call fcn.0046a610
mov edx, dword [esp + 0x34]
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, edx
mov edx, eax
mov eax, dword [esp + 0x20]
test edx, edx
jne 0x5d2dc4
lea edx, [eax + 4]
cmp ecx, edx
jl 0x5d2d94
cmp ecx, ebp
jb 0x5d2e50
lea edx, [esi - 2]
mov esi, dword [esp + 0x28]
add esi, 0xfffffffe
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebp, esi
cmp edx, 1
ja 0x5d2714
jmp 0x5d2e44
mov eax, dword [0x81cb48]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x6db754]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edi
add esp, 0x58
ret
mov eax, dword [0x81cb48]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x6db754]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x58
ret
mov eax, 1
mov ecx, edx
call fcn.0046a670
mov eax, ebp
call fcn.0046a6d0
mov eax, 1
mov ecx, esi
call fcn.0046a670
call fcn.0046a6d0
nop
call fcn.00469200
jmp fcn.005d2620