Function at 0x40dbb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd737
mov eax, dword fs:[0]
push eax
sub esp, 0x89c
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005d4520
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005d4520
add esp, 0x18
mov dword [ebp - 0x834], 7
xor eax, eax
mov dword [ebp - 0x838], 0
lea ecx, [ebp - 0x848]
mov word [ebp - 0x848], ax
push eax
push 0x6087e8
call fcn.00407280
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x6087e8
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 0x894], 7
mov dword [ebp - 0x898], 0
mov word [ebp - 0x8a8], ax
call fcn.00407280
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x6087e8
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x87c], 7
mov dword [ebp - 0x880], 0
mov word [ebp - 0x890], ax
call fcn.00407280
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x6087e8
lea ecx, [ebp - 0x878]
mov dword [ebp - 0x864], 7
mov dword [ebp - 0x868], 0
mov word [ebp - 0x878], ax
call fcn.00407280
push 0
push 0x2b
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
push 0
call fcn.00426b80
lea edi, [ebp - 0x420]
add esp, 0x10
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x40dcf2
mov eax, dword [0x608b38]
lea edx, [ebp - 0x420]
mov dword [edi], eax
add edx, 0xfffffffe
nop
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x40dd10
mov ebx, dword [0x608b1c]
lea edi, [ebp - 0x420]
mov ecx, dword [0x608b20]
add edi, 0xfffffffe
mov dword [edx], ebx
mov dword [edx + 4], ecx
mov ecx, dword [0x608b24]
mov dword [edx + 8], ecx
mov ecx, dword [0x608b28]
mov dword [edx + 0xc], ecx
nop dword [eax + eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x40dd50
lea ecx, [ebp - 0x420]
mov dword [edi], eax
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x40dd70
mov eax, dword [0x608b20]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [0x608b24]
mov dword [ecx + 8], eax
mov eax, dword [0x608b28]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x420]
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x40dda0
mov eax, dword [0x608b3c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ecx], eax
mov eax, dword [0x608b40]
mov dword [ecx + 4], eax
mov ax, word [0x608b44]
mov word [ecx + 8], ax
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x6087e8
push str.UsrPath
push str.GDGlobalCfg
call edi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40de00
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x40dead
lea eax, [ebp - 0x218]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x40dead
cmp word [ebp - 0x218], 0
jne 0x40de3c
xor ecx, ecx
jmp 0x40de54
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40de45
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00407280
cmp word [ebp - 0x218], 0
jne 0x40de75
xor ecx, ecx
jmp 0x40de8f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40de80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.00407280
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x40e2cb
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005d4520
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005d4520
lea ecx, [esi + 0x5c]
add esp, 0x18
cmp dword [ecx + 0x14], 8
jb 0x40dee1
mov ecx, dword [ecx]
lea edx, [ebp - 0x830]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x40dee7
push str.GoodZip.ini
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push 0x608b88
push eax
call fcn.0040fd00
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x6087e8
push str.UsrPath
push str.GDsftinf
call edi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40df45
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x40dffd
lea eax, [ebp - 0x218]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x40dffd
cmp word [ebp - 0x218], 0
jne 0x40df81
xor ecx, ecx
jmp 0x40df9f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40df90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00407280
cmp word [ebp - 0x218], 0
jne 0x40dfc0
xor ecx, ecx
jmp 0x40dfdf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dfd0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.00407280
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x40e2cb
cmp dword [esi + 0x88], 8
lea eax, [esi + 0x74]
jb 0x40e00b
mov eax, dword [eax]
push str.GoodZip.ini
push eax
lea eax, [ebp - 0x628]
push 0x608b88
push eax
call fcn.0040fd00
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x6087e8
push str.UsrPath
push str.GDsftinf
call edi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e052
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x40e0fd
lea eax, [ebp - 0x218]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x40e0fd
cmp word [ebp - 0x218], 0
jne 0x40e08e
xor ecx, ecx
jmp 0x40e0a6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e097
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x890]
call fcn.00407280
cmp word [ebp - 0x218], 0
jne 0x40e0c7
xor ecx, ecx
jmp 0x40e0df
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e0d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.00407280
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x40e2cb
push 0x6087e8
push str.UsrPath
push str.GDsftinf
lea eax, [ebp - 0x860]
mov ecx, esi
push eax
call fcn.0040cdb0
mov edi, dword [ebp - 0x84c]
lea ecx, [ebp - 0x860]
cmp edi, 8
mov byte [ebp - 4], 4
cmovae ecx, dword [ebp - 0x860]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e137
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x40e1a8
cmp edi, 8
lea eax, [ebp - 0x860]
cmovae eax, dword [ebp - 0x860]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x40e1a2
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x860]
push eax
lea ecx, [ebp - 0x878]
call fcn.00407160
lea ecx, [esi + 0x14]
lea eax, [ebp - 0x860]
cmp ecx, eax
je 0x40e194
push 0xffffffffffffffff
push 0
push eax
call fcn.00407160
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x40e28e
mov edi, dword [ebp - 0x84c]
cmp byte [esi + 8], 0
je 0x40e294
cmp byte [esi + 7], 0
je 0x40e294
cmp dword [ebp - 0x894], 8
lea ecx, [ebp - 0x8a8]
push dword [ebp - 0x898]
cmovae ecx, dword [ebp - 0x8a8]
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
mov ebx, dword [ebp - 0x838]
cmovae eax, dword [ebp - 0x848]
push ecx
push ebx
push eax
call fcn.00407090
add esp, 0x10
test eax, eax
je 0x40e203
mov byte [esi + 9], 1
cmp dword [ebp - 0x87c], 8
lea ecx, [ebp - 0x890]
push dword [ebp - 0x880]
cmovae ecx, dword [ebp - 0x890]
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
push ecx
cmovae eax, dword [ebp - 0x848]
push ebx
push eax
call fcn.00407090
add esp, 0x10
test eax, eax
je 0x40e244
mov byte [esi + 9], 1
cmp dword [ebp - 0x864], 8
lea ecx, [ebp - 0x878]
push dword [ebp - 0x868]
cmovae ecx, dword [ebp - 0x878]
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
push ecx
cmovae eax, dword [ebp - 0x848]
push ebx
push eax
call fcn.00407090
add esp, 0x10
test eax, eax
je 0x40e294
push 1
lea ecx, [ebp - 0x848]
call fcn.0040b1f0
mov edi, dword [ebp - 0x84c]
cmp edi, 8
jb 0x40e2ae
lea eax, [edi + 1]
push eax
push dword [ebp - 0x860]
lea ecx, [ebp - 0x860]
call fcn.00407380
xor eax, eax
mov dword [ebp - 0x84c], 7
mov dword [ebp - 0x850], 0
mov word [ebp - 0x860], ax
mov eax, dword [ebp - 0x864]
cmp eax, 8
jb 0x40e2e9
inc eax
lea ecx, [ebp - 0x878]
push eax
push dword [ebp - 0x878]
call fcn.00407380
xor eax, eax
mov dword [ebp - 0x864], 7
mov word [ebp - 0x878], ax
mov eax, dword [ebp - 0x87c]
mov dword [ebp - 0x868], 0
cmp eax, 8
jb 0x40e324
inc eax
lea ecx, [ebp - 0x890]
push eax
push dword [ebp - 0x890]
call fcn.00407380
xor eax, eax
mov dword [ebp - 0x87c], 7
mov word [ebp - 0x890], ax
mov eax, dword [ebp - 0x894]
mov dword [ebp - 0x880], 0
cmp eax, 8
jb 0x40e35f
inc eax
lea ecx, [ebp - 0x8a8]
push eax
push dword [ebp - 0x8a8]
call fcn.00407380
xor eax, eax
mov dword [ebp - 0x894], 7
mov word [ebp - 0x8a8], ax
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x898], 0
cmp eax, 8
jb 0x40e39a
inc eax
lea ecx, [ebp - 0x848]
push eax
push dword [ebp - 0x848]
call fcn.00407380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret