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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x5af60e
sub esp, 0xf0
mov eax, 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
lea eax, [esp + 8]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xf4]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x4c], edx
mov ebx, dword [ecx + 0x28]
xor ebp, ebp
jmp 0x5af422
mov edx, dword [esp + 0x3c]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jge 0x5af3ff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x2c]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
call edx
lea edi, [esp + 0xbc]
mov esi, dword [esp + 0x88]
call fcn.0044de4e
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x50]
mov ebx, dword [edx + 0xd8]
mov dword [esp + 4], ebx
lea ebx, [0x749860]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00408d60
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
call fcn.004aa340
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004aacd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5af084
mov edx, dword [eax + 8]
cmp edx, 0x95c8f315
jne 0x5af31e
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea edx, [0x7620c0]
cmp edx, eax
jne 0x5af3e6
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 8]
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebx
jne 0x5af31e
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x5af57b
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebx
mov dword [esp], edx
lea eax, [esp + 0xac]
mov dword [esp + 4], eax
call fcn.0040bfc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call fcn.005af620
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5af27c
mov edx, dword [esp + 0x6c]
mov edx, dword [edx + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5af084
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
add esp, 0xf0
ret
lea eax, [0x744900]
mov dword [esp], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 4], ecx
call fcn.0040c190
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
test edx, edx
je 0x5af23f
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
mov eax, dword [edx + 0x10]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5af309
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5af2f4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
jmp 0x5af23f
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
add esp, 0xf0
ret
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
add esp, 0xf0
ret
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea edx, [0x761700]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0040c9e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x14]
test dl, dl
jne 0x5af39a
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x5af084
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5af084
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
add esp, 0xf0
ret
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x5af502
test ecx, ecx
je 0x5af3ad
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5af084
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
add esp, 0xf0
ret
mov ebp, 0
mov esi, 0
mov ebx, 0
mov edi, 0
jmp 0x5af1a9
mov esi, dword [esp + 0x84]
lea ebx, [esi + 0x10]
mov esi, dword [esp + 0x48]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x4c]
cmp ebp, edx
jge 0x5af4e5
mov dword [esp + 0x48], ebp
mov dword [esp + 0x84], ebx
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x80], ecx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x7c], edx
test esi, esi
je 0x5af452
mov esi, dword [esi + 4]
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.004ae020
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004ad550
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x50]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
cmp eax, 0x19
jne 0x5af5f4
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x64]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
xor ecx, ecx
jmp 0x5af08f
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
add esp, 0xf0
ret
mov dword [esp], 0
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x7ba97f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x12
call fcn.0043cb30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
lea eax, [0x744900]
mov dword [esp], eax
lea eax, [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.0040c190
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004277b0
ud2
mov dword [esp], 0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea eax, [0x7ba97f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x12
call fcn.0043cb30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea eax, [0x744900]
mov dword [esp], eax
lea eax, [esp + 0x94]
mov dword [esp + 4], eax
call fcn.0040c190
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004277b0
ud2
lea eax, [0x744900]
mov dword [esp], eax
lea eax, [0x7ff660]
mov dword [esp + 4], eax
call fcn.004277b0
ud2
call fcn.0044be50
jmp fcn.005af020