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

Disassembly:
push ebp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x8c
lea eax, [esp + 0x44]
lea ecx, [esp + 0x74]
mov dword [esp + 0x28], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp], 0x21
mov dword [esp + 4], 0x4eeae0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call sym._silentExec__osutils_u154_16
sub esp, 0x10
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov dword [esp], 0x4db1c8
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
call sym.___emutls_get_address
mov ebx, eax
movzx eax, byte [eax]
test al, al
jne 0x4aac40
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call sym._eqwasMoved___stdZassertions_u27_4
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x4aa860
movzx eax, byte [ebx]
mov esi, 0x4ee7dc
mov ebp, 6
mov byte [ebx], 0
test edi, edi
je 0x4aa835
test dword [edi], 0x40000000
je 0x4aaa28
lea ecx, [esp + 0x5c]
mov byte [esp + 0x20], al
call sym._eqdestroy___pureZosproc_u1790_4
cmp byte [ebx], 0
jne 0x4aa84e
movzx eax, byte [esp + 0x20]
mov byte [ebx], al
add esp, 0x8c
mov eax, ebp
mov edx, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], 0x4ee980
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call sym._nsuStrip_20
sub esp, 0x14
cmp byte [ebx], 0
mov dword [esp + 0x20], edx
jne 0x4aac18
mov dword [esp], eax
mov ecx, esi
mov dword [esp + 4], edx
mov dword [esp + 0x30], eax
call sym._gitDescribeRefTag__gitops_u69_12
sub esp, 8
cmp byte [ebx], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
jne 0x4aac18
lea eax, [esp + 0x54]
mov dword [esp + 0xc], 0
lea ecx, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp], 0x18
mov dword [esp + 4], 0x4eea60
call sym._silentExec__osutils_u154_16
sub esp, 0x10
cmp byte [ebx], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
jne 0x4aac18
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], 0x4ee980
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._nsuStrip_20
sub esp, 0x14
mov ecx, eax
mov dword [esp + 0x34], eax
movzx eax, byte [ebx]
mov dword [esp + 0x2c], edx
test al, al
jne 0x4aad00
cmp dword [esp + 0x30], ecx
je 0x4aaa40
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
mov ecx, esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._incrementTag__gitops_u128_16
mov ebp, eax
movzx eax, byte [ebx]
sub esp, 0xc
mov esi, edx
mov byte [ebx], 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x28], al
call sym._eqdestroy___pureZosproc_u1790_4
cmp byte [ebx], 0
jne 0x4aaa18
mov edx, dword [esp + 0x2c]
movzx eax, byte [esp + 0x28]
test edx, edx
je 0x4aa9e0
mov edx, dword [edx]
mov dword [esp + 0x28], edx
and edx, 0x40000000
je 0x4aac50
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4aa9f4
test dword [edx], 0x40000000
je 0x4aac70
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4aaa0e
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
and ecx, 0x40000000
je 0x4aac90
mov byte [ebx], al
test al, al
je 0x4aa822
mov eax, 1
jmp 0x4aa822
mov dword [esp], edi
mov byte [esp + 0x20], al
call sym._deallocShared
movzx eax, byte [esp + 0x20]
jmp 0x4aa835
test ecx, ecx
jne 0x4aacb0
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x4c]
add ecx, 0x2a
call sym._rawNewString_4
lea ecx, [eax + edx + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
mov edx, eax
add eax, 0x14
mov dword [ecx], 0x20656874
mov dword [ecx + 4], 0x72727563
mov dword [ecx + 8], 0x20746e65
mov dword [ecx + 0xc], 0x6d6d6f63
mov dword [ecx + 0x10], 0x27207469
mov byte [ecx + 0x14], 0
mov dword [esp + 0x30], eax
jo 0x4aace0
mov eax, dword [esp + 0x28]
lea ecx, [edx + eax + 0x18]
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x4aaaf3
add eax, 1
jo 0x4aadea
test eax, eax
js 0x4aad28
mov edx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 8], eax
add edx, 4
mov dword [esp + 0x38], ecx
mov dword [esp + 4], edx
call sym._memcpy
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
jo 0x4aadea
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
lea ecx, [eax + ecx + 4]
mov edx, dword [esp + 0x30]
mov eax, 0x27
mov dword [ecx], 0x73692027
mov word [ecx + 0x14], ax
mov eax, edx
mov dword [ecx + 4], 0x726c6120
add eax, 0x15
mov dword [ecx + 8], 0x79646165
mov dword [ecx + 0xc], 0x67617420
mov dword [ecx + 0x10], 0x20646567
mov dword [esp + 0x34], eax
jo 0x4aadd0
mov eax, dword [esp + 0x28]
lea ecx, [edx + eax + 0x19]
mov edx, dword [esp + 0x4c]
test edx, edx
jle 0x4aaba1
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
mov eax, edx
add eax, 1
mov dword [esp + 0x38], eax
jo 0x4aadfc
test eax, eax
js 0x4aad70
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x38]
mov dword [esp], ecx
add eax, 4
mov dword [esp + 0x30], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
jo 0x4aadfc
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
lea ecx, [eax + ecx + 4]
mov eax, dword [esp + 0x34]
mov edx, 0x27
mov word [ecx], dx
add eax, 1
jo 0x4aadb8
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov ecx, esi
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._info__context_u332_20
movzx eax, byte [ebx]
sub esp, 0x10
test al, al
jne 0x4aad00
lea ecx, [esp + 0x4c]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
call sym._eqwasMoved___stdZassertions_u27_4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4aac0d
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, 0x40000000
je 0x4aad10
movzx eax, byte [ebx]
jmp 0x4aa9ac
mov byte [ebx], 0
lea ecx, [esp + 0x68]
xor esi, esi
call sym._eqdestroy___pureZosproc_u1790_4
cmp byte [ebx], 0
jne 0x4aaa18
mov eax, 1
jmp 0x4aa9e0
mov byte [ebx], 0
xor esi, esi
xor ebp, ebp
jmp 0x4aa835
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._deallocShared
movzx eax, byte [esp + 0x28]
jmp 0x4aa9e0
mov dword [esp], edx
mov byte [esp + 0x28], al
call sym._deallocShared
movzx eax, byte [esp + 0x28]
jmp 0x4aa9f4
mov dword [esp], edx
mov byte [esp + 0x28], al
call sym._deallocShared
movzx eax, byte [esp + 0x28]
jmp 0x4aaa0e
mov eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ecx
add eax, 4
mov dword [esp + 4], eax
lea eax, [edx + 4]
mov dword [esp], eax
call sym._memcmp
test eax, eax
je 0x4aaa48
jmp 0x4aa984
mov dword [esp + 0x3c], ecx
call sym._raiseOverflow
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
jmp 0x4aaaa1
xor esi, esi
jmp 0x4aa9ac
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym._deallocShared
jmp 0x4aac0d
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 + 0x34], ecx
call sym._raiseRangeErrorI
mov ecx, dword [esp + 0x34]
jmp 0x4aaaf3
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 + 0x30], ecx
call sym._raiseRangeErrorI
mov ecx, dword [esp + 0x30]
jmp 0x4aaba1
call sym._raiseOverflow
mov eax, dword [esp + 0x34]
jmp 0x4aabb6
mov dword [esp + 0x38], ecx
call sym._raiseOverflow
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
jmp 0x4aab39
mov dword [esp + 0x34], ecx
call sym._raiseOverflow
mov ecx, dword [esp + 0x34]
jmp 0x4aaaf3
mov dword [esp + 0x30], ecx
call sym._raiseOverflow
mov ecx, dword [esp + 0x30]
jmp 0x4aaba1