Function at 0x4fb6c0
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x394
push 0xffffffffffffffff
push 0x4e580a
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x55b090]
xor eax, ebp
mov dword [ebp + 0x390], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x14], 0
mov edx, 0x51c884
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004c6fd0
mov edi, eax
lea eax, [ebp + 0x39c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp + 0x378]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [edi]
mov ebx, 0x1000
mov ecx, dword [esi]
mov dword [ebp - 0x14], ebx
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp + 0x378]
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp + 0x378]
lea edx, [ebp]
call fcn.0041f0f0
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
je 0x4fc245
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test byte [ebp], 0x10
lea eax, [ebp + 0x2c]
push eax
je 0x4fbaf3
lea ecx, [ebp + 0x380]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp + 0x380]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
push 0x526e54
lea ecx, [ebp + 0x360]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x380]
push dword [ebp + 0x360]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea ecx, [ebp + 0x360]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4fb8dd
lea ecx, [ebp + 0x37c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp + 0x250]
mov byte [ebp - 4], 9
call fcn.004a2e70
xor esi, esi
nop dword [eax]
mov cl, byte [esi*2 + 0x51c895]
mov al, byte [esi*2 + 0x51c894]
add cl, 0x80
shl al, 4
or cl, al
movzx eax, cl
lea ecx, [ebp + 0x250]
push eax
call fcn.00488490
mov byte [ebp - 0x8c], al
test esi, esi
jle 0x4fb871
push dword [ebp - 0x8c]
lea ecx, [ebp + 0x37c]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 3
jl 0x4fb830
push dword [ebp + 0x37c]
lea ecx, [ebp + 0x250]
call fcn.0045f760
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
push dword [eax]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov eax, dword [ebp + 0x250]
lea ecx, [ebp + 0x254]
cmp eax, ecx
je 0x4fb8ad
push eax
call edi
add esp, 4
lea ecx, [ebp + 0x37c]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x380]
push dword [ebp - 0x1c]
or ebx, 0x2001
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x4fb8e1
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 7
test bl, 1
je 0x4fb8fc
and ebx, 0xfffffffe
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp byte [ebp - 0xd], 0
mov edi, ebx
mov dword [ebp - 0x18], edi
je 0x4fbae8
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x384]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp + 0x384]
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__20]
cmp byte [ebp + 0x3a4], 0
je 0x4fb979
mov edx, 0x526560
lea ecx, [ebp - 0x40]
call fcn.004c6fd0
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0x384]
push dword [eax]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea ecx, [ebp - 0x40]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x4fb9ab
lea ecx, [ebp + 0x384]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x380]
jmp 0x4fc1c8
mov edx, 0x525b40
lea ecx, [ebp - 0x44]
call fcn.004c6fd0
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 0x384]
push dword [eax]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea ecx, [ebp - 0x44]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x4fbadc
lea ecx, [ebp + 0x39c]
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov ecx, dword [ebp + 0x39c]
mov esi, eax
push 1
push 0x51b4bc
lea eax, [ebp - 0x20]
or ebx, 0x4000
push dword [ecx - 0xc]
mov dword [ebp - 0x14], ebx
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
lea eax, [ebp + 0x2c]
mov edx, esi
push eax
lea ecx, [ebp + 0x35c]
call fcn.0045e670
add esp, 0x18
mov esi, edi
and esi, 0xffffbfff
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x3a0]
mov byte [ebp - 4], 0x13
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov ecx, dword [ebp + 0x3a0]
mov edi, eax
push 1
push 0x51b4bc
lea eax, [ebp - 0x24]
or esi, 0x10000
push dword [ecx - 0xc]
mov dword [ebp - 0x14], esi
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
lea eax, [ebp + 0x2c]
mov edx, edi
push eax
lea ecx, [ebp + 0x374]
call fcn.0045e670
add esp, 0x18
mov ebx, dword [ebp - 0x18]
and ebx, 0xfffebfff
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
push dword [ebp + 0x374]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 0x3a4]
lea eax, [ebp + 0x374]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
push ecx
lea eax, [ebp + 0x35c]
mov byte [ebp - 4], 0x16
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x15
call fcn.004fb6c0
lea ecx, [ebp + 0x374]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x35c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x384]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x380]
jmp 0x4fc1c8
lea ecx, [ebp + 0x38c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp + 0x38c]
mov byte [ebp - 4], 0x17
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__20]
cmp byte [ebp + 0x3a4], 0
je 0x4fbc85
lea ecx, [ebp + 0x370]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp + 0x250]
mov byte [ebp - 4], 0x18
call fcn.004a2e70
xor esi, esi
nop dword [eax]
mov cl, byte [esi*2 + 0x526574]
mov al, byte [esi*2 + 0x526575]
shl cl, 4
add al, 0x80
or cl, al
movzx eax, cl
lea ecx, [ebp + 0x250]
push eax
call fcn.00488490
mov byte [ebp - 0x50], al
test esi, esi
jle 0x4fbb7a
push dword [ebp - 0x50]
lea ecx, [ebp + 0x370]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 5
jl 0x4fbb40
push dword [ebp + 0x370]
lea ecx, [ebp + 0x250]
call fcn.0045f760
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x28]
push dword [eax]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov eax, dword [ebp + 0x250]
lea ecx, [ebp + 0x254]
cmp eax, ecx
je 0x4fbbb6
push eax
call edi
add esp, 4
lea ecx, [ebp + 0x370]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0x1b
lea ecx, [ebp + 0x38c]
push 0
push dword [ebp - 0x28]
or ebx, 0x40002
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
test eax, eax
jns 0x4fbc3a
mov edx, 0x526580
lea ecx, [ebp - 0x58]
call fcn.004c6fd0
mov dword [ebp - 4], 0x1c
lea ecx, [ebp + 0x38c]
push 0
push dword [eax]
or ebx, 4
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
test eax, eax
jns 0x4fbc3a
mov edx, 0x526590
lea ecx, [ebp - 0x54]
call fcn.004c6fd0
push 0
lea ecx, [ebp + 0x38c]
or ebx, 8
push dword [eax]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
mov byte [ebp - 0xd], 1
test eax, eax
js 0x4fbc3e
mov byte [ebp - 0xd], 0
test bl, 8
je 0x4fbc4f
lea ecx, [ebp - 0x54]
and ebx, 0xfffffff7
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test bl, 4
je 0x4fbc60
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffb
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp byte [ebp - 0xd], 0
je 0x4fc1c2
jmp 0x4fbed6
lea ecx, [ebp + 0x36c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp + 0x250]
mov byte [ebp - 4], 0x1d
call fcn.004a2e70
xor esi, esi
nop word [eax + eax]
mov cl, byte [esi*2 + 0x524494]
mov al, byte [esi*2 + 0x524495]
shl cl, 4
add al, 0x80
or cl, al
movzx eax, cl
lea ecx, [ebp + 0x250]
push eax
call fcn.00488490
mov byte [ebp - 0x5c], al
test esi, esi
jle 0x4fbcea
push dword [ebp - 0x5c]
lea ecx, [ebp + 0x36c]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 5
jl 0x4fbcb0
push dword [ebp + 0x36c]
lea ecx, [ebp + 0x250]
call fcn.0045f760
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2c]
push dword [eax]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov eax, dword [ebp + 0x250]
lea ecx, [ebp + 0x254]
cmp eax, ecx
je 0x4fbd26
push eax
call edi
add esp, 4
lea ecx, [ebp + 0x36c]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0x20
lea ecx, [ebp + 0x38c]
push 0
push dword [ebp - 0x2c]
or ebx, 0x80010
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
test eax, eax
jns 0x4fbe4f
mov edx, 0x52659c
lea ecx, [ebp - 0x70]
call fcn.004c6fd0
mov dword [ebp - 4], 0x21
lea ecx, [ebp + 0x38c]
push 0
push dword [eax]
or ebx, 0x20
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
test eax, eax
jns 0x4fbe4f
mov edx, 0x5265a8
lea ecx, [ebp - 0x6c]
call fcn.004c6fd0
mov dword [ebp - 4], 0x22
lea ecx, [ebp + 0x38c]
push 0
push dword [eax]
or ebx, 0x40
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
test eax, eax
jns 0x4fbe4f
mov edx, 0x5265b4
lea ecx, [ebp - 0x68]
call fcn.004c6fd0
mov dword [ebp - 4], 0x23
lea ecx, [ebp + 0x38c]
push 0
push dword [eax]
or ebx, 0x80
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
test eax, eax
jns 0x4fbe4f
mov edx, 0x5265c0
lea ecx, [ebp - 0x7c]
call fcn.004c6fd0
mov dword [ebp - 4], 0x24
lea ecx, [ebp + 0x38c]
push dword [eax]
or ebx, 0x100
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
je 0x4fbe4f
mov edx, 0x523824
lea ecx, [ebp - 0x60]
call fcn.004c6fd0
mov dword [ebp - 4], 0x25
lea ecx, [ebp + 0x38c]
push dword [eax]
or ebx, 0x200
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov byte [ebp - 0xd], 0
test eax, eax
jne 0x4fbe53
mov byte [ebp - 0xd], 1
test ebx, 0x200
je 0x4fbe6a
lea ecx, [ebp - 0x60]
and ebx, 0xfffffdff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test ebx, 0x100
je 0x4fbe81
lea ecx, [ebp - 0x7c]
and ebx, 0xfffffeff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test bl, bl
jns 0x4fbe94
lea ecx, [ebp - 0x68]
and ebx, 0xffffff7f
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test bl, 0x40
je 0x4fbea5
lea ecx, [ebp - 0x6c]
and ebx, 0xffffffbf
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test bl, 0x20
je 0x4fbeb6
lea ecx, [ebp - 0x70]
and ebx, 0xffffffdf
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
and ebx, 0xffffffef
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp byte [ebp - 0xd], 0
jne 0x4fc1c2
lea ecx, [ebp + 0x39c]
mov byte [ebp - 4], 0x26
mov edi, ebx
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov ecx, dword [ebp + 0x39c]
mov esi, eax
push 1
push 0x51b4bc
lea eax, [ebp - 0x30]
or ebx, 0x100000
push dword [ecx - 0xc]
mov dword [ebp - 0x14], ebx
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
lea eax, [ebp + 0x2c]
mov edx, esi
push eax
lea ecx, [ebp + 0x358]
call fcn.0045e670
add esp, 0x18
mov ebx, edi
and ebx, 0xffefffff
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x28
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x388]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp + 0x368]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp + 0x250]
mov byte [ebp - 4], 0x2a
call fcn.004a2e70
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
mov cl, byte [esi*2 + 0x5265d0]
mov al, byte [esi*2 + 0x5265d1]
shl cl, 4
add al, 0x80
or cl, al
movzx eax, cl
lea ecx, [ebp + 0x250]
push eax
call fcn.00488490
mov byte [ebp - 0x74], al
test esi, esi
jle 0x4fbfba
push dword [ebp - 0x74]
lea ecx, [ebp + 0x368]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 0xb
jl 0x4fbf80
push dword [ebp + 0x368]
lea ecx, [ebp + 0x250]
call fcn.0045f760
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x34]
push dword [eax]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
mov eax, dword [ebp + 0x250]
lea ecx, [ebp + 0x254]
cmp eax, ecx
je 0x4fbffa
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebp + 0x368]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0x2d
lea ecx, [ebp + 0x388]
push 0
push dword [ebp - 0x34]
or ebx, 0x400400
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
test eax, eax
jns 0x4fc053
mov edx, 0x525c80
lea ecx, [ebp - 0x78]
call fcn.004c6fd0
push 0
lea ecx, [ebp + 0x388]
or ebx, 0x800
push dword [eax]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
mov byte [ebp - 0xd], 1
test eax, eax
jns 0x4fc057
mov byte [ebp - 0xd], 0
test ebx, 0x800
je 0x4fc06e
lea ecx, [ebp - 0x78]
and ebx, 0xfffff7ff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0x29
lea ecx, [ebp - 0x34]
and ebx, 0xfffffbff
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x18], ebx
jne 0x4fc1aa
mov edx, 0x525c80
lea ecx, [ebp - 0x80]
call fcn.004c6fd0
mov esi, eax
mov edx, 0x5265d0
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x90]
call fcn.004c6fd0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp + 0x388]
push dword [esi]
push dword [eax]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x80]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x3a0]
mov byte [ebp - 4], 0x30
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov ecx, dword [ebp + 0x3a0]
mov edi, eax
push 1
push 0x51b4bc
lea eax, [ebp - 0x38]
or ebx, 0x800000
push dword [ecx - 0xc]
mov dword [ebp - 0x14], ebx
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
mov ecx, edi
mov byte [ebp - 4], 0x31
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp + 0x364]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp + 0x388]
mov ecx, dword [edi]
mov ebx, dword [ebp - 0x18]
mov esi, ebx
or esi, 0x1800000
push dword [eax - 0xc]
mov dword [ebp - 0x14], esi
push eax
push dword [ecx - 0xc]
lea eax, [ebp + 0x364]
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
and esi, 0xff7fffff
add esp, 0x14
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x32
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, dword [ebp + 0x364]
push ecx
mov ecx, dword [ebp + 0x358]
call fcn.00422700
add esp, 4
lea ecx, [ebp + 0x364]
and ebx, 0xfe7fffff
mov dword [ebp - 0x14], ebx
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x388]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x358]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x38c]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, 0x52ecb0
lea ecx, [ebp - 0x88]
call fcn.00509d60
mov esi, eax
mov edx, 0x51bb70
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x84]
call fcn.004c6fd0
push dword [esi]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x84]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test esi, esi
je 0x4fc242
lea eax, [ebp]
push eax
push dword [ebp - 0x3c]
call esi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
jne 0x4fb7a5
mov eax, dword [ebp - 0x3c]
mov ecx, eax
call fcn.00424d10
lea ecx, [ebp + 0x378]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x39c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x3a0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x390]
xor ecx, ebp
call fcn.00482396
lea esp, [ebp + 0x394]
pop ebp
ret 0xc