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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5a2f81
sub esp, 0x84
mov ecx, dword [esp + 0x90]
cmp ecx, 1
jb 0x5a2f7a
lea edx, [ecx - 1]
mov dword [esp + 0x38], edx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 1
mov dword [esp + 0x54], edx
mov ebp, dword [esp + 0x8c]
lea esi, [ebp + edx]
mov dword [esp + 0x60], esi
mov eax, ebx
mov ebx, dword [esp + 0x88]
mov edi, dword [ebx + 0x10]
lea esi, [ebx + 0x10]
test edi, edi
je 0x5a2f43
mov dword [esp + 0x80], esi
mov dword [esp + 0x6c], edi
mov esi, dword [0x7703f0]
mov edx, dword [edi + 0x10]
test esi, esi
jne 0x5a2f03
mov dword [ebx + 0x10], edx
mov edx, eax
xor eax, eax
call fcn.0044c141
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], eax
mov byte [eax], 4
movzx ecx, word [ebx]
mov word [eax + 2], cx
lea ecx, [eax + 0x20]
test byte [ecx], al
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 2
mov esi, dword [0x7703f0]
lea edi, [eax + 0x14]
mov dword [esp + 0x7c], edi
test esi, esi
jne 0x5a2ece
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x90]
cmp ecx, 1
je 0x5a2ebe
mov esi, dword [esp + 0x54]
movzx esi, byte [ebp + esi]
xchg esi, eax
cmp al, 0x5e
xchg esi, eax
jne 0x5a2eae
lea edx, [ecx - 2]
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 1
mov ecx, dword [esp + 0x60]
add ecx, edx
movzx edx, word [ebx]
test dx, 4
jne 0x5a278a
mov edx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x18]
mov edi, dword [eax + 0x14]
lea ebx, [ebp + 2]
cmp ebx, edx
jg 0x5a2e2f
lea edx, [ebp + 2]
mov dword [eax + 0x18], edx
mov dword [edi + ebp*4], 0xa
mov dword [edi + ebp*4 + 4], 0xa
mov edx, 0xffffffff
mov dword [esp + 0x3c], edx
mov ebx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x18]
mov edi, dword [eax + 0x14]
mov dword [esp + 0x58], eax
mov eax, 1
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x58]
jmp 0x5a27cb
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
xor eax, eax
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x68]
mov edx, esi
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x3c]
test esi, esi
jne 0x5a2d13
mov dword [esp + 0x40], esi
mov dword [esp + 0x64], ecx
je 0x5a2d07
movzx edx, byte [ecx]
cmp dl, 0x2d
jne 0x5a2cfb
mov edx, dword [esp + 0x88]
movzx eax, word [edx]
test ax, 0x40
jne 0x5a280a
movzx eax, byte [esp + 0x37]
test al, al
je 0x5a2c10
mov dword [esp + 0x78], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
cmp esi, 2
jle 0x5a2830
movzx eax, byte [ecx]
cmp al, 0x5b
jne 0x5a2830
movzx eax, byte [ecx + 1]
cmp al, 0x3a
je 0x5a2b76
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.005a1e60
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
test edx, edx
jne 0x5a2b4b
test esi, esi
jne 0x5a27af
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
call fcn.005a18a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
test ecx, ecx
je 0x5a28d6
mov edi, ebp
mov ebp, eax
mov esi, ecx
mov ecx, ebx
mov ebx, edx
jmp 0x5a27af
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x10], ebp
call fcn.005a1740
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test ecx, ecx
jne 0x5a2b20
cmp edx, 2
jl 0x5a2945
movzx eax, byte [ebp]
cmp al, 0x2d
jne 0x5a2945
movzx eax, byte [ebp + 1]
lea ecx, [ebp + 1]
cmp al, 0x5d
jne 0x5a29d5
mov eax, ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x88]
movzx esi, word [ecx]
test si, 1
jne 0x5a29a3
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.005a3160
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
mov ebp, ecx
mov esi, edx
mov ebx, eax
mov ecx, dword [esp + 0x60]
jmp 0x5a27af
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.005a3280
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
jmp 0x5a2990
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea ecx, [edx - 1]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x10], edx
call fcn.005a1740
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test edx, edx
jne 0x5a2af5
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jl 0x5a2a38
mov edx, ebx
mov ebx, eax
mov eax, ecx
jmp 0x5a2947
mov eax, dword [esp + 0x40]
mov ecx, eax
sub eax, ebx
cmp eax, ecx
ja 0x5a2f6c
mov dword [esp + 0x40], eax
lea eax, [0x5fbde0]
mov dword [esp], eax
call fcn.0040e180
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov dword [eax + 4], 0x1d
mov ecx, dword [0x7703f0]
test ecx, ecx
jne 0x5a2add
lea ecx, [0x630e6f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7703f0]
lea edx, [eax + 8]
test ecx, ecx
jne 0x5a2ac7
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x65d7f0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x84
ret
mov dword [esp], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040e9f0
mov eax, dword [esp + 0x74]
jmp 0x5a2a96
mov dword [esp], eax
lea ecx, [0x630e6f]
mov dword [esp + 4], ecx
call fcn.0040e9f0
mov eax, dword [esp + 0x74]
jmp 0x5a2a7b
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
add esp, 0x84
ret
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x84
ret
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
add esp, 0x84
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.005a19f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test ecx, ecx
jne 0x5a2be5
test edi, edi
je 0x5a2bc5
mov ecx, ebx
mov ebx, ebp
mov ebp, esi
mov esi, edi
mov edi, edx
jmp 0x5a27af
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x78]
jmp 0x5a2830
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x84
ret
cmp esi, 1
je 0x5a2c22
movzx eax, byte [ecx + 1]
cmp al, 0x5d
je 0x5a280a
lea eax, [esi - 1]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00453470
mov eax, dword [esp + 0xc]
inc eax
mov ecx, dword [esp + 0x40]
cmp eax, ecx
ja 0x5a2f73
mov dword [esp + 0x54], eax
lea eax, [0x5fbde0]
mov dword [esp], eax
call fcn.0040e180
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov dword [eax + 4], 0x1d
mov ecx, dword [0x7703f0]
test ecx, ecx
jne 0x5a2ce3
lea ecx, [0x630e6f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7703f0]
lea edx, [eax + 8]
test ecx, ecx
jne 0x5a2ccd
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x65d7f0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x84
ret
mov dword [esp], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040e9f0
mov eax, dword [esp + 0x74]
jmp 0x5a2c9c
mov dword [esp], eax
lea ecx, [0x630e6f]
mov dword [esp + 4], ecx
call fcn.0040e9f0
mov eax, dword [esp + 0x74]
jmp 0x5a2c81
mov edx, dword [esp + 0x88]
jmp 0x5a280a
mov edx, dword [esp + 0x88]
jmp 0x5a280a
movzx edx, byte [ecx]
cmp dl, 0x5d
je 0x5a2d26
test esi, esi
mov edx, dword [esp + 0x3c]
jmp 0x5a27d3
movzx edx, byte [esp + 0x37]
test dl, dl
je 0x5a2d3a
test esi, esi
mov edx, dword [esp + 0x3c]
jmp 0x5a27d3
mov dword [eax + 0x18], ebp
mov dword [eax + 0x1c], ebx
lea edx, [esi - 1]
mov dword [esp + 0x38], edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
mov dword [esp + 0x60], ecx
mov edx, dword [0x7703f0]
test edx, edx
jne 0x5a2e1a
mov dword [eax + 0x14], edi
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.005a2f90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jl 0x5a2df9
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [0x7703f0]
test eax, eax
jne 0x5a2de3
mov dword [ebx + 0x14], edx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0059b910
mov eax, dword [esp + 0x60]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x84
ret
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040e9f0
mov ebx, dword [esp + 0x68]
jmp 0x5a2d9d
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005a3af0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
jmp 0x5a2d86
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0040e9f0
jmp 0x5a2d66
mov dword [esp + 0x54], esi
mov dword [esp + 0x78], ecx
lea eax, [0x5ea7c0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00438d30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x1c], edx
mov edx, dword [0x7703f0]
test edx, edx
jne 0x5a2e88
mov dword [ebx + 0x14], eax
mov esi, dword [esp + 0x54]
mov ebp, ecx
mov edi, eax
mov eax, ebx
mov ecx, dword [esp + 0x78]
jmp 0x5a2775
mov dword [esp + 0x70], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e9f0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x68]
jmp 0x5a2e75
mov esi, edx
mov ecx, dword [esp + 0x60]
mov edx, 1
jmp 0x5a278f
mov esi, edx
mov ecx, dword [esp + 0x60]
mov edx, 1
jmp 0x5a278f
mov dword [esp], edi
mov dword [esp + 4], ecx
call fcn.0040e9f0
mov ecx, dword [esp + 0x90]
cmp ecx, 1
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x7c]
jmp 0x5a272a
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040e9f0
lea eax, [0x616640]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0040ef00
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
jmp 0x5a26e3
lea eax, [0x616640]
mov dword [esp], eax
call fcn.0040e180
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
jmp 0x5a26e7
call fcn.00425d00
ud2
call fcn.00425d00
ud2
call fcn.00425d00
ud2
call fcn.0044a6e0
jmp fcn.005a2650