Function at 0x414c90
Capabilities:
Create directory
Create thread

Disassembly:
sub esp, 0x23c
mov al, byte [0x4eb858]
push ebp
push esi
mov esi, ecx
push edi
mov byte [esp + 0x40], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x41]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jne 0x414d0d
push 0
push 8
push 0x110a
push eax
call edi
test eax, eax
jne 0x414ceb
mov ecx, dword [esi + 0x10]
push eax
push 9
push 0x110a
push ecx
call edi
mov edx, dword [esi + 0x10]
push eax
push edx
call fcn.00404c10
add esp, 8
test eax, eax
je 0x414d73
mov edx, dword [eax + 4]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
jmp 0x414d73
mov eax, dword [esi + 0x24]
cmp ecx, eax
jne 0x414d61
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call edi
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
push eax
push 0
push 0x1005
push ecx
mov dword [esp + 0x30], 0
call edi
mov edx, dword [esp + 0x38]
neg eax
sbb eax, eax
and eax, edx
cmp dword [eax + 0xc], 1
jne 0x414d73
mov edx, dword [eax + 8]
lea eax, [esp + 0x40]
push edx
push eax
jmp 0x414d6d
lea ecx, [esi + 0x20c]
lea edx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, byte [esp + 0x40]
test al, al
je 0x414fe3
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
xor ebp, ebp
inc ebp
cmp ebp, 1
jne 0x414da2
mov ecx, dword [esi + 0x200]
lea eax, [esp + 0x1c]
push 0x28
push eax
push 0x78
push ecx
call ebx
jmp 0x414db9
mov edx, dword [esi + 0x200]
push ebp
push 0x79
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0044c380
add esp, 0x10
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x14c]
push edx
push eax
call fcn.0044a2d0
lea ecx, [esp + 0x154]
push 0
push ecx
call fcn.004becfa
add esp, 0x14
test eax, eax
je 0x414d88
mov eax, dword [esi + 0xbc]
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x414e39
mov edx, dword [esi + 0xb4]
push edx
call ebp
mov eax, dword [esi + 0xbc]
push 0xbb8
push eax
call ebx
cmp eax, 0x102
jne 0x414e22
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [esi + 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xbc], 0
lea edx, [esp + 0x148]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [esp + 0x10], eax
mov eax, dword [0x4eb46c]
test eax, eax
je 0x414ed1
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x414ea7
mov eax, dword [esi + 0xb4]
push eax
call ebp
mov ecx, dword [esi + 0xbc]
push 0xbb8
push ecx
call ebx
cmp eax, 0x102
jne 0x414e86
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [esi + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xbc], 0
mov eax, dword [esi + 0xbc]
test eax, eax
jne 0x414ed1
mov eax, dword [esi + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
push 0x411fb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xbc], eax
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
jne 0x414ef9
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x200]
push 0x77
push edx
push eax
call fcn.0044aec0
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x23c
ret
mov eax, dword [0x4eb434]
test eax, eax
je 0x414f42
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0xb
push ecx
call edi
push 1
push 0
mov ecx, esi
call fcn.0041ce90
mov edx, dword [esi + 0x10]
push 0
push 9
push 0x110a
push edx
call edi
push eax
mov eax, dword [esi + 0x10]
push 2
push 0x1102
push eax
call edi
mov ecx, dword [esi + 0x10]
push 0
push 1
push 0xb
push ecx
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
cmp edx, eax
jne 0x414fb1
lea eax, [esp + 0x144]
mov ecx, esi
push eax
call fcn.0041cd60
mov ecx, dword [esi + 0x10]
mov ebp, eax
push ebp
push 3
push 0x110a
push ecx
call edi
mov edx, dword [esi + 0x10]
push eax
push 2
push 0x1102
push edx
call edi
mov eax, dword [esi + 0x10]
push ebp
push 0
push 0x110e
push eax
call edi
lea ecx, [esi + 0x20c]
lea edx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414fe3
push 1
mov ecx, esi
call fcn.0041ec00
pop edi
pop esi
pop ebp
add esp, 0x23c
ret
mov eax, dword [0x4eb3d0]
cmp eax, 4
je 0x414fc9
cmp eax, 5
je 0x414fc9
mov eax, dword [0x4eb478]
test eax, eax
je 0x414fe3
push 1
mov ecx, esi
call fcn.0041ec00
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.004142d0
pop edi
pop esi
pop ebp
add esp, 0x23c
ret