Function at 0x5a5090
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x5a5ba1
sub esp, 0xd8
lea edi, [esp + 0xe8]
xor eax, eax
call fcn.00465fe1
lea edi, [esp + 0x9c]
call fcn.00465fe1
mov ecx, dword [esp + 0xe0]
cmp ecx, 0x14
jl 0x5a5aad
mov edx, dword [esp + 0xdc]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x9c], bx
lea ebx, [ecx - 2]
cmp ebx, 1
jbe 0x5a5b94
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x9e], bx
lea ebx, [ecx - 4]
cmp ebx, 3
jbe 0x5a5b88
lea ebx, [ecx - 8]
movzx ebp, byte [edx + 7]
mov esi, ebx
movzx ebx, byte [edx + 6]
shl ebx, 8
or ebp, ebx
movzx ebx, byte [edx + 5]
shl ebx, 0x10
or ebp, ebx
movzx ebx, byte [edx + 4]
shl ebx, 0x18
or ebx, ebp
cmp esi, 3
jbe 0x5a5b7c
lea ebp, [ecx - 0xc]
mov esi, ebx
movzx ebx, byte [edx + 0xb]
mov edi, ebp
movzx ebp, byte [edx + 0xa]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [edx + 9]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [edx + 8]
shl ebp, 0x18
or ebp, ebx
cmp edi, 3
jbe 0x5a5b70
lea ebx, [ecx - 0x10]
mov dword [esp + 0x44], ebx
mov edi, ebp
movzx ebp, byte [edx + 0xf]
movzx ebx, byte [edx + 0xe]
shl ebx, 8
or ebp, ebx
movzx ebx, byte [edx + 0xd]
shl ebx, 0x10
or ebp, ebx
movzx ebx, byte [edx + 0xc]
shl ebx, 0x18
or ebx, ebp
mov ebp, dword [esp + 0x44]
cmp ebp, 3
jbe 0x5a5b64
mov dword [esp + 0x3c], ebx
movzx ebp, byte [edx + 0x13]
movzx ebx, byte [edx + 0x12]
shl ebx, 8
or ebp, ebx
movzx ebx, byte [edx + 0x11]
shl ebx, 0x10
or ebp, ebx
movzx ebx, byte [edx + 0x10]
shl ebx, 0x18
or ebx, ebp
mov dword [esp + 0x38], ebx
test esi, esi
je 0x5a53da
cmp ecx, esi
jl 0x5a530e
jb 0x5a5b5d
mov dword [esp + 0x48], edi
lea edi, [esp + 0x7c]
call fcn.00465fe8
mov ecx, dword [esp + 0xe4]
sub ecx, esi
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, esi
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0xe0]
sub ecx, esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.005a5f20
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
lea edi, [esp + 0x7c]
lea esi, [esp + 0xc]
call fcn.004664b0
lea edi, [esp + 0xa0]
lea esi, [esp + 0x7c]
call fcn.004664b0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x5a52f3
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
test edx, edx
je 0x5a527a
mov edx, dword [edx + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
lea eax, [0x6f3ecf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe8]
lea esi, [esp + 0x9c]
call fcn.0046646a
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
add esp, 0xd8
ret
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x48]
jmp 0x5a53da
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], esi
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x7011c8]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe8]
lea esi, [esp + 0x9c]
call fcn.0046646a
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
add esp, 0xd8
ret
test edi, edi
je 0x5a55de
cmp ecx, edi
jl 0x5a5512
jb 0x5a5b56
mov eax, dword [esp + 0xe4]
sub eax, edi
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, edi
add eax, edx
mov dword [esp], eax
sub ecx, edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.005a3da0
movzx eax, byte [esp + 0xc]
movzx ecx, byte [esp + 0xd]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x24]
mov byte [esp + 0xc0], al
mov byte [esp + 0xc1], cl
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebp
test esi, esi
je 0x5a54fb
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x5a5482
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
lea eax, [0x6f3ecf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe8]
lea esi, [esp + 0x9c]
call fcn.0046646a
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
add esp, 0xd8
ret
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0x38]
jmp 0x5a55de
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], edi
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x7011c8]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe8]
lea esi, [esp + 0x9c]
call fcn.0046646a
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
add esp, 0xd8
ret
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5a5833
cmp ecx, eax
jl 0x5a5767
lea eax, [0x6c7f80]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jb 0x5a5b4f
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xe4]
sub eax, edx
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, edx
mov esi, dword [esp + 0xdc]
add eax, esi
mov dword [esp], eax
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.005a3da0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0xc]
movzx edx, byte [esp + 0xd]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x60]
mov byte [edi], cl
mov byte [edi + 1], dl
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebp
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x5a5697
mov dword [edi + 4], eax
jmp 0x5a56a5
lea ecx, [edi + 4]
mov edx, edi
mov edi, ecx
call fcn.00465d80
mov edi, edx
test esi, esi
je 0x5a5749
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x5a56ca
mov edi, dword [eax + 4]
jmp 0x5a56cc
mov edi, eax
mov dword [esp + 0x64], edi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
lea eax, [0x6f3ecf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe8]
lea esi, [esp + 0x9c]
call fcn.0046646a
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
add esp, 0xd8
ret
mov dword [esp + 0xd0], edi
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0x38]
jmp 0x5a5833
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x7011c8]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe8]
lea esi, [esp + 0x9c]
call fcn.0046646a
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
add esp, 0xd8
ret
test ebx, ebx
je 0x5a5a72
cmp ecx, ebx
jl 0x5a59a6
lea eax, [0x6c7f80]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jb 0x5a5b48
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xe4]
sub eax, edx
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, edx
mov ebp, dword [esp + 0xdc]
add eax, ebp
mov dword [esp], eax
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.005a3da0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0xc]
movzx edx, byte [esp + 0xd]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x5c]
mov byte [edi], cl
mov byte [edi + 1], dl
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebp
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x5a58e8
mov dword [edi + 4], eax
jmp 0x5a58f6
lea ecx, [edi + 4]
mov edx, edi
mov edi, ecx
call fcn.00465d80
mov edi, edx
test esi, esi
je 0x5a599a
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x5a591b
mov edi, dword [eax + 4]
jmp 0x5a591d
mov edi, eax
mov dword [esp + 0x64], edi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
lea eax, [0x6f3ecf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe8]
lea esi, [esp + 0x9c]
call fcn.0046646a
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
add esp, 0xd8
ret
mov dword [esp + 0xd4], edi
jmp 0x5a5a72
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], ebx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x7011c8]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe8]
lea esi, [esp + 0x9c]
call fcn.0046646a
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
add esp, 0xd8
ret
lea edi, [esp + 0xe8]
lea esi, [esp + 0x9c]
call fcn.0046646a
mov dword [esp + 0x124], 0x14
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
add esp, 0xd8
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x7011f6]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe8]
lea esi, [esp + 0x9c]
call fcn.0046646a
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
add esp, 0xd8
ret
mov eax, edx
call fcn.00465e60
mov eax, edx
call fcn.00465e60
mov eax, edi
call fcn.00465e60
mov eax, esi
call fcn.00465e60
mov eax, 3
mov ecx, ebp
call fcn.00465e00
mov eax, 3
mov ecx, edi
call fcn.00465e00
mov eax, 3
mov ecx, esi
call fcn.00465e00
mov eax, 3
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.005a5090