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

Disassembly:
mov ecx, dword [0x5aa0d0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa4]
cmp eax, dword [ecx + 8]
jbe 0x4a6df1
sub esp, 0x124
mov eax, dword [esp + 0x128]
test byte [eax], al
mov dword [esp], eax
lea ecx, [eax + 0x20]
mov dword [esp + 0x78], 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 + 0x128]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
cmp dword [eax + 0x10], edx
setb dl
cmp ebx, ecx
sete cl
setg bl
and ecx, edx
or ebx, ecx
test bl, bl
je 0x4a6dbd
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
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 0x4a6da4
mov eax, dword [esp + 0x78]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x3c
mov dword [esp + 0x6c], 0x100
cmp dword [0x56740c], 2
jne 0x4a6d83
mov eax, dword [0x567408]
mov ecx, dword [esp + 0x128]
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 0x4a6d83
mov edx, dword [esp + 0x6c]
cmp edx, 0x10
jb 0x4a6de6
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], edx
lea eax, [0x4ea9e0]
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 + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
lea edx, [sym.cmd_internal_archive._objReader_.parseArchive.func1]
mov dword [esp + 0x118], edx
lea ebx, [esp + 0x5c]
mov dword [esp + 0x11c], ebx
lea ebx, [esp + 0x64]
mov dword [esp + 0x120], ebx
mov ebx, dword [esp + 0x118]
mov dword [esp], 0x30
mov dword [esp + 4], 0x3a
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
lea edx, [esp + 0x118]
call ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
movzx edx, byte [esp + 0x12c]
test dl, dl
jne 0x4a6570
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x40], ebx
xor ebx, ebx
jmp 0x4a6674
mov eax, dword [esp + 0x118]
mov dword [esp], 0x10
mov dword [esp + 4], 0x1c
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
lea edx, [esp + 0x118]
call eax
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp], 0x1c
mov dword [esp + 4], 0x22
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x20
lea edx, [esp + 0x118]
call eax
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov dword [esp], 0x22
mov dword [esp + 4], 0x28
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x20
lea edx, [esp + 0x118]
call eax
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov dword [esp], 0x28
mov dword [esp + 4], 0x30
mov dword [esp + 8], 8
mov dword [esp + 0xc], 0x20
lea edx, [esp + 0x118]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
movzx edx, byte [esp + 0x12c]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
test edx, edx
jne 0x4a6d62
mov edx, dword [esp + 0x68]
cmp edx, 0x3c
jb 0x4a6dda
mov dword [esp + 0x44], edi
mov dword [esp + 0x24], esi
add edx, 0xffffffc4
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
add esi, 0xffffffc4
mov dword [esp + 0x48], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 0x3c
add esi, edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x6c], edx
mov edx, eax
and eax, 1
mov esi, edx
add edx, eax
mov edi, ecx
adc ecx, 0
test ecx, ecx
jl 0x4a6d41
mov dword [esp + 0x50], eax
cmp edi, ecx
setg cl
sete al
cmp edx, esi
setb dl
and eax, edx
or ecx, eax
test cl, cl
jne 0x4a6d41
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x20]
cmp eax, 9
je 0x4a68ee
cmp eax, 0xd
jne 0x4a6aa8
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x4c6dbb]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xd
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a6768
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x4c6dc8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xd
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a68d5
mov eax, dword [esp + 0x2c]
test eax, eax
sete cl
mov edx, dword [esp + 0x28]
test edx, edx
sete bl
and ecx, ebx
test cl, cl
je 0x4a6aa8
lea edi, [esp + 0xb0]
lea esi, [0x4eb0cc]
call fcn.004630ae
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x128]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
inc ebx
mov ebp, dword [ecx + 4]
cmp edx, ebx
jae 0x4a6884
mov dword [esp + 0x74], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4be820]
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 + 0x74]
mov dword [ebx + 0xc], eax
mov eax, dword [0x5aa188]
test eax, eax
je 0x4a6874
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov eax, dword [esp + 0x128]
mov ebp, ecx
mov ecx, ebx
mov ebx, edx
mov dword [ecx + 8], ebx
mov ecx, dword [0x5aa188]
imul edx, ebx, 0x34
lea edi, [edx + ebp - 0x34]
test ecx, ecx
je 0x4a68c4
mov dword [esp + 0x70], edi
lea eax, [0x4be820]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb0]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x128]
mov edi, dword [esp + 0x70]
lea esi, [esp + 0xb0]
call fcn.004630ae
jmp 0x4a6cdf
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x4a6aa8
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x4c6050]
mov dword [esp + 4], ecx
mov dword [esp + 8], 9
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a6a94
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.00462c13
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x128]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], ebx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10c], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x110], 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 0x4a6a1d
mov dword [esp + 0x74], ebp
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4be820]
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 + 0x74]
mov dword [ebx + 0xc], eax
mov eax, dword [0x5aa188]
test eax, eax
je 0x4a6a05
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 + 0x128]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov dword [ebp + 8], edi
mov ebp, dword [0x5aa188]
imul esi, edi, 0x34
lea edi, [esi + eax - 0x34]
test ebp, ebp
je 0x4a6a65
mov dword [esp + 0x70], edi
lea eax, [0x4be820]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xe4]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x70]
lea esi, [esp + 0xe4]
call fcn.004630ae
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.cmd_internal_archive._objReader_.skip
mov eax, dword [esp + 0x128]
jmp 0x4a6cdf
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x128]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x34], 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 0x4a6d28
mov eax, dword [esp + 0xc]
cmp dword [0x56741c], eax
je 0x4a6ae9
xor eax, eax
jmp 0x4a6b08
mov ecx, dword [esp + 8]
mov edx, dword [0x567418]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a6b34
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
call sym.cmd_internal_archive._objReader_.skip
mov eax, 2
xor ecx, ecx
jmp 0x4a6b7e
lea eax, [0x4b9ca0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x128]
mov dword [esp], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
call sym.cmd_internal_archive._objReader_.parseObject
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4a6d0f
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0x7c]
mov edx, eax
xor eax, eax
call fcn.00462c13
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x128]
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 0x4a6c90
mov dword [esp + 0x74], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4be820]
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 + 0x74]
mov dword [ebx + 0xc], eax
mov eax, dword [0x5aa188]
test eax, eax
je 0x4a6c7e
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 + 0x128]
mov edx, ebx
mov dword [edx + 8], ebp
mov edx, dword [0x5aa188]
imul ebx, ebp, 0x34
lea edi, [esi + ebx - 0x34]
test edx, edx
je 0x4a6ccf
mov dword [esp + 0x70], edi
lea eax, [0x4be820]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
call sym.runtime.wbMove
xor eax, eax
mov ecx, dword [esp + 0x128]
mov edi, dword [esp + 0x70]
lea esi, [esp + 0x7c]
call fcn.004630ae
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4a63ad
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 0
call sym.cmd_internal_archive._objReader_.skip
mov eax, dword [esp + 0x128]
jmp 0x4a63ad
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
add esp, 0x124
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
add esp, 0x124
ret
mov eax, dword [0x567158]
mov ecx, dword [0x56715c]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
add esp, 0x124
ret
mov eax, dword [0x567158]
mov ecx, dword [0x56715c]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
add esp, 0x124
ret
mov eax, dword [0x567158]
mov ecx, dword [0x56715c]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
add esp, 0x124
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
add esp, 0x124
ret
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x124
ret
mov eax, 0x3c
mov ecx, edx
call sym.runtime.panicSliceB
mov ecx, 0x10
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_archive._objReader_.parseArchive