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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x34], eax
call sym._nosgetCurrentDir_0
mov dword [esp], 0x4db1c8
mov dword [esp + 0x20], eax
mov ebp, edx
call sym.___emutls_get_address
cmp byte [eax], 0
jne 0x4a986e
mov edx, dword [esp + 0xb4]
mov ebx, eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x74], 0
call sym._newWideCString__stdZwidestrs_u316_8
sub esp, 8
cmp byte [ebx], 0
mov edi, eax
mov esi, edx
jne 0x4a9990
mov dword [esp], edx
call dword [0x519124]
sub esp, 4
test eax, eax
je 0x4a9890
movzx eax, byte [ebx]
mov byte [ebx], 0
mov dword [esp], edi
mov dword [esp + 4], esi
mov byte [esp + 0x28], al
call sym._eqdestroy___stdZwidestrs_u7_8
sub esp, 8
cmp byte [ebx], 0
jne 0x4a99a2
movzx eax, byte [esp + 0x28]
mov byte [ebx], al
test al, al
jne 0x4a99a2
mov eax, dword [0x4ee924]
mov edx, dword [0x4ee928]
lea ecx, [esp + 0x50]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xa
mov dword [esp + 0x18], eax
mov eax, dword [0x4ee924]
mov dword [esp + 0x1c], edx
mov edx, dword [0x4ee928]
mov dword [esp + 0x10], eax
mov eax, dword [0x4ee8c8]
mov dword [esp + 0x14], edx
mov edx, dword [0x4ee8cc]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._execCmdEx__pureZosproc_u1746_32
movzx esi, byte [ebx]
sub esp, 0x20
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov eax, esi
test al, al
jne 0x4a99f0
lea eax, [esp + 0x6c]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
mov ecx, eax
mov dword [esp + 0x28], eax
call sym._eqwasMoved___stdZassertions_u27_4
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x4a98c8
mov ecx, dword [esp + 0x2c]
call sym._isCleanGit__gitops_u63_4
cmp byte [ebx], 0
mov dword [esp + 0x24], edx
jne 0x4a979c
test eax, eax
jne 0x4a9938
mov eax, dword [0x4ee924]
mov edx, dword [0x4ee928]
lea ecx, [esp + 0x50]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xa
mov dword [esp + 0x18], eax
mov eax, dword [0x4ee924]
mov dword [esp + 0x1c], edx
mov edx, dword [0x4ee928]
mov dword [esp + 0x10], eax
mov eax, dword [0x4ee84c]
mov dword [esp + 0x14], edx
mov edx, dword [0x4ee850]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call sym._execCmdEx__pureZosproc_u1746_32
movzx edi, byte [ebx]
sub esp, 0x20
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x80], eax
mov eax, edi
test al, al
jne 0x4a9b40
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
lea ecx, [esp + 0x78]
call sym._eqwasMoved___stdZassertions_u27_4
mov dword [esp + 0x10], 0x4ee980
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp], esi
mov dword [esp + 4], edi
call sym._nsuStrip_20
sub esp, 0x14
cmp byte [ebx], 0
mov dword [esp + 0x38], edx
jne 0x4a9af0
test eax, eax
jle 0x4a9ab0
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 0x10], 0x4ee980
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call sym._nsuStrip_20
movzx edi, byte [ebx]
sub esp, 0x14
mov esi, eax
mov eax, edi
mov dword [esp + 0x40], edx
test al, al
jne 0x4a9b48
lea ecx, [esi + 0x10]
call sym._rawNewString_4
mov ecx, eax
lea eax, [eax + edx + 4]
mov dword [esp + 0x3c], edx
mov dword [eax], 0x20746967
mov dword [eax + 4], 0x6c6c7570
mov dword [eax + 8], 0x69726f20
mov dword [eax + 0xc], 0x206e6967
mov byte [eax + 0x10], 0
mov eax, ecx
add eax, 0x10
mov edi, eax
jo 0x4a9b70
test esi, esi
jle 0x4a960c
mov eax, esi
add eax, 1
jo 0x4a9b82
test eax, eax
js 0x4a9a40
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], eax
lea edx, [edi + ecx + 4]
mov ecx, dword [esp + 0x40]
mov dword [esp], edx
add ecx, 4
mov dword [esp + 4], ecx
call sym._memcpy
add esi, edi
jo 0x4a9b82
mov edi, esi
mov eax, dword [0x4ee924]
mov dword [esp], edi
lea ecx, [esp + 0x50]
mov edx, dword [0x4ee928]
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
mov eax, dword [0x4ee924]
mov dword [esp + 0x1c], edx
mov edx, dword [0x4ee928]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call sym._execCmdEx__pureZosproc_u1746_32
movzx edi, byte [ebx]
sub esp, 0x20
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], eax
mov eax, edi
test al, al
jne 0x4a9b5b
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x84]
mov ecx, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], eax
call sym._eqwasMoved___stdZassertions_u27_4
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x4a9a00
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._error__context_u319_20
sub esp, 0x10
movzx edi, byte [ebx]
mov byte [ebx], 0
test esi, esi
je 0x4a9705
test dword [esi], 0x40000000
je 0x4a9b30
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a971e
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
test eax, 0x40000000
je 0x4a9b00
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a9737
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
test eax, 0x40000000
je 0x4a9b18
mov ecx, dword [esp + 0x44]
call sym._eqdestroy___pureZosproc_u1790_4
cmp byte [ebx], 0
jne 0x4a9af0
mov eax, edi
mov byte [ebx], al
test al, al
jne 0x4a9af0
mov eax, dword [esp + 0x38]
mov byte [ebx], 0
test eax, eax
je 0x4a9771
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
test eax, 0x40000000
je 0x4a9a80
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a978a
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
test eax, 0x40000000
je 0x4a9a98
lea ecx, [esp + 0x78]
call sym._eqdestroy___pureZosproc_u1790_4
cmp byte [ebx], 0
jne 0x4a979c
mov eax, edi
mov byte [ebx], al
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a97b9
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
test eax, 0x40000000
je 0x4a9978
movzx esi, byte [ebx]
mov eax, dword [esp + 0x30]
mov byte [ebx], 0
test eax, eax
je 0x4a97d8
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, 0x40000000
je 0x4a9920
mov ecx, dword [esp + 0x28]
call sym._eqdestroy___pureZosproc_u1790_4
movzx eax, byte [ebx]
mov byte [ebx], 0
mov dword [esp + 4], ebp
test al, al
cmovne esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._newWideCString__stdZwidestrs_u316_8
sub esp, 8
cmp byte [ebx], 0
mov edi, edx
mov dword [esp + 0x24], eax
jne 0x4a99c0
mov dword [esp], edx
call dword [0x519124]
sub esp, 4
test eax, eax
jne 0x4a9840
call sym._osLastError__stdZoserrors_u125_0
cmp byte [ebx], 0
jne 0x4a99c0
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._raiseOSError__stdZoserrors_u122
movzx eax, byte [ebx]
mov byte [ebx], 0
mov dword [esp + 4], edi
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._eqdestroy___stdZwidestrs_u7_8
sub esp, 8
cmp byte [ebx], 0
jne 0x4a986e
movzx eax, byte [esp + 0x20]
test al, al
cmove eax, esi
mov byte [ebx], al
test ebp, ebp
je 0x4a987f
test dword [ebp], 0x40000000
je 0x4a9908
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
call sym._osLastError__stdZoserrors_u125_0
cmp byte [ebx], 0
jne 0x4a9990
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym._raiseOSError__stdZoserrors_u122
jmp 0x4a935c
mov eax, dword [esp + 0x24]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call sym._contains__pureZstrutils_u1896_16
movzx esi, byte [ebx]
sub esp, 0x10
mov ecx, esi
cmp cl, 1
je 0x4a97bc
test al, al
jne 0x4a942d
jmp 0x4a97bc
mov dword [esp], ebp
call sym._deallocShared
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._deallocShared
jmp 0x4a97d8
mov eax, dword [0x4ee884]
mov edx, dword [0x4ee888]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._warn__context_u244_20
sub esp, 0x10
jmp 0x4a979c
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._deallocShared
jmp 0x4a97b9
mov byte [ebx], 0
mov dword [esp], edi
mov dword [esp + 4], esi
call sym._eqdestroy___stdZwidestrs_u7_8
sub esp, 8
lea eax, [esp + 0x6c]
mov byte [ebx], 0
mov esi, 1
mov dword [esp + 0x28], eax
jmp 0x4a97d8
mov eax, dword [esp + 0x24]
mov byte [ebx], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._eqdestroy___stdZwidestrs_u7_8
sub esp, 8
cmp byte [ebx], 0
jne 0x4a986e
mov byte [ebx], 1
jmp 0x4a986e
lea eax, [esp + 0x6c]
mov byte [ebx], 0
mov dword [esp + 0x28], eax
jmp 0x4a97d8
mov eax, dword [0x4ee828]
mov edx, dword [0x4ee82c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._info__context_u332_20
sub esp, 0x10
jmp 0x4a96ef
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
call sym._raiseRangeErrorI
jmp 0x4a960c
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sym._deallocShared
jmp 0x4a9771
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym._deallocShared
jmp 0x4a978a
mov eax, dword [0x4ee7f4]
mov edx, dword [0x4ee7f8]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._error__context_u319_20
movzx edi, byte [ebx]
sub esp, 0x10
jmp 0x4a9755
mov edi, 1
jmp 0x4a9755
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym._deallocShared
jmp 0x4a971e
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sym._deallocShared
jmp 0x4a9737
mov dword [esp], esi
call sym._deallocShared
jmp 0x4a9705
mov byte [ebx], 0
jmp 0x4a978a
lea eax, [esp + 0x84]
mov byte [ebx], 0
mov dword [esp + 0x44], eax
jmp 0x4a971e
lea eax, [esp + 0x84]
mov byte [ebx], 0
mov dword [esp + 0x44], eax
jmp 0x4a9705
mov dword [esp + 0x44], ecx
call sym._raiseOverflow
mov edi, dword [esp + 0x44]
jmp 0x4a95cc
call sym._raiseOverflow
jmp 0x4a960c