Function at 0x411040
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x645d96
mov eax, dword fs:[0]
push eax
sub esp, 0x9d8
mov eax, dword [0x6bc858]
xor eax, esp
mov dword [esp + 0x9d0], eax
push ebx
push esi
push edi
mov eax, dword [0x6bc858]
xor eax, esp
push eax
lea eax, [esp + 0x9e8]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x44], edi
push 8
mov dword [esp + 0x9f4], edi
call fcn.005f0fe0
add esp, 4
cmp eax, edi
je 0x411a35
mov dword [esp + 0x44], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x44]
mov dword [ecx], eax
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], dl
mov esi, eax
mov dword [esp + 0x9f0], 1
call fcn.004c4b60
push 7
push 0x675cf4
mov ecx, esi
call fcn.00412ae0
push 6
push str.AD.ini
mov ecx, esi
call fcn.00412ae0
mov dword [esp + 0x64], edi
push 8
mov byte [esp + 0x9f4], 2
call fcn.005f0fe0
add esp, 4
cmp eax, edi
je 0x411a0c
mov dword [esp + 0x64], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x64]
mov dword [eax], edx
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], edi
mov byte [esp + 0x68], cl
mov esi, edx
mov byte [esp + 0x9f0], 3
call fcn.004c4b60
push 7
push 0x675cf4
mov ecx, esi
call fcn.00412ae0
push 0xa
push 0x675f60
mov ecx, esi
call fcn.00412ae0
push 0x200
lea ecx, [esp + 0x7e0]
push edi
push ecx
call fcn.005ff630
add esp, 0xc
push 0x100
lea edx, [esp + 0x578]
push edi
push edx
call fcn.005ff630
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
add esp, 0xc
call edx
mov esi, dword [ebp + 0xc]
cmp esi, eax
je 0x4111b9
mov ecx, dword [ebx + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, esi
jne 0x4112c1
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x134]
push 0x100
lea edx, [esp + 0x7e0]
push edx
call eax
cmp dword [0x6c4a74], edi
jne 0x4111f5
mov eax, dword [ebx + 0x248]
cmp eax, edi
je 0x4111f5
lea esi, [esp + 0x7dc]
mov edi, eax
call fcn.0047a290
xor edi, edi
lea eax, [esp + 0x7dc]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411200
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
push edi
push edi
sub eax, edx
push edi
sar eax, 1
inc eax
push eax
lea ecx, [esp + 0x7f0]
push ecx
push edi
push 0xfde9
call esi
lea ecx, [esp + 0x7dc]
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x411235
push 0
push 0
push eax
sub ecx, edi
sar ecx, 1
lea edx, [esp + 0x580]
push edx
inc ecx
push ecx
lea eax, [esp + 0x7f0]
push eax
push 0
push 0xfde9
call esi
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x411273
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x578]
push ecx
push str.store_name
push str.gateway
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.0047f650
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp + 0xc], eax
jne 0x4112bc
mov edx, dword [ebx]
mov eax, dword [edx + 0x4c]
push 0
push 0x675f6c
push 0x675f74
mov ecx, ebx
call eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [ebp + 0xc]
xor edi, edi
mov ecx, dword [ebx + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, esi
jne 0x411464
push 0xff
lea ecx, [esp + 0x479]
push edi
push ecx
mov byte [esp + 0x480], 0
call fcn.005ff630
add esp, 0xc
push 0xff
lea edx, [esp + 0x379]
push edi
push edx
mov byte [esp + 0x380], 0
call fcn.005ff630
add esp, 0xc
push 0xff
lea eax, [esp + 0x6e1]
push edi
push eax
mov byte [esp + 0x6e8], 0
call fcn.005ff630
mov eax, dword [esp + 0x54]
add esp, 0xc
cmp dword [esp + 0x5c], 0x10
jae 0x41133c
lea eax, [esp + 0x48]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0xff
lea ecx, [esp + 0x47c]
push ecx
push str.http:__corpcorp.com_lg_login2.0.htm
push str.Preview_url
push str.gateway
call ebx
lea eax, [esp + 0x474]
lea edx, [eax + 1]
jmp 0x411370
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411370
sub eax, edx
cmp eax, edi
jne 0x411392
mov ecx, 9
mov esi, str.http:__corpcorp.com_lg_login2.0.htm
lea edi, [esp + 0x474]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov eax, dword [esp + 0x68]
mov esi, 0x10
cmp dword [esp + 0x7c], esi
jae 0x4113a5
lea eax, [esp + 0x68]
push eax
push 0x40
lea edx, [esp + 0x37c]
push edx
push 0x6745b6
push str.UUID
push 0x675f88
call ebx
test eax, eax
je 0x41142a
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], esi
jae 0x4113d3
lea eax, [esp + 0x48]
push eax
push 0x20
lea eax, [esp + 0x6e4]
push eax
push str.http:__corpcorp.com_lg_login2.0.htm
push str.store_name
push str.gateway
call ebx
lea ecx, [esp + 0x6dc]
call fcn.00410ea0
lea ecx, [esp + 0x6dc]
push ecx
lea edx, [esp + 0x378]
push edx
lea eax, [esp + 0x47c]
push eax
lea ecx, [esp + 0x580]
push str._s_sid_sstore_stypepreview
push ecx
call fcn.005f1060
add esp, 0x14
jmp 0x411447
lea edx, [esp + 0x474]
push edx
lea eax, [esp + 0x578]
push 0x675fac
push eax
call fcn.005f1060
add esp, 0xc
push 5
push edi
push edi
lea ecx, [esp + 0x580]
push ecx
push 0x675fb0
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x411954
mov ecx, dword [ebx + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, esi
jne 0x4117d1
lea ecx, [esp + 0x30c]
push ecx
call fcn.00461600
cmp dword [0x6c58d8], edi
je 0x411628
cmp dword [0x6c13c0], edi
jne 0x411628
lea eax, [esp + 0xc4]
call fcn.00460f00
mov byte [esp + 0x9f0], 5
mov edx, dword [ebx]
mov eax, dword [edx + 0x4c]
mov ecx, ebx
mov dword [esp + 0x304], edi
mov dword [esp + 0x2fc], 0x12c
mov dword [esp + 0x300], 0x87
call eax
push eax
mov ecx, 0x675fb8
lea esi, [esp + 0xc8]
call fcn.00461000
push 0x675fc4
mov ecx, esi
call fcn.0055bb60
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00593ae0
cmp eax, 1
jne 0x411596
push 0xff
lea edx, [esp + 0x379]
push edi
push edx
mov byte [esp + 0x380], 0
call fcn.005ff630
add esp, 0xc
lea ebx, [esp + 0x374]
lea esi, [esp + 0xf0]
call fcn.004d1600
mov eax, ebx
push eax
lea ecx, [esp + 0xa8]
call fcn.00412330
mov ecx, 0x6c58c4
mov byte [esp + 0x9f0], 6
call fcn.00413510
lea ecx, [esp + 0xa4]
mov bl, al
mov byte [esp + 0x9f0], 5
call fcn.00412410
test bl, bl
je 0x41160d
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
push 1
push 0x675fd4
push 0x675fdc
call eax
push eax
call fcn.005945e0
lea ecx, [esp + 0xc4]
push ecx
mov byte [esp + 0x9f4], 4
call fcn.00460f70
lea edx, [esp + 0x30c]
push edx
mov byte [esp + 0x9f4], 3
call fcn.004616f0
lea ecx, [esp + 0x64]
mov byte [esp + 0x9f0], 1
call fcn.00412410
lea ecx, [esp + 0x44]
mov dword [esp + 0x9f0], 0xffffffff
call fcn.00412410
xor eax, eax
mov ecx, dword [esp + 0x9e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9d0]
xor ecx, esp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x9f4], 4
call fcn.00460f70
mov ebx, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x84], edi
push 8
mov byte [esp + 0x9f4], 7
call fcn.005f0fe0
add esp, 4
cmp eax, edi
je 0x4117a8
mov dword [esp + 0x84], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x84]
mov dword [ecx], eax
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], edi
mov byte [esp + 0x88], dl
mov esi, eax
mov byte [esp + 0x9f0], 8
call fcn.004c4b60
push 3
push 0x675fe8
mov ecx, esi
call fcn.00412ae0
mov ecx, dword [ebx + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x134]
push 0xff
lea eax, [esp + 0x7e0]
push eax
call edx
cmp dword [0x6c4a74], edi
jne 0x41177a
cmp dword [ebx + 0x248], edi
jne 0x411736
push 0xfc
call fcn.005f0fe0
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x9f0], 9
cmp eax, edi
je 0x4116f2
push eax
call fcn.00479940
jmp 0x4116f4
xor eax, eax
mov byte [esp + 0x9f0], 8
push 0x86080000
mov dword [ebx + 0x248], eax
mov esi, dword [eax]
mov eax, dword [ebx]
mov edx, dword [eax + 0x4c]
push edi
push 0x70
push edi
mov ecx, ebx
call edx
mov ecx, dword [ebx + 0x248]
push eax
mov eax, dword [esi + 0x168]
push 0x311
push 0x384
push edi
push edi
push 0x675878
call eax
mov edi, dword [ebx + 0x248]
lea esi, [esp + 0x7dc]
call fcn.0047a290
mov ecx, dword [ebx + 0x248]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14c]
push 3
push 0
push 0
push 0
push 0
push 0
call eax
mov ebx, dword [ebx + 0x248]
mov edx, dword [ebx]
mov eax, dword [edx + 0x148]
push 5
mov ecx, ebx
call eax
xor edi, edi
lea ecx, [esp + 0x84]
mov byte [esp + 0x9f0], 4
call fcn.00412410
lea ecx, [esp + 0x30c]
push ecx
mov byte [esp + 0x9f4], 3
call fcn.004616f0
jmp 0x411954
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], edi
call fcn.005f41f0
push 0x6a361c
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], vtable.std::bad_alloc.0
call fcn.006009e0
mov ecx, dword [ebx + 0x250]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, esi
jne 0x411954
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x130]
call eax
xor ecx, ecx
add eax, 0x14
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00563e10
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ecx]
mov esi, eax
mov eax, dword [edi + 0x130]
add esp, 4
call eax
mov ecx, dword [ebx + 0x1c]
mov edx, dword [edi + 0x134]
push eax
push esi
call edx
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x130]
call edx
xor ecx, ecx
lea ebx, [esp + 0x30c]
mov word [esi + eax*2], cx
call fcn.004d1600
cmp dword [0x6c47ec], 0
je 0x4118ac
mov edx, ebx
push edx
call fcn.005f4900
mov ecx, eax
shl ecx, 4
sub ecx, eax
add ecx, ecx
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
lea eax, [esp + 0x678]
push 0x675d58
push eax
call fcn.005f1060
sub esp, 0x14
lea edx, [esp + 0x694]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00412330
call fcn.0043f680
mov eax, dword [0x6c47ec]
cmp dword [eax + 0x184], 0
je 0x4118ac
call fcn.004416c0
call fcn.0047f650
lea ecx, [esp + 0x84]
call fcn.00412290
lea esi, [esp + 0x84]
mov byte [esp + 0x9f0], 0xa
call fcn.004c4b60
push 0x675cf4
mov ecx, esi
call fcn.004124f0
push str.AD.ini
mov ecx, esi
call fcn.004124f0
cmp dword [esp + 0x9c], 0x10
mov eax, dword [esp + 0x88]
jae 0x411901
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x310]
push ecx
push str.replay_ad
push str.gateway
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp + 8], 0
je 0x41193e
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
push 0
push 0x675f6c
push 0x675f74
call eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x84]
mov byte [esp + 0x9f0], 3
call fcn.00412410
xor edi, edi
cmp dword [esp + 0x7c], 0x10
jb 0x411968
mov ecx, dword [esp + 0x68]
push ecx
call fcn.005f0cb0
add esp, 4
mov esi, 0xf
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], edi
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x9f0], 0xb
call fcn.0040ed70
mov edx, dword [esp + 0x64]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], edi
mov byte [esp + 0x9f0], 1
call fcn.0040ed70
cmp dword [esp + 0x5c], 0x10
jb 0x4119c1
mov eax, dword [esp + 0x48]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x9f0], 0xc
call fcn.0040ed70
mov ecx, dword [esp + 0x44]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edi
mov dword [esp + 0x9f0], 0xffffffff
call fcn.0040ed70
jmp 0x4115e5
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], edi
call fcn.005f41f0
push 0x6a361c
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], vtable.std::bad_alloc.0
call fcn.006009e0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], edi
call fcn.005f41f0
push 0x6a361c
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], vtable.std::bad_alloc.0
call fcn.006009e0
int3