Function at 0x40d850
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a1c2
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x45d520]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1e8], ecx
push str.CAppManager_::_LoadConfig___begins_n
call fcn.00401010
add esp, 4
push str.http:__www.pmang.com_gamepub_application_game_manager_config.nwz
lea ecx, [ebp - 0x4c]
call fcn.004018c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00401960
push eax
push str.CAppManager_::_LoadConfig___URL___s_n
call fcn.00401010
add esp, 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x108], esp
lea eax, [ebp - 0x4c]
push eax
call fcn.00401900
mov dword [ebp - 0x1ec], eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0041a0d0
add esp, 0x20
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00401960
push eax
push str.CAppManager_::_LoadConfig___Local_File___s_n
call fcn.00401010
add esp, 8
push 0x40
call fcn.00433d86
add esp, 4
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x110], 0
je 0x40d954
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x114], esp
lea edx, [ebp - 0x68]
push edx
call fcn.00401900
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x110]
call fcn.00406530
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], eax
jmp 0x40d95e
mov dword [ebp - 0x1fc], 0
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x6c], edx
lea ecx, [ebp - 0x2c]
call fcn.00401150
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00410370
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.004079c0
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004307e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
jmp 0x40d9c4
push 0
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040ae50
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00408940
push eax
lea ecx, [ebp - 0x14]
call fcn.004103d0
movzx eax, al
test eax, eax
je 0x40dea7
lea ecx, [ebp - 0x14]
call fcn.00408fb0
push eax
lea ecx, [ebp - 0x88]
call fcn.00401900
mov byte [ebp - 4], 4
push str.Config
lea ecx, [ebp - 0x88]
push ecx
call fcn.00404150
add esp, 8
movzx edx, al
test edx, edx
je 0x40da84
mov eax, dword [ebp - 0x1e8]
add eax, 0x12c
push eax
push 0x258
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x130], esp
push str.AutoPatchInterval
call fcn.004018c0
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x204], ecx
mov byte [ebp - 4], 5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x134], esp
lea edx, [ebp - 0x88]
push edx
call fcn.00401900
mov dword [ebp - 0x208], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x6c]
call fcn.00406e90
jmp 0x40de93
push 0x44ecec
lea eax, [ebp - 0x88]
push eax
call fcn.00404150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40dab9
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [0x45f1e8]
add ecx, 0x114
call fcn.00410900
jmp 0x40de93
push 0x44ecf4
lea eax, [ebp - 0x88]
push eax
call fcn.00404150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40daee
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [0x45f1e8]
add ecx, 0x114
call fcn.00410c50
jmp 0x40de93
push 0x44ecfc
lea eax, [ebp - 0x88]
push eax
call fcn.00404150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40db23
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [0x45f1e8]
add ecx, 0x130
call fcn.0040fdd0
jmp 0x40de93
lea ecx, [ebp - 0x88]
call fcn.00401960
push eax
call fcn.00436b9e
add esp, 4
test eax, eax
jg 0x40db4f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.00401940
jmp 0x40d9b3
lea ecx, [ebp - 0x104]
call fcn.0040ec60
mov byte [ebp - 4], 6
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x138], esp
push 0x44e946
call fcn.004018c0
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x210], eax
mov byte [ebp - 4], 7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x13c], esp
push str.GameNameKOR
call fcn.004018c0
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x218], ecx
mov byte [ebp - 4], 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x140], esp
lea edx, [ebp - 0x88]
push edx
call fcn.00401900
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x15c]
push eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x6c]
call fcn.00406d30
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x224], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x224]
push edx
lea ecx, [ebp - 0x100]
call fcn.00405740
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x15c]
call fcn.00401940
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x160], esp
push 0x44e947
call fcn.004018c0
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 0xa
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x164], esp
push str.UninstallPath
call fcn.004018c0
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x234], ecx
mov byte [ebp - 4], 0xb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x168], esp
lea edx, [ebp - 0x88]
push edx
call fcn.00401900
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x184]
push eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x6c]
call fcn.00406d30
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x240]
push edx
lea ecx, [ebp - 0xe4]
call fcn.00405740
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x184]
call fcn.00401940
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x188], esp
push 0x44e94e
call fcn.004018c0
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 0xd
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18c], esp
push str.GameDesc
call fcn.004018c0
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], ecx
mov byte [ebp - 4], 0xe
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x190], esp
lea edx, [ebp - 0x88]
push edx
call fcn.00401900
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x1ac]
push eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x6c]
call fcn.00406d30
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x25c]
push edx
lea ecx, [ebp - 0xc8]
call fcn.00405740
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1ac]
call fcn.00401940
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1b0], esp
push 0x44e94f
call fcn.004018c0
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0x10
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1b4], esp
push 0x44ed30
call fcn.004018c0
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x26c], ecx
mov byte [ebp - 4], 0x11
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1b8], esp
lea edx, [ebp - 0x88]
push edx
call fcn.00401900
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x1d4]
push eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x6c]
call fcn.00406d30
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x278], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x278]
push edx
lea ecx, [ebp - 0xac]
call fcn.00405740
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d4]
call fcn.00401940
lea ecx, [ebp - 0x88]
call fcn.00401960
push eax
call fcn.00436b9e
add esp, 4
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x1e8]
add ecx, 0x148
call fcn.0040eee0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x104]
call fcn.004029e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.00401940
jmp 0x40d9b3
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1d8], edx
cmp dword [ebp - 0x1d8], 0
je 0x40deda
push 1
mov ecx, dword [ebp - 0x1d8]
call fcn.0040ea50
mov dword [ebp - 0x27c], eax
jmp 0x40dee4
mov dword [ebp - 0x27c], 0
lea ecx, [ebp - 0x68]
call fcn.00401960
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1e8]
add ecx, 0x148
call fcn.0040eec0
test eax, eax
je 0x40df43
mov dword [ebp - 0x1e0], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004011c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00401940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401940
mov eax, dword [ebp - 0x1e0]
jmp 0x40dfa3
mov dword [ebp - 0x1e4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004011c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00401940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401940
mov eax, dword [ebp - 0x1e4]
jmp 0x40dfa3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00433b5e
mov esp, ebp
pop ebp
ret