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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x847e1b
sub esp, 0x68
lea eax, [0x92c0c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [0xc93940]
test ecx, ecx
jne 0x847e02
mov ecx, dword [esp + 0x6c]
mov dword [eax], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0xffffffff
lea ecx, [0xc48fc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.compress/gzip.NewReader
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xc]
test edx, edx
je 0x847c2d
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
je 0x847c26
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea edx, [0x8e91e0]
mov dword [esp], edx
lea edx, [esp + 0x40]
mov dword [esp + 4], edx
call dbg.runtime.convT2E
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x64], eax
lea eax, [0x98cab7]
mov dword [esp], eax
mov dword [esp + 4], 0xb
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call dbg.fmt.Errorf
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x68
ret
mov eax, edx
jmp 0x847b66
lea ecx, [0x92f880]
mov dword [esp], ecx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
lea ecx, [0xc47fa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea ecx, [0xc48040]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
call dbg.io.Copy
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x24]
mov dword [esp], edx
call dbg.compress/gzip.(*Reader).Close
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x847d73
mov eax, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
je 0x847d6c
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x8e91e0]
mov dword [esp], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 4], ecx
call dbg.runtime.convT2E
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
lea eax, [0x98cab7]
mov dword [esp], eax
mov dword [esp + 4], 0xb
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call dbg.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x68
ret
mov eax, ecx
jmp 0x847cac
test eax, eax
jne 0x847dce
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp ecx, ebx
ja 0x847dc7
sub eax, ecx
lea ebp, [eax - 1]
sar ebp, 0x1f
xor ebp, 0xffffffff
and ebp, ecx
add edx, ebp
mov dword [esp + 0x7c], edx
sub ebx, ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x68
ret
call dbg.runtime.panicslice
ud2
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x8c], eax
add esp, 0x68
ret
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x20]
jmp 0x847b0a
call dbg.runtime.morestack_noctxt
jmp dbg.main.bindataRead