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

Disassembly:
mov ecx, dword [0x5ef9b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x4c57c6
sub esp, 0xf0
mov eax, dword [esp + 0xf4]
test byte [eax], al
mov dword [esp], eax
lea ecx, [eax + 0x20]
mov dword [esp + 0x64], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
mov dword [esp + 0xc], 0x100
call sym.cmd_internal_archive._objReader_.readFull
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
cmp dword [eax + 0x10], edx
setb dl
cmp ecx, ebx
sete cl
setl bl
and ecx, edx
or ebx, ecx
test bl, bl
je 0x4c5792
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x100
call sym.cmd_internal_archive._objReader_.readFull
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c5775
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x3c
mov dword [esp + 0x78], 0x100
cmp dword [0x5c4eb4], 2
jne 0x4c5754
mov eax, dword [0x5c4eb0]
mov ecx, dword [esp + 0xf4]
lea edx, [ecx + 0x5a]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c5754
mov edx, dword [esp + 0x78]
cmp edx, 0x10
jb 0x4c57bb
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], edx
lea eax, [0x530b1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.bytes.TrimRight
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea edx, [sym.cmd_internal_archive._objReader_.parseArchive.func1]
mov dword [esp + 0x7c], edx
lea ebx, [esp + 0x68]
mov dword [esp + 0x80], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp], 0x30
mov dword [esp + 4], 0x3a
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
lea edx, [esp + 0x7c]
call ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
movzx ebx, byte [esp + 0xf8]
test bl, bl
jne 0x4c5139
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x48], ebp
xor ebp, ebp
mov dword [esp + 0x44], ebp
xor ebp, ebp
jmp 0x4c5229
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp], 0x10
mov dword [esp + 4], 0x1c
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
lea edx, [esp + 0x7c]
call eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp], 0x1c
mov dword [esp + 4], 0x22
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x20
lea edx, [esp + 0x7c]
call eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp], 0x22
mov dword [esp + 4], 0x28
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x20
lea edx, [esp + 0x7c]
call eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov dword [esp], 0x28
mov dword [esp + 4], 0x30
mov dword [esp + 8], 8
mov dword [esp + 0xc], 0x20
lea edx, [esp + 0x7c]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
movzx ebx, byte [esp + 0xf8]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x68]
test ebx, ebx
jne 0x4c5733
mov ebx, dword [esp + 0x74]
cmp ebx, 0x3c
jb 0x4c57af
mov dword [esp + 0x24], edi
add ebx, 0xffffffc4
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
add edi, 0xffffffc4
mov dword [esp + 0x50], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 0x3c
add edx, edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x78], edx
mov edx, eax
and eax, 1
mov ebx, edx
add edx, eax
mov edi, ecx
adc ecx, 0
test ecx, ecx
jl 0x4c5712
cmp edi, ecx
sete cl
xchg edi, ebx
setg bl
xchg edi, ebx
cmp edx, ebx
setb dl
and ecx, edx
or edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4c5712
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebp
mov ecx, dword [esp + 0x20]
cmp ecx, 9
jne 0x4c5463
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x50543a]
mov dword [esp + 4], ecx
mov dword [esp + 8], 9
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c5463
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.00460193
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0xf4]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ebx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xe8], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xe4], ebx
mov ebp, dword [ecx]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
inc edi
mov eax, dword [ebp + 4]
cmp esi, edi
jae 0x4c53f3
mov dword [esp + 0x60], ebp
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4fb1e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0xc], eax
mov eax, dword [0x5efab0]
test eax, eax
je 0x4c53db
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov ebp, ebx
mov edi, edx
mov eax, ecx
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [ebp + 8], edi
mov ebp, dword [0x5efab0]
imul esi, edi, 0x34
lea edi, [esi + eax - 0x34]
test ebp, ebp
je 0x4c543b
mov dword [esp + 0x5c], edi
lea eax, [0x4fb1e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xbc]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x5c]
lea esi, [esp + 0xbc]
call fcn.0046062e
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
call sym.cmd_internal_archive._objReader_.skip
jmp 0x4c56a8
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x38], edx
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.cmd_internal_archive._objReader_.peek
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4c56f5
mov eax, dword [esp + 0xc]
lea ecx, [0x5c4ec0]
cmp dword [ecx + 4], eax
je 0x4c54a7
xor eax, eax
jmp 0x4c54cc
mov ecx, dword [0x5c4ec0]
mov edx, dword [esp + 8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
lea ecx, [0x5c4ec0]
test al, al
jne 0x4c54f8
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
call sym.cmd_internal_archive._objReader_.skip
mov eax, 2
xor ecx, ecx
jmp 0x4c5542
lea eax, [0x4f47a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xf4]
mov dword [esp], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], ebx
call sym.cmd_internal_archive._objReader_.parseObject
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c56d8
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0x88]
mov edx, eax
xor eax, eax
call fcn.00460193
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xf4]
mov edx, dword [ecx]
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
inc ebp
mov esi, dword [edx + 4]
cmp ebx, ebp
jae 0x4c565a
mov dword [esp + 0x60], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4fb1e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0xc], eax
mov eax, dword [0x5efab0]
test eax, eax
je 0x4c5648
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
xor eax, eax
mov ebp, edx
mov esi, ecx
mov ecx, dword [esp + 0xf4]
mov edx, ebx
mov dword [edx + 8], ebp
mov edx, dword [0x5efab0]
imul ebx, ebp, 0x34
lea edi, [esi + ebx - 0x34]
test edx, edx
je 0x4c569c
mov dword [esp + 0x5c], edi
lea eax, [0x4fb1e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call sym.runtime.wbMove
xor eax, eax
mov ecx, dword [esp + 0xf4]
mov edi, dword [esp + 0x5c]
lea esi, [esp + 0x88]
call fcn.0046062e
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4c4f7a
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call sym.cmd_internal_archive._objReader_.skip
jmp 0x4c4f7a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf0
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf0
ret
mov eax, dword [0x5c4c10]
mov ecx, dword [0x5c4c14]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf0
ret
mov eax, dword [0x5c4c10]
mov ecx, dword [0x5c4c14]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf0
ret
mov eax, dword [0x5c4c10]
mov ecx, dword [0x5c4c14]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf0
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf0
ret
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
add esp, 0xf0
ret
mov eax, 0x3c
mov ecx, ebx
call sym.runtime.panicSliceB
mov ecx, 0x10
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_archive._objReader_.parseArchive