Function at 0x40e550
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444d99
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x455014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x148], 0
call dword [sym.imp.mfc140.dll_Ordinal_10421]
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4869]
mov esi, eax
mov dword [ebp - 0x140], esi
test esi, esi
je 0x40e61c
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push 0x65
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_8426]
mov eax, dword [ebp - 0x118]
cmp dword [eax - 0xc], 0
je 0x40e609
push 0
push 0
push 0x800
push dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
call esi
push dword [ebp - 0x118]
mov eax, dword [ebp - 0x140]
push 0x10
push 0
push dword [eax + 4]
call esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push dword [edi + 0xd0]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x80
push dword [edi + 0x20]
call esi
push dword [edi + 0xd0]
push 0
push 0x80
push dword [edi + 0x20]
call esi
push 0x134d893
push 0x449f80
push 0x457be0
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0xc
lea ecx, [ebp - 0x11c]
push 0x449d14
call dword [sym.imp.mfc140.dll_Ordinal_310]
mov dword [ebp - 4], 1
mov eax, dword [0x455024]
cmp eax, 1
jne 0x40e696
push str.EL_Chart_Trial
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov eax, dword [0x455024]
cmp eax, 2
jne 0x40e6b1
push str.EL_Chart_Basic
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov eax, dword [0x455024]
cmp eax, 3
jne 0x40e6cc
push str.EL_Chart_Expert
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov eax, dword [0x455024]
cmp eax, 4
jne 0x40e6e2
push str.EL_Chart_Pro
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [ebp - 0x11c]
push 0xd
push 0x449d60
mov dword [ebp - 0x148], 1
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x457be0]
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x148], 3
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [ebp - 0x118]
push 1
push 0x449d5c
mov dword [ebp - 0x148], 7
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
mov ecx, edi
push dword [ebp - 0x140]
call dword [sym.imp.mfc140.dll_Ordinal_14054]
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push 0x449a14
mov ecx, 0x457bc8
call dword [sym.imp.mfc140.dll_Ordinal_1529]
push str.elchart_bg.bmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
mov ecx, esp
mov dword [ebp - 0x140], esp
push str.elchart_bg.bmp
call dword [sym.imp.mfc140.dll_Ordinal_310]
push ecx
mov ecx, esp
mov byte [ebp - 4], 5
push str.http:__elliott.kr_elchart_img_elchart_bg.bmp
call dword [sym.imp.mfc140.dll_Ordinal_310]
mov byte [ebp - 4], 1
call fcn.00442150
add esp, 8
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0x5c
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140.dll_Ordinal_12826]
inc eax
lea ecx, [ebp - 0x120]
push eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_8322]
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [ebp - 0x120]
push 4
push str.Temp
mov dword [ebp - 0x148], 8
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x140]
mov ecx, 0x457bc8
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140.dll_Ordinal_1044]
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x13c]
movq qword [ebp - 0x12c], xmm0
movups xmmword [ebp - 0x13c], xmm0
call dword [sym.imp.mfc140.dll_Ordinal_503]
push 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x13c]
push dword [0x457bc8]
call dword [sym.imp.mfc140.dll_Ordinal_4705]
test eax, eax
jne 0x40e965
push eax
push dword [0x457bc8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x449db8
mov ecx, 0x457bc8
call dword [sym.imp.mfc140.dll_Ordinal_1696]
mov eax, dword [edi + 0x998]
lea ecx, [edi + 0x998]
push edi
push 0x6f
call dword [eax + 0x16c]
mov eax, dword [edi + 0x318]
lea ecx, [edi + 0x318]
push edi
push 0x67
call dword [eax + 0x16c]
mov eax, dword [edi + 0xd8]
lea esi, [edi + 0xd8]
push edi
push 0x6e
mov ecx, esi
call dword [eax + 0x16c]
mov ecx, dword [ebp - 0x144]
add edi, 0x1988
push ecx
push 0x70
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x16c]
push 1
push 0x3d4
push 0x226
push 0xa
mov ecx, esi
mov esi, dword [sym.imp.mfc140.dll_Ordinal_8776]
push 0xa
call esi
mov ecx, dword [ebp - 0x144]
push 1
lea ecx, [ecx + 0xd8]
call dword [sym.imp.mfc140.dll_Ordinal_14149]
mov ecx, dword [ebp - 0x144]
push 1
push 0x3d4
push 0x76c
push 0x28
push 0x230
lea ecx, [ecx + 0x998]
call esi
mov ecx, dword [ebp - 0x144]
push 1
lea ecx, [ecx + 0x998]
call dword [sym.imp.mfc140.dll_Ordinal_14149]
mov ecx, dword [ebp - 0x144]
push 1
push 0x3d4
push 0x76c
push 0x28
push 0x230
lea ecx, [ecx + 0x318]
call esi
mov ecx, dword [ebp - 0x144]
push 0
lea ecx, [ecx + 0x318]
call dword [sym.imp.mfc140.dll_Ordinal_14149]
push 1
push 0x3d4
push 0x76c
push 0x28
push 0x230
mov ecx, edi
call esi
push 0
mov ecx, edi
call dword [sym.imp.mfc140.dll_Ordinal_14149]
mov edi, dword [ebp - 0x144]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x449dbc
push 0
push 0x143
push dword [edi + 0x18a8]
call esi
push 0x449dc4
push 0
push 0x143
push dword [edi + 0x18a8]
call esi
push 0
push 1
push 0x14e
push dword [edi + 0x18a8]
call esi
push 0x449dbc
push 0
push 0x143
push dword [edi + 0x1928]
call esi
push 0x449dc4
push 0
push 0x143
push dword [edi + 0x1928]
call esi
push 0
push 0
push 0x14e
push dword [edi + 0x1928]
call esi
mov esi, dword [sym.imp.mfc140.dll_Ordinal_13407]
mov ecx, edi
push str.2005
push 0x3eb
call esi
push str.2030
push 0x3ec
mov ecx, edi
call esi
push str.1700
push 0x3ed
mov ecx, edi
call esi
push str.2030
push 0x3f4
mov ecx, edi
call esi
push 0
push 0x36ee80
push 0
push dword [edi + 0x20]
mov dword [edi + 0x98c], 0x7d5
mov dword [edi + 0x1870], 0x7d5
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], 1
mov dword [edi + 0x248], 2
mov dword [edi + 0x24c], 1
mov dword [edi + 0x250], 4
mov dword [edi + 0x254], 1
mov dword [edi + 0x258], 9
mov dword [edi + 0x25c], 2
mov dword [edi + 0x308], 6
mov dword [edi + 0x30c], 7
mov dword [edi + 0x310], 8
add edi, 0x228
push str.http:__elliott.kr_elchart_data
mov ecx, edi
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov esi, dword [ebp - 0x144]
push str._101.EL_Menu
lea ecx, [esi + 0x22c]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
add esi, 0x230
push str._1010018.txt
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov ecx, dword [ebp - 0x144]
mov edx, edi
lea eax, [ecx + 0x1a8]
push eax
push ecx
mov ecx, esp
push esi
call fcn.0040faf0
mov esi, dword [ebp - 0x144]
add esp, 4
lea ecx, [esi + 0xd8]
call fcn.00420180
push ecx
mov ecx, esp
mov edx, edi
push str._10001.txt
call fcn.0040dac0
add esp, 4
mov ecx, esi
call fcn.0040eee0
push 3
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_14149]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x5265c00
push 0x270e
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc140.dll_Ordinal_1142]
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443559
mov esp, ebp
pop ebp
ret