Function at 0x433780
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x45d600]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x234]
push ebx
push ebp
push esi
push edi
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push 0x400000
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebp, eax
mov al, 0x2e
cmp byte [esp + ebp + 0x28], al
je 0x4337c9
dec ebp
cmp byte [esp + ebp + 0x28], al
jne 0x4337c2
mov edx, 0x103
push 0x456430
sub edx, ebp
push edx
lea eax, [esp + ebp + 0x31]
push eax
call fcn.00435e29
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4338f5
lea edx, [esp + 0x130]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x43399a
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x433830
sub eax, edx
mov ebx, eax
cmp byte [esp + ebx + 0x12f], 0x5c
je 0x43384e
mov byte [esp + ebx + 0x12f], 0x5c
inc ebx
lea esi, [esp + 0x28]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x433855
sub esi, ecx
mov edi, edi
cmp byte [esp + esi + 0x28], 0x5c
je 0x43386a
dec esi
jmp 0x433860
lea edi, [esi - 1]
lea ecx, [ecx]
mov al, byte [esp + edi + 0x28]
cmp al, 0x5c
je 0x43387f
cmp al, 0x3a
je 0x43387f
dec edi
jmp 0x433870
lea eax, [edi + 1]
cmp eax, esi
jne 0x433888
mov edi, eax
lea eax, [esp + edi + 0x29]
push eax
mov ecx, 0x104
sub ecx, ebx
push ecx
lea edx, [esp + ebx + 0x138]
push edx
call fcn.00435e29
add esp, 0xc
cmp esi, edi
je 0x4338ca
sub esi, edi
add esi, ebx
push 0
lea eax, [esp + 0x134]
lea esi, [esp + esi + 0x133]
push eax
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea ecx, [esp + 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43399a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp byte [esp + ebp + 0x28], 0x5c
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
je 0x43391e
dec ebp
cmp byte [esp + ebp + 0x28], 0x5c
jne 0x433916
mov eax, dword [0x469e70]
neg eax
sbb eax, eax
not eax
and eax, 0x433670
lea ecx, [esp + 0x28]
push str.DbgHelp.dll
mov byte [esp + ebp + 0x2d], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
je 0x433993
push str.MiniDumpWriteDump
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43398c
xor ecx, ecx
cmp dword [0x469e70], ecx
lea edx, [esp + 0x14]
setne cl
push edx
push 0
lea eax, [esp + 0x24]
push eax
inc ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043581d
add esp, 0x230
ret