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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [eax]
mov dword [esp + 0x1c], edx
and edx, 8
mov esi, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
je 0x4739c8
movzx eax, byte [ebx]
test al, al
jne 0x4739a0
lea esi, [esi]
lea edi, [esp + 0x44]
lea eax, [esp + 0x38]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call sym.zsh.exe_mb_charinit
movzx eax, byte [ebx]
mov dword [esp + 0x2c], edi
xor ecx, ecx
xor edi, edi
test al, al
je 0x4739f4
mov dword [esp + 0x74], esi
mov ebp, ecx
lea esi, [esi]
cmp al, 0x9b
je 0x473ba8
movzx edx, byte [ebx]
mov eax, edx
test byte [edx + edx + sym.zsh.exe_typtab], 0x10
je 0x473bc3
movsx esi, al
mov eax, 1
add esi, 0x78
cmp esi, 0x18
ja case.0x47397f.119
jmp dword [esi*4 + 0x4f981c]
add ebx, edx
or dword [esi], 1
movzx eax, byte [ebx]
test al, al
je 0x473900
xor edx, edx
cmp al, 0x83
sete dl
jne 0x4739b0
movzx eax, byte [ebx + 1]
xor eax, 0x20
movzx eax, al
add edx, 1
test byte [eax + eax + 0x523921], 0x20
jne 0x473990
jmp 0x473900
lea eax, [esp + 0x44]
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.zsh.exe_prefork
mov ebx, dword [sym.zsh.exe_errflag]
test ebx, ebx
jne 0x473c20
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.zsh.exe_countlinknodes
mov esi, eax
cmp eax, 1
jg 0x473b28
test byte [esp + 0x40], 1
je 0x473c38
mov eax, dword [esp + 0x20]
test eax, eax
je 0x473c38
lea eax, [esi*4 + 4]
mov dword [esp], eax
call sym.zsh.exe_hcalloc
mov edx, dword [esp + 0x38]
mov edi, eax
test edx, edx
je 0x473d42
mov ebp, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
mov esi, edi
lea esi, [esi]
mov dword [esp], ebx
add esi, 4
call sym.zsh.exe_ugetnode
mov dword [esi - 4], eax
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x473a78
mov ecx, dword [esp + 0x20]
mov ebx, ebp
mov ebp, esi
mov esi, dword [esp + 0x1c]
mov dword [ebp], 0
test ecx, ecx
je 0x473ab9
cmp esi, 1
jg 0x473b57
test byte [esp + 0x40], 1
jne 0x473b57
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], edi
call sym.zsh.exe_sepjoin
mov ecx, dword [esp + 0x24]
xor edx, edx
mov dword [ecx], eax
jmp 0x473c24
xor ebp, 1
add ebx, eax
movzx eax, byte [ebx]
test al, al
jne 0x473950
mov esi, dword [esp + 0x74]
jmp 0x4739f4
add ebx, eax
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.zsh.exe_mb_metacharlenconv
add ebx, eax
movzx eax, byte [ebx]
test al, al
jne 0x473950
jmp 0x473af0
lea eax, [eax*4 + 4]
mov dword [esp], eax
call sym.zsh.exe_hcalloc
mov edi, eax
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x473a65
mov eax, dword [esp + 0x20]
mov dword [edi], 0
test eax, eax
je 0x473ab9
mov eax, dword [esp + 0x20]
mov edx, 0x20
mov dword [eax], edi
mov eax, dword [esp + 0x70]
mov dword [eax], edx
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
add ebx, eax
sub edi, 1
movzx eax, byte [ebx]
test al, al
jne 0x473950
jmp 0x473af0
add ebx, eax
add edi, 1
movzx eax, byte [ebx]
test al, al
jne 0x473950
jmp 0x473af0
mov edx, 0x2d
mov byte [ebx], 0x2d
mov eax, 0x2d
test byte [edx + edx + sym.zsh.exe_typtab], 0x10
jne 0x47396b
lea esi, [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], esi
call sym.zsh.exe_mb_metacharlenconv
mov edx, eax
mov eax, edi
or eax, ebp
mov eax, edx
jne case.0x47397f.119
movzx eax, word [esp + 0x34]
mov dword [esp + 4], 0x20
mov dword [esp + 0x28], edx
mov dword [esp], eax
call sym.zsh.exe_wcsitype
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, edx
test ecx, ecx
jne 0x473c70
add ebx, eax
xor edi, edi
xor ebp, ebp
movzx eax, byte [ebx]
test al, al
jne 0x473950
jmp 0x473af0
xor edx, edx
xor ebx, ebx
mov eax, dword [esp + 0x70]
mov dword [eax], edx
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x473d18
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.zsh.exe_ugetnode
mov ecx, dword [esp + 0x24]
xor edx, edx
xor ebx, ebx
test esi, esi
sete bl
mov dword [ecx], eax
mov eax, dword [esp + 0x70]
mov dword [eax], edx
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
add edx, ebx
mov byte [ebx], 0
movzx eax, byte [edx]
test al, al
je 0x473d29
mov dword [esp + 0x28], edi
mov edi, edx
jmp 0x473cc0
mov dword [esp + 4], esi
mov dword [esp], edi
call sym.zsh.exe_mb_metacharlenconv
mov dword [esp + 4], 0x20
mov ebx, eax
movzx eax, word [esp + 0x34]
mov dword [esp], eax
call sym.zsh.exe_wcsitype
test eax, eax
je 0x473d35
add edi, ebx
movzx eax, byte [edi]
test al, al
je 0x473d29
movzx ecx, al
test byte [ecx + ecx + sym.zsh.exe_typtab], 0x10
je 0x473c90
mov edx, edi
mov edi, dword [esp + 0x28]
movsx esi, al
mov ebx, 1
cmp byte [edx], 0
je 0x473d29
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], edx
mov dword [esp + 0x28], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.zsh.exe_insertlinknode
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, ebx
mov ebx, dword [esp + 0x28]
jmp 0x473973
mov dword [esp], 0x4f8fb8
call sym.zsh.exe_dupstring
jmp 0x473c4c
mov esi, dword [esp + 0x74]
or dword [esi], 2
jmp 0x4739f4
mov edx, edi
mov esi, 0xffffffff
mov edi, dword [esp + 0x28]
jmp 0x473cdb
mov dword [edi], 0
jmp 0x473aae