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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x43881c
sub esp, 0x88
lea edi, [esp + 0x90]
xor eax, eax
call fcn.004470d8
mov ecx, dword [esp + 0x8c]
movzx edx, byte [ecx]
test dl, dl
je 0x4387f5
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
lea edx, [ecx + 8]
test eax, eax
jle 0x438644
lea edi, [esp + 0x48]
call fcn.004475a0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
cmp ebp, 1
jb 0x438815
dec ebp
mov dword [eax + 0xc], ebp
dec ecx
mov dword [eax + 0x10], ecx
mov ebp, dword [0x51b720]
neg ecx
sar ecx, 0x1f
and ecx, 0x20
add ecx, ebx
test ebp, ebp
jne 0x43862f
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
test ecx, ecx
setg cl
mov byte [eax], cl
lea edi, [esp + 0x90]
lea esi, [esp + 0x48]
call fcn.004475a0
add esp, 0x88
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x8c]
jmp 0x43860e
mov eax, dword [ecx + 0x2c]
test eax, eax
jl 0x438764
mov edx, dword [ecx + 0x1c]
test byte [edx], al
cmp eax, 0x100000
jae 0x43880e
shl eax, 4
mov ebx, dword [edx + eax + 4]
mov dword [esp + 0x1c], ebx
mov ebp, dword [edx + eax + 8]
mov dword [esp + 0x18], ebp
mov esi, dword [edx + eax]
mov dword [esp + 0x14], esi
mov eax, dword [edx + eax + 0xc]
mov edx, dword [ecx + 0x18]
mov edi, dword [ecx + 0x14]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call dbg.runtime.funcnameFromNameoff
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x28]
lea esi, [0x4b6e80]
call fcn.004475a0
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 0
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
call dbg.runtime.funcfile
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
mov dword [edx + 0x24], ecx
lea ecx, [edx + 0x20]
mov ebx, dword [0x51b720]
test ebx, ebx
jne 0x43874f
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 0x2c], eax
lea edi, [esp + 0x90]
lea esi, [esp + 0x28]
call fcn.004475a0
add esp, 0x88
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x8c]
jmp 0x43872a
mov byte [ecx], 0
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.funcname
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x68]
lea esi, [0x4b6ea0]
call fcn.004475a0
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 4]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x84], eax
lea edi, [esp + 0x90]
lea esi, [esp + 0x68]
call fcn.004475a0
add esp, 0x88
ret
lea edi, [esp + 0x90]
lea esi, [0x4b6e60]
call fcn.004475a0
add esp, 0x88
ret
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.(*pcExpander).next