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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a09ad
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x68], eax
mov byte [esp + 0x3b], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0xe6e110]
mov dword [esp], eax
call fcn.004665a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x630b60]
cmp ecx, edx
jne 0x5a098d
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x5a09c0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x68], ecx
mov byte [esp + 0x3b], 1
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
xor ebx, ebx
jmp 0x5a05e7
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
lea ebx, [esi + ebp]
mov ecx, dword [esp + 0x48]
sub ecx, ebp
mov eax, dword [esp + 0x44]
sub eax, ebp
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ebp, ecx
mov ecx, esi
mov esi, dword [esp + 0x4c]
lea edx, [esi + ebp]
mov dword [esp + 0x3c], ebx
test eax, eax
je 0x5a07ce
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
movzx ecx, byte [esp + 0x74]
mov byte [esp + 4], cl
call fcn.0059ffe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jg 0x5a0622
mov eax, ecx
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
cmp ebx, 5
jge 0x5a0666
lea eax, [0x63efa0]
mov dword [esp], eax
mov dword [esp + 4], 5
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
call fcn.00447340
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov ebx, 5
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 5
mov dword [esp + 0x58], ebx
movzx ebx, byte [esp + 0x74]
mov byte [edx], bl
mov edx, dword [esp + 0x70]
movzx ebp, word [edx + 0x24]
test bp, bp
jne 0x5a0691
mov ebp, 0x301
jmp 0x5a069d
cmp bp, 0x304
jne 0x5a069d
mov ebp, 0x303
mov esi, dword [esp + 0x50]
mov edi, ebp
shr bp, 8
xchg ebp, eax
mov byte [esi + 1], al
xchg ebp, eax
mov ebp, dword [esp + 0x50]
xchg edi, eax
mov byte [ebp + 2], al
xchg edi, eax
mov ebp, dword [esp + 0x50]
mov esi, eax
sar eax, 8
mov byte [ebp + 3], al
mov eax, dword [esp + 0x50]
xchg esi, ebx
mov byte [eax + 4], bl
xchg esi, ebx
mov eax, dword [edx + 0x28]
mov ebp, dword [eax]
mov eax, dword [eax + 4]
test ebp, ebp
jne 0x5a06e4
mov ebp, dword [0xe72da0]
mov eax, dword [0xe72da4]
lea ecx, [edx + 0x120]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
call fcn.0059c4e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
test ebx, ebx
jne 0x5a07a4
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.005a0240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x5a05be
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], esi
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
movzx ecx, byte [esp + 0x74]
cmp cl, 0x14
jne 0x5a0949
mov ecx, dword [esp + 0x70]
cmp word [ecx + 0x24], 0x304
je 0x5a0949
mov ebp, dword [ecx + 0x15c]
mov eax, dword [ecx + 0x160]
test ebp, ebp
je 0x5a08df
cmp word [ecx + 0x130], 0x304
je 0x5a08df
mov dword [ecx + 0x134], ebp
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a0827
mov dword [ecx + 0x138], eax
jmp 0x5a0832
lea edi, [ecx + 0x138]
call fcn.0045efc0
mov eax, dword [ecx + 0x168]
mov edx, dword [ecx + 0x164]
mov dword [ecx + 0x13c], edx
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a0856
mov dword [ecx + 0x140], eax
jmp 0x5a0861
lea edi, [ecx + 0x140]
call fcn.0045efc0
mov dword [ecx + 0x15c], 0
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a0881
mov dword [ecx + 0x160], 0
jmp 0x5a088e
lea edi, [ecx + 0x160]
xor eax, eax
call fcn.0045efc0
mov dword [ecx + 0x164], 0
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a08ae
mov dword [ecx + 0x168], 0
jmp 0x5a08bb
lea edi, [ecx + 0x168]
xor eax, eax
call fcn.0045efc0
lea eax, [ecx + 0x144]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0045f5e0
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x3c]
xor edx, edx
xor eax, eax
jmp 0x5a08f4
mov eax, 0x50
lea ebp, [0x819360]
lea eax, [ebp + eax*8]
lea edx, [0x6d3364]
test edx, edx
je 0x5a0949
mov ebp, dword [0x6d3368]
lea esi, [0x6d3364]
cmp edx, esi
jne 0x5a0977
movzx eax, byte [eax]
mov dword [esp], ecx
mov byte [esp + 4], al
call fcn.0059fd00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], edx
mov dword [esp + 4], ebp
lea eax, [0x645ae0]
mov dword [esp + 8], eax
call fcn.00408690
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x63e720]
mov dword [esp + 8], eax
call fcn.004085f0
nop
call fcn.00432a20
add esp, 0x6c
ret
call fcn.0045dbb0
jmp fcn.005a04f0