Function at 0x45314c74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
and byte [esi + 0x21], bl
and byte [esi + 0x20], bl
cmp dword [ebp + 8], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
je 0x45314d43
push dword [ebp + 8]
call sym.HHA.dll_Ordinal_23
mov edi, eax
mov dword [esi], eax
mov al, byte [edi]
cmp al, 0x20
je 0x45314cb8
cmp al, 9
jne 0x45314cc1
inc edi
push edi
call sym.HHA.dll_Ordinal_3
mov edi, eax
mov al, byte [edi]
cmp al, 0x22
je 0x45314cdb
cmp al, 0x3c
je 0x45314cd5
cmp al, 0x60
jne 0x45314cf4
mov byte [ebp + 8], 0x27
jmp 0x45314cdf
mov byte [ebp + 8], 0x3e
jmp 0x45314cdf
mov byte [ebp + 8], 0x22
push dword [ebp + 8]
inc edi
push edi
call sym.HHA.dll_Ordinal_8
cmp eax, ebx
je 0x45314e71
and byte [eax], 0
push edi
call sym.HHA.dll_Ordinal_263
cmp dword [ebp + 0xc], ebx
jne 0x45314d5d
push 0x5c
push edi
call sym.HHA.dll_Ordinal_10
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x45314d19
push 0x2f
push edi
call sym.HHA.dll_Ordinal_10
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x45314d3c
inc eax
push 0x2f
push eax
call sym.HHA.dll_Ordinal_10
cmp eax, ebx
je 0x45314d30
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
and byte [eax], 0
inc eax
mov dword [esi + 8], eax
jmp 0x45314d5d
mov dword [esi + 8], edi
xor edi, edi
jmp 0x45314d5d
mov ebx, 0x104
push ebx
call fcn.45341d70
pop ecx
mov dword [esi], eax
push eax
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor ebx, ebx
cmp edi, ebx
je 0x45314e80
mov cl, byte [edi]
cmp cl, 0x5c
jne 0x45314da6
cmp byte [edi + 1], cl
jne 0x45314da6
mov dword [esi + 0x10], edi
add edi, 2
push 0x5c
push edi
mov dword [esi + 0x1c], 2
call sym.HHA.dll_Ordinal_8
cmp eax, ebx
je 0x45314e71
inc eax
push 0x5c
push eax
call sym.HHA.dll_Ordinal_8
mov edi, eax
cmp edi, ebx
je 0x45314e71
and byte [edi], 0
jmp 0x45314dc6
cmp byte [edi + 1], 0x3a
jne 0x45314dba
lea eax, [esi + 0x20]
push eax
mov byte [eax], cl
call dword [sym.imp.USER32.dll_CharLowerA]
inc edi
inc edi
cmp byte [edi], 0x5c
jne 0x45314dc9
mov dword [esi + 0x1c], 1
inc edi
jmp 0x45314dd8
lea eax, [edi + 1]
cmp eax, dword [esi + 8]
jne 0x45314dd8
mov dword [esi + 0x1c], 1
mov al, byte [edi]
mov dword [ebp + 0xc], ebx
test al, al
je 0x45314e80
mov dword [ebp + 8], ebx
jmp 0x45314dec
xor ebx, ebx
cmp al, 0x2e
jne 0x45314e0d
cmp byte [edi + 1], al
jne 0x45314e42
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x45314e02
dec eax
mov dword [esi + 0x18], eax
jmp 0x45314e42
cmp dword [esi + 0x1c], 1
je 0x45314e71
inc dword [esi + 0x14]
jmp 0x45314e42
mov ebx, dword [esi + 0x18]
cmp ebx, dword [ebp + 0xc]
jne 0x45314e39
mov eax, dword [esi + 4]
add dword [ebp + 0xc], 0x10
add dword [ebp + 8], 0x40
push dword [ebp + 8]
test eax, eax
je 0x45314e30
push eax
call fcn.453422b0
pop ecx
jmp 0x45314e35
call fcn.45341d70
pop ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
mov dword [eax + ebx*4], edi
inc dword [esi + 0x18]
push 0x5c
push edi
mov ebx, edi
call sym.HHA.dll_Ordinal_8
mov edi, eax
test edi, edi
jne 0x45314e60
push 0x2f
push ebx
call sym.HHA.dll_Ordinal_8
mov edi, eax
test edi, edi
je 0x45314e80
and byte [edi], 0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x45314dea
jmp 0x45314e80
mov eax, dword [esi]
cmp eax, ebx
je 0x45314e80
push eax
call fcn.45341e40
pop ecx
mov dword [esi], ebx
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 8