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

Disassembly:
mov ecx, dword [0x664c04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x50976d
sub esp, 0xd0
mov eax, dword [0x625120]
cmp dword [eax], 4
jl 0x5093ac
mov eax, dword [0x62515c]
nop
lea ecx, [0x567780]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x53aee1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x17
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.fmt.Fprintf
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x74], ecx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x48], eax
xor edx, edx
jmp 0x5093d4
mov ebx, dword [esp + 0x28]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x74]
cmp edx, eax
jge 0x50956a
mov dword [esp + 0x28], edx
mov ebx, dword [ecx + edx*4]
mov dword [esp + 0x4c], ebx
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x5093f3
mov ebp, dword [ebp]
jmp 0x5093f5
xor ebp, ebp
mov dword [esp + 0x30], ebp
lea eax, [0x51c120]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ebp
call sym.runtime.makeslice
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x6c], edx
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.0046a5e4
lea ecx, [0x51d1e0]
mov dword [esp], ecx
mov ebp, dword [esp + 0x70]
mov dword [esp + 4], ebp
lea ebp, [esp + 0xa0]
mov dword [esp + 8], ebp
call sym.runtime.mapiterinit
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
xor edx, edx
jmp 0x5095b2
mov dword [esp + 0x68], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], eax
nop
lea ebx, [0x567770]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call sym.slices.Sort_go.shape.__int_go.shape.int_
mov eax, dword [0x625120]
cmp dword [eax], 4
jl 0x509563
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x51c120]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x517b00]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [0x62515c]
lea edx, [0x567780]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x539e08]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x14
lea ebx, [esp + 0x90]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call sym.fmt.Fprintf
xor eax, eax
jmp 0x509607
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xd0
ret
mov dword [esp + 0x64], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [ecx + edx*4 - 4], ebx
lea ebx, [esp + 0xa0]
mov dword [esp], ebx
call sym.runtime.mapiternext
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xa0]
test ebx, ebx
je 0x509464
inc edx
mov ebx, dword [ebx]
cmp eax, edx
jae 0x509587
mov dword [esp + 0x38], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x51c120]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
jmp 0x509587
mov ecx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jge 0x5093c5
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x4c]
mov ebp, dword [ebx + 4]
lea esi, [0x51d1e0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call sym.runtime.mapaccess1_fast32
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x50]
call fcn.0046aace
mov eax, dword [0x625120]
cmp dword [eax], 4
jl 0x509716
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0046a5ea
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c120]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c120]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c120]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x62515c]
lea ebx, [0x567780]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ecx, [0x54086e]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x2c
lea ebp, [esp + 0x78]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call sym.fmt.Fprintf
mov edx, dword [esp + 0xd8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x28]
mov dword [esp], esi
mov edi, dword [esp + 0x34]
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x509600
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
add esp, 0xd0
ret
call sym.runtime.morestack_noctxt
jmp sym.main._metaMerge_.VisitFuncs