Function at 0x408750
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x444037
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x458640]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x118]
mov esi, ecx
mov ecx, dword [ebp + 0x10c]
xor edi, edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xd8], edi
mov ebx, 1
push str.NOFOUND
mov dword [ebp - 4], ebx
call fcn.00405ce0
mov dword [ebp - 0xd8], ebx
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4087e3
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408810
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40883d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 4
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40886d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 5
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40889d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 6
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4088ca
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 7
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4088f7
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 8
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408924
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 9
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408951
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xa
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40897e
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0xb
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4089ab
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
push 0x67
mov byte [ebp - 4], 0xc
call fcn.004152df
cmp eax, edi
je 0x4089d4
push 0x67
push eax
lea ecx, [ebp - 0x2c]
call fcn.004043c0
push edi
lea ecx, [ebp - 0x1cc]
call fcn.0040fc70
lea ecx, [ebp + 0x110]
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.00401a50
mov dword [ebp - 0x70], edi
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x20], ebx
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408a17
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xf
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408a44
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x10
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408a71
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0x11
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408a9e
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x12
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408acb
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0x13
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408afb
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x14
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408b28
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0x15
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408b55
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x16
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408b82
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x17
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408baf
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x18
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408bdc
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x19
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408c09
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x1a
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x408c36
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea ecx, [esi + 0x258]
cmp ecx, edi
mov byte [ebp - 4], 0x1b
jne 0x408c57
xor eax, eax
jmp 0x408c6b
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x408c60
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401700
push 0x67
call fcn.004152df
cmp eax, edi
je 0x408c8b
push 0x67
push eax
lea ecx, [ebp - 0x6c]
call fcn.004043c0
push 0x7d3
call fcn.004152df
cmp eax, edi
je 0x408ca7
push 0x7d3
push eax
lea ecx, [ebp - 0x54]
call fcn.004043c0
push 0x3ff
call fcn.004152df
cmp eax, edi
je 0x408cc3
push 0x3ff
push eax
lea ecx, [ebp - 0x64]
call fcn.004043c0
push 0x407
call fcn.004152df
cmp eax, edi
je 0x408cdf
push 0x407
push eax
lea ecx, [ebp - 0x60]
call fcn.004043c0
mov esi, dword [ebp - 0x30]
push str.W2KSP4
push esi
call fcn.0042ca95
add esp, 8
cmp eax, edi
je 0x408d16
push str.XPSP1
push esi
call fcn.0042ca95
add esp, 8
cmp eax, edi
je 0x408d16
push edi
push 0x44796c
lea ecx, [ebp - 0x1c]
call fcn.00401700
jmp 0x408d32
push 0x408
call fcn.004152df
cmp eax, edi
je 0x408d32
push 0x408
push eax
lea ecx, [ebp - 0x1c]
call fcn.004043c0
push 0x67
call fcn.004152df
cmp eax, edi
je 0x408d48
push 0x67
push eax
lea ecx, [ebp - 0x68]
call fcn.004043c0
push 0x7d4
call fcn.004152df
cmp eax, edi
je 0x408d64
push 0x7d4
push eax
lea ecx, [ebp - 0x38]
call fcn.004043c0
push 0x7d5
call fcn.004152df
cmp eax, edi
je 0x408d80
push 0x7d5
push eax
lea ecx, [ebp - 0x34]
call fcn.004043c0
push 0x7d6
call fcn.004152df
cmp eax, edi
je 0x408d9c
push 0x7d6
push eax
lea ecx, [ebp - 0x3c]
call fcn.004043c0
push 0x7d7
call fcn.004152df
cmp eax, edi
je 0x408db8
push 0x7d7
push eax
lea ecx, [ebp - 0x48]
call fcn.004043c0
push str.SQL2KSP4
push esi
call fcn.0042ca95
add esp, 8
cmp eax, edi
jne 0x408dcd
mov dword [ebp - 0x70], ebx
mov ecx, dword [ebp + 0x114]
push ecx
lea edx, [ebp - 0x24]
push 0x447e90
push edx
call fcn.00404a50
add esp, 0xc
push edi
lea ecx, [ebp - 0x154]
call fcn.004101e0
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x20], 1
jl 0x4094fe
push 1
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401880
mov eax, dword [eax]
push 0x447684
push eax
call fcn.0042ca95
add esp, 8
cmp eax, edi
mov eax, dword [ebp - 0x78]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x408e90
push 0x447684
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xd4]
push edx
call fcn.00401b40
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1d
call fcn.00401a50
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.SETUP.LST
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.00401b40
add esp, 0xc
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1e
call fcn.00401a50
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408edb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x70], edi
mov esi, dword [ebp - 0x74]
mov ecx, esi
je 0x408eec
call fcn.00403540
jmp 0x408ef1
call fcn.00407830
sub eax, edi
je 0x408f42
sub eax, 1
je 0x408f39
sub eax, 1
je 0x408f14
push 0x403
call fcn.004152df
cmp eax, edi
je 0x408f5e
push 0x403
jmp 0x408f55
push 0x401
call fcn.004152df
cmp eax, edi
je 0x408f30
push 0x401
push eax
lea ecx, [ebp - 0x44]
call fcn.004043c0
push 6
push str.OS_CHT
jmp 0x408f65
push 6
push str.OS_CHS
jmp 0x408f65
push 0x402
call fcn.004152df
cmp eax, edi
je 0x408f5e
push 0x402
push eax
lea ecx, [ebp - 0x44]
call fcn.004043c0
push 6
push str.OS_ENG
lea ecx, [ebp - 0x28]
call fcn.00401700
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x30]
push 0xff
lea edx, [ebp]
push edx
push 0x44796c
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp], 0
je 0x4093f4
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.00404ba0
add esp, 0xc
push 0x447684
push eax
lea edx, [ebp - 0xcc]
push edx
mov byte [ebp - 4], 0x1f
call fcn.00401b40
add esp, 0xc
lea ecx, [ebp]
push ecx
push eax
lea edx, [ebp - 0x8c]
push edx
mov byte [ebp - 4], 0x20
call fcn.00401b40
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x21
call fcn.00401a50
mov eax, dword [ebp - 0x8c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409015
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xcc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40903b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409061
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, esi
call fcn.00402990
test eax, eax
je 0x409212
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.00404ba0
add esp, 0xc
lea ecx, [ebp - 0x34]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0x22
call fcn.00404ba0
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp - 0xbc]
push edx
mov byte [ebp - 4], 0x23
call fcn.00404ba0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
add esp, 0xc
push edi
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0xbc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4090ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x9c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x22
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409112
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409138
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0xc4]
push eax
call fcn.00404ba0
add esp, 0xc
lea ecx, [ebp - 0x48]
push ecx
push eax
lea edx, [ebp - 0xa4]
push edx
mov byte [ebp - 4], 0x24
call fcn.00404ba0
add esp, 0xc
mov eax, dword [eax]
push 1
push eax
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x25
call fcn.0040fd40
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x24
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc4]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
mov ecx, esi
call fcn.00404dd0
mov ecx, dword [ebp - 0x1c]
push 0x44796c
push ecx
call fcn.0042ca95
add esp, 8
cmp eax, edi
setne al
test al, al
je 0x4091ef
push edi
call fcn.0042dc46
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x18]
push edx
call fcn.00401a50
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x9d8]
push eax
call fcn.00401a50
mov dword [ebp - 0x20], edi
jmp 0x408df5
push str.OS_Default_
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.00401b40
add esp, 0xc
lea ecx, [ebp]
push ecx
push eax
lea edx, [ebp - 0xac]
push edx
mov byte [ebp - 4], 0x26
call fcn.00401b40
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x27
call fcn.00401a50
mov eax, dword [ebp - 0xac]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x26
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409272
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409295
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, esi
call fcn.00402990
test eax, eax
je 0x4093f4
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.00404ba0
add esp, 0xc
lea ecx, [ebp - 0x34]
push ecx
push eax
lea edx, [ebp - 0x88]
push edx
mov byte [ebp - 4], 0x28
call fcn.00404ba0
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 0x29
call fcn.00404ba0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
add esp, 0xc
push edi
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40931a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x28
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409340
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409366
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00404ba0
add esp, 0xc
lea ecx, [ebp - 0x48]
push ecx
push eax
lea edx, [ebp - 0x98]
push edx
mov byte [ebp - 4], 0x2a
call fcn.00404ba0
add esp, 0xc
mov eax, dword [eax]
push 1
push eax
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x2b
call fcn.0040fd40
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x2a
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091c7
jmp 0x4091bd
mov ebx, 1
cmp dword [ebp - 0x20], ebx
jle 0x40940f
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x54]
push 0x30
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00401a50
push 0x6f
call fcn.004152df
cmp eax, edi
je 0x409434
push 0x6f
push eax
lea ecx, [ebp - 0x4c]
call fcn.004043c0
push 0x70
call fcn.004152df
cmp eax, edi
je 0x40944a
push 0x70
push eax
lea ecx, [ebp - 0x58]
call fcn.004043c0
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.00404ba0
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
push eax
lea edx, [ebp - 0xa8]
push edx
mov byte [ebp - 4], 0x2c
call fcn.00404ba0
add esp, 0xc
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x2d
call fcn.00401a50
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x2c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xb0]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x154]
call fcn.00413502
cmp eax, 2
jne 0x409932
mov ecx, dword [ebp - 0x40]
push 7
push str.NOFOUND
call fcn.00401700
mov dword [esi + 0x128], edi
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x2f
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409524
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xe0]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x2e
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40954a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x1b
call fcn.00412dc9
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1a
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40957c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40959f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x17
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x16
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409608
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40962b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40964e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409671
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409697
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4096ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4096dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409700
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409723
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xc
call fcn.00412dc9
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40975c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40977f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40980b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40982e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc0]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409854
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc8]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40987a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40989d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x114]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x110]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409908
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0042cf8a
add ebp, 0x104
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401a50
add dword [ebp - 0x20], ebx
jmp 0x408df5