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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x5a4e65
sub esp, 0xfc
mov eax, 0
mov dword [esp + 0xf8], eax
mov byte [esp + 0x36], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x5a4758
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a474a
lea eax, [0xe73b00]
mov dword [ecx + 0x28], eax
jmp 0x5a4758
lea edi, [ecx + 0x28]
lea eax, [0xe73b00]
call fcn.0045efc0
mov byte [ecx + 0x30], 0
mov dword [esp], ecx
call fcn.005a3920
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], ebx
test ebp, ebp
jne 0x5a4e52
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov ebp, dword [esp + 0x100]
mov dword [ebp + 0x74], ebx
mov ebx, dword [0xe996c0]
test ebx, ebx
jne 0x5a47b1
mov dword [ebp + 0x70], edx
jmp 0x5a47bf
lea edi, [ebp + 0x70]
mov ebx, eax
mov eax, edx
call fcn.0045efc0
mov eax, ebx
mov dword [esp + 0x5c], eax
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.005a4ed0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
test ebx, ebx
jne 0x5a4e4b
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], ebp
test ebp, ebp
je 0x5a48ab
test eax, eax
je 0x5a48a0
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0045f0bb
lea ecx, [0x5a4e70]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ebp
lea ebx, [esp + 0x84]
mov dword [esp + 0xf8], ebx
mov byte [esp + 0x36], 1
mov eax, 1
jmp 0x5a48b4
mov ecx, dword [esp + 0x100]
xor eax, eax
jmp 0x5a48b4
mov ecx, dword [esp + 0x100]
xor eax, eax
mov byte [esp + 0x37], al
mov dword [esp], ecx
lea edx, [0x6d3958]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.005a0a30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x5a4923
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5a491c
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005a0d00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
test edx, edx
je 0x5a498f
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5a4988
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
lea eax, [0x64a0e0]
cmp ebx, eax
je 0x5a499e
mov ebp, 0
mov dword [esp + 0x50], ebp
jne 0x5a4d80
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.005a5fa0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5a49fc
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5a49f5
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
mov eax, dword [esp + 0x100]
mov ecx, dword [eax + 0x28]
mov dword [esp], ecx
mov byte [esp + 4], 1
call fcn.0059aa80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5a4a23
xor ecx, ecx
jmp 0x5a4a26
movzx ecx, word [ecx]
mov edx, dword [esp + 0x50]
mov ebx, dword [edx + 0x18]
add ebx, 0xffffffe8
neg ebx
sar ebx, 0x1f
and ebx, 0x18
add ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
cmp ebp, 0x20
jne 0x5a4a61
cmp dword [ebx], 0x4e574f44
jne 0x5a4a5e
cmp dword [ebx + 4], 0x1445247
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ebp, 0x20
jmp 0x5a4a66
cmp ebp, 0x20
mov esi, 0
jne 0x5a4a7c
cmp dword [ebx], 0x4e574f44
jne 0x5a4a7c
cmp dword [ebx + 4], 0x445247
sete bl
jmp 0x5a4a7e
xor ebx, ebx
cmp cx, 0x304
jne 0x5a4aa0
mov ebp, dword [esp + 0x100]
cmp word [ebp + 0x24], 0x303
ja 0x5a4aa7
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5a4aba
test bl, bl
jne 0x5a4aba
jmp 0x5a4aa7
mov ebp, dword [esp + 0x100]
cmp cx, 0x303
jne 0x5a4b1f
cmp word [ebp + 0x24], 0x302
ja 0x5a4b1f
test bl, bl
je 0x5a4b1f
mov dword [esp], ebp
mov byte [esp + 4], 0x2f
call fcn.0059fed0
lea eax, [0x647880]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x54
lea ecx, [0x686970]
mov dword [eax], ecx
lea ecx, [0x6d2f90]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5a4b18
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
cmp word [ebp + 0x24], 0x304
jne 0x5a4c0e
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0045f0a8
mov dword [esp + 0x98], ebp
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc8], ecx
lea ecx, [esp + 0x98]
mov dword [esp], ecx
call fcn.005a99b0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
movzx ecx, byte [esp + 0x37]
test cl, 1
je 0x5a4c07
and ecx, 0xfffffffe
mov byte [esp + 0x36], cl
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
lea eax, [0x6607e0]
mov dword [esp], eax
call fcn.0040af90
mov edi, dword [esp + 4]
mov eax, dword [0xe996c0]
test eax, eax
jne 0x5a4c35
mov ecx, dword [esp + 0x100]
mov dword [edi], ecx
jmp 0x5a4c43
mov eax, dword [esp + 0x100]
call fcn.0045efc0
mov ecx, eax
mov edx, dword [esp + 0x104]
mov dword [edi + 4], edx
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5a4c78
mov eax, dword [esp + 0x108]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x58], eax
jmp 0x5a4cb1
lea edx, [edi + 8]
mov eax, dword [esp + 0x108]
mov ebx, edi
mov edi, edx
call fcn.0045efc0
lea edi, [ebx + 0xc]
mov eax, dword [esp + 0x50]
call fcn.0045efc0
lea edi, [ebx + 0x10]
mov eax, dword [esp + 0x5c]
call fcn.0045efc0
lea edi, [ebx + 0x58]
mov eax, dword [esp + 0x4c]
call fcn.0045efc0
mov edi, ebx
mov dword [esp + 0x58], edi
mov dword [esp], edi
call fcn.005a60e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x5a4cfe
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5a4cf7
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5a4d47
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x5a4d47
mov ebx, dword [esp + 0x4c]
cmp ecx, ebx
je 0x5a4d47
mov edx, dword [esp + 0x100]
mov edx, dword [edx + 0x28]
mov ebx, dword [edx + 0x84]
mov edx, dword [edx + 0x88]
mov ebx, dword [ebx + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call ebx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5a4d79
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
mov dword [esp + 0x70], ebx
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.0059fed0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
lea eax, [0x64a0e0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x80], eax
lea eax, [0x68626e]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b2970
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5a4e44
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
add esp, 0xfc
ret
add esp, 0xfc
ret
call fcn.0045dbb0
jmp fcn.005a46e0