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

Disassembly:
mov ecx, dword [0x65260c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x501d89
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.cmd_internal_objfile._peFile_.imageBase
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x501a73
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x5c]
mov ebx, dword [eax]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x54], ebp
mov ebx, dword [ebx + 0x20]
mov dword [esp + 0x40], ebx
xor esi, esi
jmp 0x501ace
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x58
ret
inc esi
mov eax, dword [esp + 0x5c]
cmp esi, ebx
jge 0x501b2f
mov edi, dword [ebp + esi*4]
mov eax, dword [edi + 4]
cmp eax, 5
jne 0x501ac9
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], edi
mov ecx, dword [edi]
mov dword [esp], ecx
lea ecx, [0x5306c1]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x501b1d
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x3c]
jmp 0x501ac9
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x44]
jmp 0x501b31
xor ebx, ebx
test ebx, ebx
je 0x501b3f
mov ebx, dword [ebx + 0xc]
add ecx, ebx
adc edx, 0
jmp 0x501b43
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov ebx, dword [eax]
mov dword [esp], ebx
lea ebx, [0x532d51]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0xf
lea ebx, [0x53327d]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x10
call sym.cmd_internal_objfile.loadPETable
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x501be3
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov dword [esp], ecx
lea ecx, [0x530acb]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
lea ecx, [0x530e04]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 8
call sym.cmd_internal_objfile.loadPETable
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x501d2f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x5c]
mov ebp, dword [eax]
mov dword [esp], ebp
lea ebp, [0x532843]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0xe
lea ebp, [0x532d42]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 0xf
call sym.cmd_internal_objfile.loadPETable
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x501c87
mov dword [esp + 0x48], ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov dword [esp], eax
lea eax, [0x53083c]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x530ad2]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 7
call sym.cmd_internal_objfile.loadPETable
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x501cd5
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x58
ret
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], eax
add esp, 0x58
ret
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x84], eax
add esp, 0x58
ret
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_objfile._peFile_.pcln