Function at 0x41bb80
Capabilities:
Create directory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
jne 0x41bc11
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n______________________________________________________________________________________________n
call edi
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push ebx
push esi
call fcn.00537300
push 0x57
push str.GetTempLocation
push 0x5f
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicedragon_update_api.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x5f
push str.GetTempLocation
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x41bc00
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
pop edi
pop esi
mov eax, 0x57
pop ebx
pop ebp
ret
push 2
push 0x800
call fcn.00536986
mov edi, dword [ebp + 0xc]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x41bcae
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n______________________________________________________________________________________________n
call edi
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push 8
push str.GetTempLocation
push 0x63
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicedragon_update_api.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x63
push str.GetTempLocation
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x41bc9d
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
pop edi
pop esi
mov eax, 8
pop ebx
pop ebp
ret
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
jne 0x41bde3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [edi]
test eax, eax
je 0x41bcdf
push eax
call fcn.005369c6
add esp, 4
mov dword [edi], 0
push str._n______________________________________________________________________________________________n
test ebx, ebx
je 0x41bd60
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call edi
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
push ebx
push str.GetTempLocation
push 0x6c
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicedragon_update_api.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x6c
push str.GetTempLocation
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x41bd52
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x10
call edi
push eax
push str.GetTempLocation
push 0x6c
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservicedragon_update_api.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x6c
push str.GetTempLocation
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x41bdd5
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call ebx
call edi
pop edi
pop esi
pop ebx
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [edi]
call esi
push str._temp_
push 0x800
push dword [edi]
call fcn.00538782
add esp, 0xc
push 0
push dword [edi]
call esi
push ebx
push 0x800
push dword [edi]
call fcn.00538782
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret