Function at 0x409520
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44411e
mov eax, dword fs:[0]
push eax
sub esp, 0x588
mov eax, dword [0x45d55c]
xor eax, esp
mov dword [esp + 0x580], eax
push ebx
push esi
push edi
mov eax, dword [0x45d55c]
xor eax, esp
push eax
lea eax, [esp + 0x598]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], ebx
call fcn.00401890
mov edi, dword [ebp + 0x18]
cmp edi, ebx
mov dword [esp + 0x5a0], ebx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
jne 0x4095b0
push str.VC_
push ecx
push edx
call fcn.00401770
add esp, 0xc
mov byte [esp + 0x5a0], 1
jmp 0x4095c7
push 0x44caac
push ecx
push edx
call fcn.00401770
add esp, 0xc
mov byte [esp + 0x5a0], 2
push eax
lea ecx, [esp + 0x1c]
call fcn.004016b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x5a0], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40963b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x5a0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409634
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40a7af
push str.obj.h
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00401770
mov eax, dword [esp + 0x40]
push 0x44796c
push eax
mov byte [esp + 0x5b4], 3
call fcn.0042da56
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4096bb
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x5a0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409697
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x5a0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x409628
push str.ifndef___INCLUDE_OBJ_H___r_n
push ebx
call fcn.0042d843
push str.define___INCLUDE_OBJ_H___r_n_r_n
push ebx
call fcn.0042d843
push str.if__defined___cplusplus__r_n
push ebx
call fcn.0042d843
push str.error_C_compiler_required_r_n
push ebx
call fcn.0042d843
push str.endif_r_n_r_n
push ebx
call fcn.0042d843
add esp, 0x28
test edi, edi
jne 0x409731
push 0x44ca94
push ebx
call fcn.0042d843
add esp, 8
cmp dword [ebp + 0x14], edi
je 0x409713
push str.BOOL_LoadDm_PCWSTR_path___r_n
jmp 0x409718
push str.BOOL_LoadDm_PCSTR_path___r_n
push ebx
call fcn.0042d843
add esp, 8
push str.BOOL_FreeDm_void___r_n_r_n
push ebx
call fcn.0042d843
add esp, 8
jmp 0x409755
push 0x44ca00
push ebx
call fcn.0042d843
push 0x44c9c8
push ebx
call fcn.0042d843
push str.BOOL_LoadDmMemory_const_void__buffer_long_size_const_void__MemoryLoadData_long_MemoryLoadSize___r_n_r_n
push ebx
call fcn.0042d843
add esp, 0x18
push esi
push str.class__s_r_n_r_n
push ebx
call fcn.0042d843
push str.private:_r_n
push ebx
call fcn.0042d843
push str.____long_obj__r_n
push ebx
call fcn.0042d843
push 0x4480f8
push ebx
call fcn.0042d843
push str.public:_r_n
push ebx
call fcn.0042d843
push esi
push str._____s____r_n
push ebx
call fcn.0042d843
push esi
push str.____virtual__s____r_n_r_n
push ebx
call fcn.0042d843
mov ecx, dword [esp + 0x64]
add esp, 0x44
mov dword [esp + 0x1c], 0
call fcn.00401000
test eax, eax
jbe 0x4099ec
mov dword [esp + 0x24], 0
lea esp, [esp]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4097f7
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x6572ec3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jb 0x4097fc
call fcn.0042d299
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 4]
add esi, dword [esp + 0x24]
mov ecx, 0x143
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x409820
mov cl, byte [esp + eax + 0x3c]
mov byte [esp + eax + 0x54c], cl
add eax, 1
test cl, cl
jne 0x409820
mov edi, str.CreateObj
lea esi, [esp + 0x54c]
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4099c8
mov edi, str.ReleaseObj
lea esi, [esp + 0x54c]
mov ecx, 0xb
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4099c8
mov edi, str.SetRet64ToPointer
lea esi, [esp + 0x54c]
mov ecx, 0x12
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4099c8
mov edi, str.SetPointer
lea esi, [esp + 0x54c]
mov ecx, 0xb
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4099c8
push str.____virtual
push ebx
call fcn.0042d843
mov eax, dword [esp + 0x548]
add esp, 8
cmp eax, 3
jne 0x4098bf
push 0x44c040
jmp 0x4098ed
cmp eax, 0x14
jne 0x4098cb
push 0x44c034
jmp 0x4098ed
cmp eax, 8
jne 0x4098d7
push str.CString
jmp 0x4098ed
cmp eax, 4
jne 0x4098e3
push 0x44c020
jmp 0x4098ed
cmp eax, 5
jne 0x4098f6
push 0x44c018
push ebx
call fcn.0042d843
add esp, 8
lea ecx, [esp + 0x54c]
push ecx
push 0x44c014
push ebx
call fcn.0042d843
xor edi, edi
add esp, 0xc
cmp dword [esp + 0xbc], edi
jle 0x4099ba
lea esi, [esp + 0xc0]
mov eax, dword [esp + edi*4 + 0x4c0]
cmp eax, 3
jne 0x409936
push esi
push 0x447e94
jmp 0x409982
cmp eax, 0x14
jne 0x409943
push esi
push str.LONGLONG__s
jmp 0x409982
cmp eax, 4
jne 0x409950
push esi
push str.float__s
jmp 0x409982
cmp eax, 5
jne 0x40995d
push esi
push str.double__s
jmp 0x409982
cmp eax, 8
jne 0x409977
cmp dword [ebp + 0x14], 0
push esi
je 0x409970
push str.PCWSTR__s
jmp 0x409982
push str.PCSTR__s
jmp 0x409982
cmp eax, 0x1a
jne 0x40998b
push esi
push str.long__s
push ebx
call fcn.0042d843
add esp, 0xc
mov edx, dword [esp + 0xbc]
add edx, 0xffffffff
cmp edi, edx
jge 0x4099a7
push 0x447870
push ebx
call fcn.0042d843
add esp, 8
add edi, 1
add esi, 0x20
cmp edi, dword [esp + 0xbc]
jl 0x409922
push 0x4486e8
push ebx
call fcn.0042d843
add esp, 8
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x24], 0x50c
add esi, 1
mov dword [esp + 0x1c], esi
call fcn.00401000
cmp esi, eax
jb 0x4097d0
push str.__r_n_r_n
push ebx
call fcn.0042d843
push str.endif_r_n
push ebx
call fcn.0042d843
push ebx
call fcn.0042d7c7
push str.obj.cpp
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x44], 0
call fcn.00401770
add esp, 0x20
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x5a4], 4
call fcn.004016b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x5a0], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409a61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
push 0x44796c
push ecx
call fcn.0042da56
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x409a99
mov byte [esp + 0x5a0], al
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40968b
push str.include__stdafx.h__r_n
push ebx
call fcn.0042d843
push str.include__obj.h__r_n
push ebx
call fcn.0042d843
push str.include__windows.h__r_n
push ebx
call fcn.0042d843
mov esi, dword [ebp + 0x18]
add esp, 0x18
test esi, esi
je 0x409ad2
push str.include__MemoryModule.h__r_n
push ebx
call fcn.0042d843
add esp, 8
push 0x4480f8
push ebx
call fcn.0042d843
push str.static_long_g_dm_hmodule__0__r_n_r_n
push ebx
call fcn.0042d843
add esp, 0x10
test esi, esi
jne 0x409bbe
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x409b01
push str.BOOL_LoadDm_PCWSTR_path__r_n
jmp 0x409b06
push str.BOOL_LoadDm_PCSTR_path__r_n
push ebx
call fcn.0042d843
add esp, 8
push 0x4480e0
push ebx
call fcn.0042d843
push str.____if__g_dm_hmodule__return_TRUE__r_n_r_n
push ebx
call fcn.0042d843
add esp, 0x10
test esi, esi
je 0x409b33
push str.____g_dm_hmodule___long__ULONG_PTR_LoadLibraryW_path___r_n
jmp 0x409b38
push str.____g_dm_hmodule___long__ULONG_PTR_LoadLibraryA_path___r_n
push ebx
call fcn.0042d843
add esp, 8
push str.____if__g_dm_hmodule__return_TRUE__r_n
push ebx
call fcn.0042d843
push str.____return_FALSE__r_n
push ebx
call fcn.0042d843
push str._r_n_r_n
push ebx
call fcn.0042d843
push str.BOOL_FreeDm_void__r_n
push ebx
call fcn.0042d843
push 0x4480e0
push ebx
call fcn.0042d843
push str.____if__g_dm_hmodule__0__return_TRUE__r_n_r_n
push ebx
call fcn.0042d843
push str.____FreeLibrary__HMODULE__ULONG_PTR_g_dm_hmodule___r_n
push ebx
call fcn.0042d843
push str.____g_dm_hmodule__0__r_n
push ebx
call fcn.0042d843
add esp, 0x40
push str.____return_TRUE__r_n
push ebx
call fcn.0042d843
push str._r_n_r_n
push ebx
call fcn.0042d843
mov esi, dword [esp + 0x30]
add esp, 0x10
jmp 0x409cf4
mov esi, dword [esp + 0x20]
xor edi, edi
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.00401000
test eax, eax
jbe 0x409c5a
mov dword [esp + 0x14], edi
mov eax, dword [esi + 4]
test eax, eax
je 0x409bfc
mov esi, dword [esi + 8]
sub esi, eax
mov eax, 0x6572ec3
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x409c01
call fcn.0042d299
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 4]
add esi, dword [esp + 0x14]
mov ecx, 0x143
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edi, str.SetPointer
lea esi, [esp + 0x3c]
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov esi, dword [esp + 0x20]
je 0x409c4f
mov edi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x50c
add edi, 1
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.00401000
cmp edi, eax
jb 0x409bdb
jmp 0x409c5a
mov eax, dword [esp + 0x544]
mov dword [esp + 0x24], eax
push str.typedef_long__WINAPI__TypeMemoryLoad__const_void__long_long___r_n
push ebx
call fcn.0042d843
push str.BOOL_LoadDmMemory_const_void__buffer_long_size_const_void__MemoryLoadData_long_MemoryLoadSize__r_n
push ebx
call fcn.0042d843
push 0x4480e0
push ebx
call fcn.0042d843
push str.____if__g_dm_hmodule__return_TRUE__r_n_r_n
push ebx
call fcn.0042d843
push str.____long_hmodule_MemoryLoad__0__r_n
push ebx
call fcn.0042d843
push str.____TypeMemoryLoad_MemoryLoad__NULL__r_n
push ebx
call fcn.0042d843
push str.____hmodule_MemoryLoad___long__ULONG_PTR_MemoryLoadLibrary_MemoryLoadData__void__MemoryLoad___r_n
push ebx
call fcn.0042d843
push str.____if__hmodule_MemoryLoad__0__return_FALSE__r_n
push ebx
call fcn.0042d843
mov ecx, dword [esp + 0x64]
add esp, 0x40
push ecx
push str.____g_dm_hmodule__MemoryLoad_buffer_size__d___r_n
push ebx
call fcn.0042d843
push str.____MemoryFreeLibrary__void___ULONG_PTR_hmodule_MemoryLoad___r_n
push ebx
call fcn.0042d843
push str.____if__g_dm_hmodule__return_TRUE__r_n
push ebx
call fcn.0042d843
push str.____return_FALSE__r_n
push ebx
call fcn.0042d843
push str._r_n_r_n
push ebx
call fcn.0042d843
add esp, 0x2c
xor edi, edi
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.00401000
test eax, eax
jbe 0x409d8a
mov dword [esp + 0x14], edi
mov eax, dword [esi + 4]
test eax, eax
je 0x409d2e
mov esi, dword [esi + 8]
sub esi, eax
mov eax, 0x6572ec3
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x409d33
call fcn.0042d299
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 4]
add esi, dword [esp + 0x14]
mov ecx, 0x143
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edi, str.CreateObj
lea esi, [esp + 0x3c]
mov ecx, 0xa
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov esi, edx
je 0x409d7f
mov edi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x50c
add edi, 1
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.00401000
cmp edi, eax
jb 0x409d0d
jmp 0x409d8a
mov ecx, dword [esp + 0x544]
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x30]
push edi
push edi
push str._s::_s___r_n
push ebx
call fcn.0042d843
push 0x4480e0
push ebx
call fcn.0042d843
push str.____typedef_long__WINAPI_TypeCreateObj__void___r_n_r_n
push ebx
call fcn.0042d843
mov edx, dword [esp + 0x44]
push edx
push str.____TypeCreateObj_CreateObj___TypeCreateObj__ULONG_PTR__g_dm_hmodule___d___r_n
push ebx
call fcn.0042d843
push str.____obj__CreateObj____r_n
push ebx
call fcn.0042d843
push str._r_n_r_n
push ebx
call fcn.0042d843
xor eax, eax
add esp, 0x3c
mov ecx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
call fcn.00401000
test eax, eax
jbe 0x409e84
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x409e20
mov esi, dword [esi + 8]
sub esi, eax
mov eax, 0x6572ec3
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x409e25
call fcn.0042d299
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 4]
add esi, dword [esp + 0x14]
mov ecx, 0x143
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edi, str.ReleaseObj
lea esi, [esp + 0x3c]
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x409e71
mov edi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x50c
mov esi, eax
add edi, 1
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.00401000
cmp edi, eax
jb 0x409dff
jmp 0x409e80
mov eax, dword [esp + 0x544]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x30]
push edi
push edi
push 0x44ba58
push ebx
call fcn.0042d843
push 0x4480e0
push ebx
call fcn.0042d843
push str.____typedef_long__WINAPI__TypeReleaseObj__long___r_n_r_n
push ebx
call fcn.0042d843
mov ecx, dword [esp + 0x44]
push ecx
push str.____TypeReleaseObj_ReleaseObj___TypeReleaseObj__ULONG_PTR__g_dm_hmodule___d___r_n
push ebx
call fcn.0042d843
push str.____ReleaseObj_obj___r_n
push ebx
call fcn.0042d843
push str._r_n_r_n
push ebx
call fcn.0042d843
add esp, 0x3c
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00401000
test eax, eax
jbe 0x40a357
mov dword [esp + 0x14], 0
nop
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
test eax, eax
je 0x409f17
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x6572ec3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jb 0x409f1c
call fcn.0042d299
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 4]
add esi, dword [esp + 0x14]
mov ecx, 0x143
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x409f40
mov cl, byte [esp + eax + 0x3c]
mov byte [esp + eax + 0x54c], cl
add eax, 1
test cl, cl
jne 0x409f40
mov edi, str.CreateObj
lea esi, [esp + 0x54c]
mov ecx, 0xa
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40a333
mov edi, str.ReleaseObj
lea esi, [esp + 0x54c]
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40a333
mov edi, str.SetRet64ToPointer
lea esi, [esp + 0x54c]
mov ecx, 0x12
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40a333
mov edi, str.SetPointer
lea esi, [esp + 0x54c]
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40a333
mov eax, dword [esp + 0x540]
cmp eax, 3
jne 0x409fd6
mov eax, dword [esp + 0x30]
push eax
push str.long__s::
jmp 0x40a018
cmp eax, 0x14
jne 0x409fe7
mov ecx, dword [esp + 0x30]
push ecx
push str.LONGLONG__s::
jmp 0x40a018
cmp eax, 8
jne 0x409ff8
mov edx, dword [esp + 0x30]
push edx
push str.CString__s::
jmp 0x40a018
cmp eax, 4
jne 0x40a009
mov eax, dword [esp + 0x30]
push eax
push str.float__s::
jmp 0x40a018
cmp eax, 5
jne 0x40a021
mov ecx, dword [esp + 0x30]
push ecx
push str.double__s::
push ebx
call fcn.0042d843
add esp, 0xc
lea edx, [esp + 0x54c]
push edx
push 0x44c014
push ebx
call fcn.0042d843
xor edi, edi
add esp, 0xc
cmp dword [esp + 0xbc], edi
jle 0x40a0e8
lea esi, [esp + 0xc0]
lea ecx, [ecx]
mov eax, dword [esp + edi*4 + 0x4c0]
cmp eax, 3
jne 0x40a064
push esi
push 0x447e94
jmp 0x40a0b0
cmp eax, 0x14
jne 0x40a071
push esi
push str.LONGLONG__s
jmp 0x40a0b0
cmp eax, 4
jne 0x40a07e
push esi
push str.float__s
jmp 0x40a0b0
cmp eax, 5
jne 0x40a08b
push esi
push str.double__s
jmp 0x40a0b0
cmp eax, 8
jne 0x40a0a5
cmp dword [ebp + 0x14], 0
push esi
je 0x40a09e
push str.PCWSTR__s
jmp 0x40a0b0
push str.PCSTR__s
jmp 0x40a0b0
cmp eax, 0x1a
jne 0x40a0b9
push esi
push str.long__s
push ebx
call fcn.0042d843
add esp, 0xc
mov eax, dword [esp + 0xbc]
add eax, 0xffffffff
cmp edi, eax
jge 0x40a0d5
push 0x447870
push ebx
call fcn.0042d843
add esp, 8
add edi, 1
add esi, 0x20
cmp edi, dword [esp + 0xbc]
jl 0x40a050
push 0x44786c
push ebx
call fcn.0042d843
push 0x4480e0
push ebx
call fcn.0042d843
push str.____typedef
push ebx
call fcn.0042d843
mov eax, dword [esp + 0x558]
add esp, 0x18
cmp eax, 3
jne 0x40a11f
push 0x44c040
jmp 0x40a15a
cmp eax, 0x14
jne 0x40a12b
push 0x44c034
jmp 0x40a15a
cmp eax, 8
jne 0x40a144
cmp dword [ebp + 0x14], 0
je 0x40a13d
push str.PCWSTR
jmp 0x40a15a
push str.PCSTR
jmp 0x40a15a
cmp eax, 4
jne 0x40a150
push 0x44c020
jmp 0x40a15a
cmp eax, 5
jne 0x40a163
push 0x44c018
push ebx
call fcn.0042d843
add esp, 8
lea ecx, [esp + 0x54c]
push ecx
push str._WINAPI__Type_s__long
push ebx
call fcn.0042d843
add esp, 0xc
cmp dword [esp + 0xbc], 0
jle 0x40a191
push 0x447870
push ebx
call fcn.0042d843
add esp, 8
xor esi, esi
cmp dword [esp + 0xbc], esi
jle 0x40a27c
lea edi, [esp + 0xc0]
jmp 0x40a1b0
mov eax, dword [esp + esi*4 + 0x4c0]
cmp eax, 3
jne 0x40a1cf
push str.long
push ebx
call fcn.0042d843
add esp, 8
jmp 0x40a24d
cmp eax, 0x14
jne 0x40a1e4
push str.LONGLONG
push ebx
call fcn.0042d843
add esp, 8
jmp 0x40a24d
cmp eax, 4
jne 0x40a1f9
push str.float
push ebx
call fcn.0042d843
add esp, 8
jmp 0x40a24d
cmp eax, 5
jne 0x40a20e
push str.double
push ebx
call fcn.0042d843
add esp, 8
jmp 0x40a24d
cmp eax, 8
jne 0x40a239
cmp dword [ebp + 0x14], 0
je 0x40a229
push 0x44c354
push ebx
call fcn.0042d843
add esp, 8
jmp 0x40a24d
push 0x44c34c
push ebx
call fcn.0042d843
add esp, 8
jmp 0x40a24d
cmp eax, 0x1a
jne 0x40a24d
push edi
push 0x44c344
push ebx
call fcn.0042d843
add esp, 0xc
mov edx, dword [esp + 0xbc]
add edx, 0xffffffff
cmp esi, edx
jge 0x40a269
push 0x447870
push ebx
call fcn.0042d843
add esp, 8
add esi, 1
add edi, 0x20
cmp esi, dword [esp + 0xbc]
jl 0x40a1b0
push str.___r_n_r_n
push ebx
call fcn.0042d843
mov eax, dword [esp + 0x54c]
push eax
lea ecx, [esp + 0x558]
push ecx
mov edx, ecx
push edx
push str.____Type_s_fun___Type_s__ULONG_PTR__g_dm_hmodule___d___r_n
push ebx
call fcn.0042d843
push str.____return_fun_obj
push ebx
call fcn.0042d843
add esp, 0x24
cmp dword [esp + 0xbc], 0
jle 0x40a2cb
push 0x447870
push ebx
call fcn.0042d843
add esp, 8
xor esi, esi
cmp dword [esp + 0xbc], esi
jle 0x40a31a
lea edi, [esp + 0xc0]
lea ecx, [ecx]
push edi
push 0x447854
push ebx
call fcn.0042d843
mov eax, dword [esp + 0xc8]
add eax, 0xffffffff
add esp, 0xc
cmp esi, eax
jge 0x40a30b
push 0x447870
push ebx
call fcn.0042d843
add esp, 8
add esi, 1
add edi, 0x20
cmp esi, dword [esp + 0xbc]
jl 0x40a2e0
push 0x4486e8
push ebx
call fcn.0042d843
push str._r_n_r_n
push ebx
call fcn.0042d843
add esp, 0x10
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x14], 0x50c
add esi, 1
mov dword [esp + 0x1c], esi
call fcn.00401000
cmp esi, eax
jb 0x409ef0
push ebx
call fcn.0042d7c7
mov edi, dword [ebp + 0x18]
add esp, 4
test edi, edi
je 0x40a4d3
push 0x4485d0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00401770
mov eax, dword [eax]
push eax
mov ebx, 1
push 0x8d
mov byte [esp + 0x5b4], 5
mov dword [esp + 0x3c], ebx
call fcn.0040b070
add esp, 0x14
test eax, eax
lea esi, [ebx + 5]
je 0x40a425
push str.MemoryModule.h
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00401770
mov eax, dword [eax]
push eax
push 0x8f
mov dword [esp + 0x5b4], esi
mov dword [esp + 0x3c], 3
call fcn.0040b070
add esp, 0x14
test eax, eax
je 0x40a421
push str.MemoryModule.cpp
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00401770
mov eax, dword [eax]
mov ecx, 7
push eax
push 0x90
mov dword [esp + 0x5b4], ecx
mov dword [esp + 0x3c], ecx
call fcn.0040b070
add esp, 0x14
test eax, eax
je 0x40a421
mov ebx, dword [esp + 0x28]
mov byte [esp + 0x2f], 0
jmp 0x40a42a
mov ebx, dword [esp + 0x28]
mov byte [esp + 0x2f], 1
test bl, 4
mov dword [esp + 0x5a0], esi
je 0x40a45d
mov eax, dword [esp + 0x14]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [esp + 0x28], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a45d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 2
mov dword [esp + 0x5a0], 5
je 0x40a494
mov eax, dword [esp + 0x24]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x28], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a494
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x5a0], 3
je 0x40a4c7
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
and ebx, 0xfffffffe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a4c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x2f], 0
je 0x40a4d7
jmp 0x40966f
mov ebx, dword [esp + 0x28]
push 0x447828
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00401770
mov eax, dword [esp + 0x44]
push 0x44796c
push eax
mov byte [esp + 0x5b4], 8
call fcn.0042da56
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x40a53c
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x5a0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40966f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40966f
test edi, edi
je 0x40a5ab
push 0x44c270
push esi
call fcn.0042d843
push 0x44c220
push esi
call fcn.0042d843
push 0x4484b0
push esi
call fcn.0042d843
push 0x448458
push esi
call fcn.0042d843
push 0x448430
push esi
call fcn.0042d843
push 0x44b5c0
push esi
call fcn.0042d843
push 0x4481b4
push esi
call fcn.0042d843
push 0x44818c
push esi
call fcn.0042d843
add esp, 0x40
push str.GetBasePath
push esi
call fcn.0042d843
add esp, 8
jmp 0x40a5da
push 0x44b650
push esi
call fcn.0042d843
push 0x44c1a8
push esi
call fcn.0042d843
push 0x44c16c
push esi
call fcn.0042d843
push 0x44b5c0
push esi
call fcn.0042d843
add esp, 0x20
push esi
call fcn.0042d7c7
push str.example_ui_.rar
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00401770
mov eax, dword [eax]
push eax
or ebx, 8
push 0x81
mov byte [esp + 0x5b8], 9
mov dword [esp + 0x40], ebx
call fcn.0040b070
add esp, 0x18
test eax, eax
je 0x40a692
push str.example_console_.rar
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00401770
mov eax, dword [eax]
push eax
or ebx, 0x10
push 0x82
mov dword [esp + 0x5b4], 0xa
mov dword [esp + 0x3c], ebx
call fcn.0040b070
add esp, 0x14
test eax, eax
je 0x40a692
push 0x44b57c
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00401770
mov eax, dword [eax]
push eax
or ebx, 0x20
push 0x83
mov dword [esp + 0x5b4], 0xb
mov dword [esp + 0x3c], ebx
call fcn.0040b070
add esp, 0x14
test eax, eax
je 0x40a692
mov esi, 1
jmp 0x40a694
xor esi, esi
test bl, 0x20
mov dword [esp + 0x5a0], 0xa
je 0x40a6cb
mov eax, dword [esp + 0x14]
and ebx, 0xffffffdf
add eax, 0xfffffff0
mov dword [esp + 0x28], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a6cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x10
mov dword [esp + 0x5a0], 9
je 0x40a702
mov eax, dword [esp + 0x24]
and ebx, 0xffffffef
add eax, 0xfffffff0
mov dword [esp + 0x28], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a702
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 8
mov dword [esp + 0x5a0], 8
je 0x40a732
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a732
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x5a0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a75a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x5a0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a782
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x5a0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a7ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x598]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x580]
xor ecx, esp
call fcn.0042d746
mov esp, ebp
pop ebp
ret