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

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
cmp edi, eax
jge 0x4a63a5
mov dword [esp], 0x4db1c8
call sym.___emutls_get_address
mov ebp, eax
test edi, edi
js 0x4a63b8
mov eax, dword [esp + 0x38]
mov edx, dword [eax + edi*8 + 8]
mov eax, dword [eax + edi*8 + 4]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._singleGithubSearch__packagesjson_u480_8
movzx ebx, byte [ebp]
sub esp, 8
mov dword [esp + 0x2c], eax
test bl, bl
jne 0x4a63d7
mov ecx, dword [0x4ee1dc]
mov edx, dword [0x4ee1d8]
mov dword [esp + 0x6c], 0
mov dword [esp + 4], ecx
mov ecx, eax
mov dword [esp], edx
call sym._getOrDefault__pureZjson_u3927_12
movzx ebx, byte [ebp]
sub esp, 8
mov dword [esp + 0x28], eax
test bl, bl
jne 0x4a6358
movzx ecx, byte [eax + 1]
cmp cl, 6
je 0x4a62e7
call sym._dollar___pureZjson_u20_4
lea ecx, [eax + 0x54]
mov dword [esp + 0x34], edx
mov ebx, eax
call sym._rawNewString_4
mov esi, dword [0x4ee524]
lea ecx, [eax + edx + 4]
mov dword [ecx], esi
lea edi, [ecx + 4]
mov esi, dword [0x4ee575]
and edi, 0xfffffffc
mov dword [ecx + 0x51], esi
sub ecx, edi
mov esi, 0x4ee524
sub esi, ecx
add ecx, 0x55
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov esi, eax
add esi, 0x54
jo 0x4a6a48
test ebx, ebx
jle 0x4a629b
mov eax, ebx
add eax, 1
jo 0x4a6b64
test eax, eax
js 0x4a69c8
mov dword [esp + 0x3c], edx
lea edi, [esi + edx + 4]
mov edx, dword [esp + 0x34]
mov dword [esp + 8], eax
lea ecx, [edx + 4]
mov dword [esp], edi
mov dword [esp + 4], ecx
call sym._memcpy
add ebx, esi
mov edx, dword [esp + 0x3c]
jo 0x4a6b64
mov esi, ebx
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 0x3c], edx
call sym._failedAssertImpl__stdZassertions_u270_8
movzx ebx, byte [ebp]
sub esp, 8
test bl, bl
jne 0x4a6358
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4a62ce
test dword [edx], 0x40000000
je 0x4a69b8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a62e7
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
test eax, 0x40000000
je 0x4a69a0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
movzx ecx, byte [eax + 1]
mov eax, ecx
and eax, 7
cmp al, 6
je 0x4a6408
call sym._dollar___pureZjson_u20_4
mov dword [esp + 8], eax
mov eax, dword [0x4ee4a8]
mov dword [esp + 0xc], edx
mov edx, dword [0x4ee4ac]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._raiseFieldErrorStr
movzx ebx, byte [ebp]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov byte [ebp], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._eqdestroy___pureZjson_u273_8
movzx edx, byte [ebp]
sub esp, 8
test dl, dl
cmovne ebx, edx
mov byte [ebp], 0
mov ecx, dword [esp + 0x28]
call sym._eqdestroy___pureZjson_u340_4
cmp byte [ebp], 0
jne 0x4a68c0
mov ecx, dword [esp + 0x6c]
call sym._eqdestroy___pureZjson_u340_4
cmp byte [ebp], 0
jne 0x4a68c0
mov byte [ebp], bl
test bl, bl
jne 0x4a68c0
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x24], 1
call sym._eqdestroy___pureZjson_u340_4
cmp byte [ebp], 0
je 0x4a617a
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [esp + 0x30]
mov dword [esp], edi
sub eax, 1
mov dword [esp + 4], eax
call sym._raiseIndexError2
mov dword [esp + 0x2c], 0
movzx ebx, byte [ebp]
mov byte [ebp], 0
mov ecx, dword [esp + 0x2c]
call sym._eqdestroy___pureZjson_u340_4
cmp byte [ebp], 0
jne 0x4a63a5
mov byte [ebp], bl
test bl, bl
je 0x4a617a
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x70]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._eqcopy___pureZjson_u276_12
movzx ebx, byte [ebp]
sub esp, 8
test bl, bl
jne 0x4a6334
mov eax, dword [esp + 0x70]
xor esi, esi
mov dword [esp + 0x34], eax
cmp esi, dword [esp + 0x34]
jge 0x4a6ad8
mov eax, dword [esp + 0x70]
test esi, esi
js 0x4a6780
cmp eax, esi
jle 0x4a6780
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x6c]
mov edx, dword [eax + esi*4 + 4]
call sym._eqcopy___pureZjson_u343_8
movzx ebx, byte [ebp]
test bl, bl
jne 0x4a6793
mov edx, 4
mov ecx, 0x48
call sym._nimNewObj_8
mov edx, dword [0x4ee33c]
mov ecx, dword [esp + 0x6c]
mov edi, eax
mov eax, dword [0x4ee338]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._getOrDefault__pureZjson_u3927_12
movzx ebx, byte [ebp]
sub esp, 8
mov dword [esp + 0x58], eax
test bl, bl
jne 0x4a6a68
mov ecx, dword [0x4ee350]
mov edx, dword [0x4ee34c]
mov dword [esp + 4], ecx
mov ecx, eax
mov dword [esp], edx
call sym._getStr__pureZjson_u570_12
mov dword [edi], eax
sub esp, 8
mov dword [edi + 4], edx
movzx ebx, byte [ebp]
test bl, bl
jne 0x4a6a68
mov eax, dword [0x4ee1c0]
mov edx, dword [0x4ee1c4]
mov ecx, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._getOrDefault__pureZjson_u3927_12
movzx ebx, byte [ebp]
sub esp, 8
mov dword [esp + 0x54], eax
test bl, bl
jne 0x4a6a10
mov ecx, dword [0x4ee350]
mov edx, dword [0x4ee34c]
mov dword [esp + 4], ecx
mov ecx, eax
mov dword [esp], edx
call sym._getStr__pureZjson_u570_12
mov dword [edi + 8], eax
sub esp, 8
mov dword [edi + 0xc], edx
movzx ebx, byte [ebp]
test bl, bl
jne 0x4a6a10
mov eax, dword [0x4ee194]
mov edx, dword [0x4ee198]
mov dword [edi + 0x18], 3
mov dword [edi + 0x1c], 0x4ee1a8
mov ecx, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._getOrDefault__pureZjson_u3927_12
movzx ebx, byte [ebp]
sub esp, 8
mov dword [esp + 0x50], eax
test bl, bl
jne 0x4a6aa8
mov ecx, eax
call sym._toTags__packagesjson_u464_4
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], edx
movzx ebx, byte [ebp]
test bl, bl
jne 0x4a6aa8
mov eax, dword [0x4ee23c]
mov edx, dword [0x4ee240]
mov ecx, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._getOrDefault__pureZjson_u3927_12
movzx ebx, byte [ebp]
sub esp, 8
mov dword [esp + 0x4c], eax
test bl, bl
jne 0x4a6ae0
mov ecx, dword [0x4ee350]
mov edx, dword [0x4ee34c]
mov dword [esp + 4], ecx
mov ecx, eax
mov dword [esp], edx
call sym._getStr__pureZjson_u570_12
mov dword [edi + 0x20], eax
sub esp, 8
mov dword [edi + 0x24], edx
movzx ebx, byte [ebp]
test bl, bl
jne 0x4a6ae0
mov eax, dword [0x4ee2d4]
mov edx, dword [0x4ee2d8]
mov ecx, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._getOrDefault__pureZjson_u3927_12
movzx ebx, byte [ebp]
sub esp, 8
mov dword [esp + 0x48], eax
test bl, bl
jne 0x4a6b33
mov ecx, dword [0x4ee184]
mov edx, dword [0x4ee180]
mov dword [esp + 4], ecx
mov ecx, eax
mov dword [esp], edx
call sym._getOrDefault__pureZjson_u3927_12
movzx ebx, byte [ebp]
sub esp, 8
mov dword [esp + 0x44], eax
test bl, bl
jne 0x4a6b20
mov ecx, dword [0x4ee350]
mov edx, dword [0x4ee34c]
mov dword [esp + 4], ecx
mov ecx, eax
mov dword [esp], edx
call sym._getStr__pureZjson_u570_12
mov dword [edi + 0x10], eax
sub esp, 8
mov dword [edi + 0x14], edx
movzx ebx, byte [ebp]
test bl, bl
jne 0x4a6b20
mov eax, dword [0x4ee1c0]
mov edx, dword [0x4ee1c4]
mov ecx, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._getOrDefault__pureZjson_u3927_12
movzx ebx, byte [ebp]
sub esp, 8
mov dword [esp + 0x40], eax
test bl, bl
jne 0x4a6b03
mov ecx, dword [0x4ee350]
mov edx, dword [0x4ee34c]
mov dword [esp + 4], ecx
mov ecx, eax
mov dword [esp], edx
call sym._getStr__pureZjson_u570_12
mov dword [edi + 0x40], eax
sub esp, 8
mov dword [edi + 0x44], edx
movzx ebx, byte [ebp]
test bl, bl
jne 0x4a6b03
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._containsOrIncl__packagesjson_u150_12
movzx ebx, byte [ebp]
sub esp, 8
test bl, bl
jne 0x4a6b56
test al, al
jne 0x4a674f
mov ecx, edi
call sym._dollar___packagesjson_u461_4
cmp byte [ebp], 0
mov ecx, eax
mov eax, edx
jne 0x4a6b4e
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x3c], edx
mov edx, 1
call sym._echoBinSafe_8
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a6745
test dword [eax], 0x40000000
je 0x4a6b0e
cmp byte [ebp], 0
jne 0x4a6b56
lea eax, [esi + 1]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x70]
je 0x4a67d1
mov eax, dword [0x4ee254]
mov edx, dword [0x4ee258]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._failedAssertImpl__stdZassertions_u270_8
movzx ebx, byte [ebp]
sub esp, 8
jmp 0x4a67d1
sub eax, 1
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._raiseIndexError2
movzx ebx, byte [ebp]
mov dword [esp + 0x3c], esi
xor edi, edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [ebp], 0
mov ecx, dword [esp + 0x40]
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
mov ecx, dword [esp + 0x44]
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
mov ecx, dword [esp + 0x48]
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
mov ecx, dword [esp + 0x4c]
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
mov ecx, dword [esp + 0x50]
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
mov ecx, dword [esp + 0x54]
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
mov ecx, dword [esp + 0x58]
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
test edi, edi
je 0x4a6891
mov eax, dword [edi - 8]
mov ecx, eax
shr ecx, 4
jne 0x4a6988
mov ecx, edi
call sym._eqdestroy___packagesjson_u50_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
mov edx, 4
mov ecx, edi
call sym._nimRawDispose_8
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
mov byte [ebp], bl
test bl, bl
jne 0x4a6334
test esi, esi
js 0x4a68d0
mov esi, dword [esp + 0x3c]
jmp 0x4a643b
mov ebx, eax
jmp 0x4a6334
mov ebx, 1
jmp 0x4a63d7
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
cmp edi, esi
jge 0x4a6ad8
mov eax, dword [esp + 0x70]
mov dword [esp], edi
sub eax, 1
mov dword [esp + 4], eax
call sym._raiseIndexError2
movzx ebx, byte [ebp]
mov byte [ebp], 0
xor ecx, ecx
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
xor ecx, ecx
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
xor ecx, ecx
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
xor ecx, ecx
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
xor ecx, ecx
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
xor ecx, ecx
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
xor ecx, ecx
call sym._eqdestroy___pureZjson_u340_4
movzx eax, byte [ebp]
test al, al
jne 0x4a68b0
mov byte [ebp], bl
test bl, bl
je 0x4a68d8
jmp 0x4a6334
sub eax, 0x10
jo 0x4a6b76
mov dword [edi - 8], eax
jmp 0x4a6889
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym._deallocShared
jmp 0x4a62e7
mov dword [esp], edx
call sym._deallocShared
jmp 0x4a62ce
mov dword [esp + 0x10], 0x7fffffff
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0x80000000
mov dword [esp + 4], 0xffffffff
mov dword [esp + 0x3c], edx
call sym._raiseRangeErrorI
mov edx, dword [esp + 0x3c]
jmp 0x4a629b
mov dword [esp + 0x3c], esi
xor edi, edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
jmp 0x4a67d1
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], eax
call sym._raiseOverflow
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
jmp 0x4a6257
mov dword [esp + 0x3c], esi
xor edi, edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
jmp 0x4a67d1
mov dword [esp + 0x3c], esi
xor edi, edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x4a67d1
xor ebx, ebx
jmp 0x4a6334
mov dword [esp + 0x3c], esi
xor edi, edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
jmp 0x4a67d1
mov dword [esp + 0x3c], esi
xor edi, edi
jmp 0x4a67d1
mov dword [esp], eax
call sym._deallocShared
jmp 0x4a6745
mov dword [esp + 0x3c], esi
xor edi, edi
mov dword [esp + 0x40], 0
jmp 0x4a67d1
mov dword [esp + 0x3c], esi
xor edi, edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
jmp 0x4a67d1
test edx, edx
jne 0x4a6739
mov dword [esp + 0x3c], esi
mov ebx, 1
jmp 0x4a67d1
mov dword [esp + 0x3c], edx
call sym._raiseOverflow
mov edx, dword [esp + 0x3c]
jmp 0x4a629b
call sym._raiseOverflow
jmp 0x4a6889