Function at 0x43f697
Capabilities:
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 3
add esp, 0xfffff004
push eax
dec eax
jne 0x43f6a0
mov eax, dword [ebp - 4]
add esp, 0xfffffa54
push ebx
push esi
push edi
mov esi, eax
mov edi, 0x4c3188
mov eax, 0x4b0228
call fcn.004a0204
lea edx, [edi + 0x810]
push edx
lea ecx, [ebp - 0x520]
push ecx
call fcn.0049fdd4
add esp, 8
lea edx, [edi + 0xc10]
lea eax, [ebp - 0xd20]
call fcn.00411488
mov byte [edi + 0x810], 0
mov word [edi + 0xc10], 0
xor ecx, ecx
mov cl, byte [ebp - 0x520]
cmp ecx, 0x3f
jne 0x43f868
cmp word [ebp - 0xd20], 0
je 0x43f727
cmp word [ebp - 0xd20], 0x3f
jne 0x43f868
cmp word [ebp - 0xd20], 0
lea ebx, [ebp - 0x51f]
jne 0x43f73e
mov eax, 0x4afe36
jmp 0x43f744
lea eax, [ebp - 0xd1e]
mov edx, eax
mov eax, ebx
call fcn.00466ee0
cmp dword [esi + 0x104], 1
jbe 0x43f7cb
mov word [ebp - 0x10c], 8
lea eax, [ebp - 0xf8]
call fcn.00410634
add dword [ebp - 0x100], 4
mov word [ebp - 0x10c], 0x14
lea edx, [ebp - 0xf8]
mov eax, esi
call fcn.004401f5
push 0
push 0
cmp byte [ebx], 0
lea ecx, [ebp - 0xf8]
sete dl
and edx, 1
mov al, 1
push edx
xor edx, edx
push 1
call fcn.0044e7e0
sub dword [ebp - 0x100], 4
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.0041070c
mov word [ebp - 0x10c], 0
jmp 0x43f856
cmp dword [esi + 0x104], 1
jne 0x43f824
lea ecx, [ebp - 0x1950]
xor edx, edx
mov eax, esi
call fcn.00463494
lea edx, [ebp - 0x1950]
lea eax, [edi + 0x4700]
mov ecx, 0x400
call fcn.0040ffdc
lea ecx, [ebp - 0x2580]
xor edx, edx
mov eax, esi
call fcn.00463494
lea edx, [ebp - 0x2580]
add edx, 0x400
lea eax, [edi + 0x4b00]
mov ecx, 0x3ff
call fcn.004114a0
push 1
push 0
lea ecx, [edi + 0x4b00]
lea edx, [edi + 0x4700]
mov eax, 0x4d0b94
call fcn.00457674
dec eax
jne 0x43f856
cmp byte [ebx], 0
mov cl, 1
sete al
and eax, 1
xor edx, edx
push eax
mov al, 1
call fcn.0044e1a0
mov edx, dword [ebp - 0x11c]
mov dword fs:[0], edx
jmp 0x43faf7
xor ebx, ebx
mov bl, byte [edi + 0x3ad0]
push ebx
call fcn.004a3e80
pop ecx
cmp eax, 0x45
jne 0x43f886
mov dword [edi + 0x28c8], 2
xor ebx, ebx
mov bl, byte [edi + 0x3ad0]
push ebx
call fcn.004a3e80
pop ecx
cmp eax, 0x54
sete al
and eax, 1
mov byte [edi + 0x29ce], al
mov byte [ebp - 0x2980], 0
cmp byte [ebp - 0x520], 0
je 0x43f8d8
lea edx, [ebp - 0x2980]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea edx, [ebp - 0xd20]
lea eax, [ebp - 0x520]
xor ecx, ecx
call fcn.0040a4a0
call fcn.0048aa5c
mov dword [ebp - 0x120], eax
cmp byte [edi + 0x3ab8], 0
je 0x43f8fc
cmp dword [esi + 0x104], 1
ja 0x43f8fc
mov byte [edi + 0x2e95], 0
xor ebx, ebx
jmp 0x43fa5e
mov eax, dword [edi + 0x530c]
call fcn.00410788
lea ecx, [ebp - 0x35b0]
mov edx, ebx
mov eax, esi
call fcn.00463494
lea edx, [ebp - 0x35b0]
lea eax, [edi + 0x4700]
mov ecx, 0x400
call fcn.0040ffdc
lea edx, [ebp - 0x31b0]
lea eax, [edi + 0x4b00]
mov ecx, 0x400
call fcn.00410000
mov edx, dword [ebp - 0x2984]
mov dword [edi + 0x32b0], edx
cmp byte [edi + 0x4700], 0
jne 0x43f96c
cmp word [edi + 0x4b00], 0
je 0x43fa5d
cmp byte [edi + 0x29ce], 0
mov al, 0x54
jne 0x43f97a
add eax, 4
lea edx, [edi + 0x4700]
call fcn.004786f0
cmp byte [edi + 0x29ce], 0
jne 0x43f9cb
cmp byte [ebp - 0x520], 0
je 0x43f9cb
lea edx, [ebp - 0xd20]
lea eax, [ebp - 0x520]
call fcn.00466ee0
test al, al
jne 0x43f9cb
lea ecx, [ebp - 0x520]
mov eax, 0x1f7
push ecx
call fcn.00413388
push eax
call fcn.0048a820
add esp, 8
jmp 0x43fa73
push 1
push 0
lea ecx, [ebp - 0x31b0]
lea edx, [ebp - 0x35b0]
mov eax, 0x4d0b94
call fcn.00457674
cmp byte [edi + 0x29ce], 0
je 0x43fa18
mov eax, 0x4d0b94
call fcn.0045536c
test al, 1
jne 0x43fa18
mov eax, 0x3ac
call fcn.00413388
push eax
lea edx, [ebp - 0x35b0]
push edx
call fcn.00480d50
add esp, 8
jmp 0x43fa2a
mov eax, 0x4d0b94
xor ecx, ecx
mov dl, byte [edi + 0x3ab6]
call fcn.00454664
cmp byte [ebp - 0x2980], 0
je 0x43fa40
lea eax, [ebp - 0x2980]
push eax
call fcn.004a186c
pop ecx
mov eax, dword [ebp - 0x29b0]
mov edx, dword [ebp - 0x29ac]
add dword [0x4d3130], eax
adc dword [0x4d3134], edx
call fcn.00478514
inc ebx
cmp ebx, dword [esi + 0x104]
jae 0x43fa73
cmp dword [0x4d27e4], 0
je 0x43f903
call fcn.0048aa5c
cmp eax, dword [ebp - 0x120]
jne 0x43fa92
cmp dword [0x4d27e8], 0
jne 0x43fa92
cmp dword [0x4d27e4], 0
je 0x43fa96
xor eax, eax
jmp 0x43fa9b
mov eax, 1
cmp byte [edi + 0x29ce], 0
je 0x43faea
cmp byte [edi + 0x3ab8], 0
je 0x43faea
test al, al
je 0x43faea
cmp dword [0x4cfe40], 0
je 0x43faea
push 0
push dword [0x4cfe40]
call sub.USER32.DLL_ShowWindow
push 0x40
mov eax, 0x3a7
call fcn.00413388
push eax
mov eax, 0x3a8
call fcn.00413388
push eax
push dword [0x4cfe34]
call sub.USER32.DLL_MessageBoxA
mov edx, dword [ebp - 0x11c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret