Function at 0x5afe40
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 0x5b070d
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
test edx, edx
je 0x5b0704
movzx edx, byte [edx + 0x68]
test dl, dl
je 0x5b0704
mov edx, 1
mov dword [esp + 0x40], ecx
mov byte [eax + 4], dl
xor edx, edx
xor ebx, ebx
jmp 0x5afe96
mov ebx, esi
mov byte [esp + 0x16], bl
mov byte [esp + 0x15], dl
mov eax, dword [ecx + 0x74]
mov dword [esp], eax
call fcn.005a3230
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
test edx, edx
je 0x5b06f9
je 0x5b06f2
mov ebp, dword [edx + 4]
je 0x5b06eb
mov esi, dword [edx + 4]
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0045cbba
lea ecx, [0x673e00]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebx
nop
movzx ebp, byte [0x7e31c5]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5b06aa
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ebp, [0x6cb650]
cmp ebp, edx
jne 0x5b0691
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebp
je 0x5b059c
test edx, edx
jne 0x5b0587
movzx eax, byte [0x7e31c5]
test al, al
jne 0x5b04ea
movzx eax, byte [esp + 0x15]
test al, al
je 0x5b0461
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5b0456
mov ebp, dword [eax + 8]
cmp ebp, 0x9efdc81d
ja 0x5b02d6
cmp ebp, 0xee9413f
jbe 0x5b021c
cmp ebp, 0x69a2c8c5
jne 0x5b01b7
lea ebp, [0x6cca30]
cmp eax, ebp
jne 0x5b013f
lea edx, [0x6cb610]
lea ebx, [0x6c6ac8]
movzx esi, byte [esp + 0x16]
xor edi, edi
test edx, edx
jne 0x5b003b
mov eax, dword [esp + 0xa0]
movzx edx, byte [eax + 4]
test dl, dl
je 0x5b000b
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b000b
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5b0015
mov edx, 1
jmp 0x5afe94
xchg esi, eax
mov byte [esp + 0x17], al
xchg esi, eax
mov dword [esp], ecx
call fcn.005ab6b0
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x40]
lea ebp, [0x6cca30]
movzx esi, byte [esp + 0x17]
jmp 0x5b000b
movzx ebp, byte [0x7e31c5]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5b005d
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ebx
add esp, 0x9c
ret
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], edx
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.005a7480
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409f80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5b0138
mov edx, dword [ecx + 4]
lea edi, [esp + 0x84]
mov ebx, eax
xor eax, eax
call fcn.0045cbba
lea ecx, [0x673e00]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x88], ecx
lea ecx, [0x643700]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x98], ecx
nop
movzx edx, byte [0x7e31c5]
test dl, dl
jne 0x5b0101
mov edx, dword [esp + 0x1c]
mov ebx, ecx
jmp 0x5b0048
lea eax, [0x68bc8c]
mov dword [esp], eax
mov dword [esp + 4], 0x44
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.0057b0a0
mov ecx, dword [esp + 0x2c]
jmp 0x5b00f6
mov edx, ecx
jmp 0x5b009c
test eax, eax
je 0x5b01b3
mov esi, dword [eax + 4]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
nop
lea ecx, [0x687d7d]
mov dword [esp], ecx
mov dword [esp + 4], 0x2b
lea edx, [esp + 0x44]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0057b0a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
lea ebp, [0x6cca30]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
movzx esi, byte [esp + 0x16]
xor edi, edi
jmp 0x5affec
mov esi, eax
jmp 0x5b0146
cmp ebp, 0x9efdc81d
jne 0x5b0212
lea ebp, [0x6cca50]
cmp eax, ebp
jne 0x5b0205
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.005b2bb0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
lea ebp, [0x6cca30]
movzx esi, byte [esp + 0x16]
mov edi, 1
jmp 0x5affec
test eax, eax
lea ebp, [0x6cca30]
jmp 0x5b0141
test eax, eax
lea ebp, [0x6cca50]
jmp 0x5b0207
cmp ebp, 0x28d5a11
jne 0x5b0277
lea ebp, [0x6cc950]
cmp eax, ebp
jne 0x5b026a
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.005b1ec0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
lea ebp, [0x6cca30]
movzx esi, byte [esp + 0x16]
mov edi, 1
jmp 0x5affec
test eax, eax
lea ebp, [0x6cca30]
jmp 0x5b0141
cmp ebp, 0xee9413f
jne 0x5b02cc
lea ebp, [0x6cca70]
cmp ebp, eax
jne 0x5b02c2
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.005b2870
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
lea ebp, [0x6cca30]
movzx esi, byte [esp + 0x16]
xor edi, edi
jmp 0x5affec
test eax, eax
lea ebp, [0x6cc950]
jmp 0x5b026c
test eax, eax
lea ebp, [0x6cca70]
jmp 0x5b02c4
cmp ebp, 0xa833b76b
ja 0x5b039c
cmp ebp, 0x9f5a1761
jne 0x5b033d
lea ebp, [0x6cc970]
cmp eax, ebp
jne 0x5b0330
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.005b2780
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
lea ebp, [0x6cca30]
movzx esi, byte [esp + 0x16]
mov edi, 1
jmp 0x5affec
test eax, eax
lea ebp, [0x6cca30]
jmp 0x5b0141
cmp ebp, 0xa833b76b
jne 0x5b0392
lea ebp, [0x6cc9f0]
cmp eax, ebp
jne 0x5b0388
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.005b2d50
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
lea ebp, [0x6cca30]
movzx esi, byte [esp + 0x16]
xor edi, edi
jmp 0x5affec
test eax, eax
lea ebp, [0x6cc970]
jmp 0x5b0332
test eax, eax
lea ebp, [0x6cc9f0]
jmp 0x5b038a
cmp ebp, 0xcaf0565e
jne 0x5b03f7
lea ebp, [0x6cc9d0]
cmp eax, ebp
jne 0x5b03ea
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.005b0720
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
lea ebp, [0x6cca30]
mov esi, 1
mov edi, 1
jmp 0x5affec
test eax, eax
lea ebp, [0x6cc970]
jmp 0x5b0332
cmp ebp, 0xd47d69d1
jne 0x5b044c
lea ebp, [0x6ccab0]
cmp eax, ebp
jne 0x5b0442
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.005b2a50
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
lea ebp, [0x6cca30]
movzx esi, byte [esp + 0x16]
xor edi, edi
jmp 0x5affec
test eax, eax
lea ebp, [0x6cc9d0]
jmp 0x5b03ec
test eax, eax
lea ebp, [0x6ccab0]
jmp 0x5b0444
lea ebp, [0x6cca30]
jmp 0x5b0141
lea eax, [0x6cca70]
mov ebp, dword [esp + 0x18]
cmp eax, ebp
je 0x5aff98
test ebp, ebp
je 0x5b04e6
mov eax, dword [ebp + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
nop
lea eax, [0x689dcc]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0057b0a0
lea eax, [0x6cb610]
mov dword [esp + 0xa4], eax
lea eax, [0x6c6ac4]
mov dword [esp + 0xa8], eax
add esp, 0x9c
ret
mov eax, ebp
jmp 0x5b047a
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.005a7480
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409f80
mov eax, dword [esp + 8]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ecx, [0x643700]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
nop
movzx eax, byte [0x7e31c5]
test al, al
jne 0x5b0551
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
jmp 0x5aff8b
lea eax, [0x682970]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea ecx, [esp + 0x54]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0057b0a0
lea ecx, [0x643700]
jmp 0x5b0540
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ebx
add esp, 0x9c
ret
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp], ecx
mov dword [esp + 4], esi
mov byte [esp + 8], 0
call fcn.005af650
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5b05e5
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x40]
lea ebp, [0x6cca30]
movzx edx, byte [esp + 0x15]
movzx esi, byte [esp + 0x16]
jmp 0x5afe94
mov dword [esp + 0x38], eax
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.005b2f70
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov byte [esp + 8], 1
call fcn.005af650
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5b0682
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
lea eax, [0x6cb650]
mov dword [esp], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040a0f0
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.005b2490
jmp 0x5b05c5
mov edx, dword [esp + 0x40]
mov ebx, dword [edx + 0x74]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
jmp 0x5b0638
mov eax, 0
mov esi, 0
mov edi, 0
mov ebp, 0
jmp 0x5aff5e
lea eax, [0x689fce]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea ecx, [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.0057b0a0
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
jmp 0x5aff25
mov esi, edx
jmp 0x5afee3
mov ebp, edx
jmp 0x5afeda
xor eax, eax
mov ecx, dword [esp + 0x40]
jmp 0x5aff25
movzx edx, byte [ecx + 0x14]
jmp 0x5afe87
call fcn.0045b380
jmp fcn.005afe40