Function at 0x406b40
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x443cf9
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x458640]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
call fcn.00411614
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406ba5
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
lea ecx, [edi + 0x358]
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00405ce0
mov byte [ebp - 4], 2
call fcn.00411614
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406be5
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 - 0x40], eax
mov byte [ebp - 4], 3
call fcn.00411614
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406c12
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], 4
call fcn.00411614
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406c3f
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], 5
call fcn.00411614
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406c6c
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 - 0x20], eax
mov byte [ebp - 4], 6
call fcn.00411614
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406c99
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], 7
call fcn.00411614
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406cc6
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
lea ecx, [edi + 0x258]
test ecx, ecx
mov byte [ebp - 4], 8
jne 0x406ce7
xor eax, eax
jmp 0x406cfb
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x406cf0
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401700
push 0
lea ecx, [ebp - 0xbc]
call fcn.004101e0
push 0x67
mov byte [ebp - 4], 9
call fcn.004152df
test eax, eax
je 0x406d2c
push 0x67
push eax
lea ecx, [ebp - 0x40]
call fcn.004043c0
push 0x6f
call fcn.004152df
test eax, eax
je 0x406d42
push 0x6f
push eax
lea ecx, [ebp - 0x3c]
call fcn.004043c0
push 0x70
call fcn.004152df
test eax, eax
je 0x406d58
push 0x70
push eax
lea ecx, [ebp - 0x24]
call fcn.004043c0
mov edx, dword [edi + 0x138]
push 0xa
lea ecx, [ebp]
push ecx
push edx
call fcn.0042dda1
mov eax, dword [edi + 0x138]
add eax, 0xffffffff
add esp, 0xc
cmp eax, 7
ja case.default.0x406d7f
jmp dword [eax*4 + 0x407808]
push 0x83
lea ecx, [ebp - 0x18]
call fcn.004049a0
jmp 0x406e1d
push 0x84
lea ecx, [ebp - 0x18]
call fcn.004049a0
jmp 0x406e1d
push 0x85
lea ecx, [ebp - 0x18]
call fcn.004049a0
jmp 0x406e1d
push 0x86
lea ecx, [ebp - 0x18]
call fcn.004049a0
jmp 0x406e1d
push 0x87
lea ecx, [ebp - 0x18]
call fcn.004049a0
jmp 0x406e1d
push 0x88
lea ecx, [ebp - 0x18]
call fcn.004049a0
jmp 0x406e1d
push 0x89
lea ecx, [ebp - 0x18]
call fcn.004049a0
jmp 0x406e1d
push 0x8a
lea ecx, [ebp - 0x18]
call fcn.004049a0
jmp 0x406e1d
push 0x82
call fcn.004152df
test eax, eax
je 0x406e1d
push 0x82
push eax
lea ecx, [ebp - 0x18]
call fcn.004043c0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00404ba0
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
push eax
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0xa
call fcn.00404ba0
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00401a50
mov eax, dword [ebp - 0x34]
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 0x406e76
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], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ea0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [esp]
mov esi, dword [ebp - 0x28]
mov ecx, dword [esi + 0x134]
cmp ecx, dword [esi + 0x138]
je 0x407239
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x44]
call fcn.00401a50
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00401a50
lea ecx, [ebp - 0xbc]
call fcn.00413502
cmp eax, 2
je 0x407239
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401a50
push 1
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov eax, dword [eax]
push 0x447684
push eax
call fcn.0042ca95
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x406f78
push 0x447684
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00401b40
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00401a50
mov eax, dword [ebp - 0x34]
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 0x406f78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.SETUP.LST
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00401b40
add esp, 0xc
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call fcn.00401a50
mov eax, dword [ebp - 0x2c]
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 0x406fbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0xff
lea edx, [ebp + 0x100]
push edx
push 0x44796c
push str.NUMBER
push str.CDROM
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp + 0x100], bl
je 0x40721b
lea eax, [ebp + 0x100]
push eax
call fcn.00443498
add esp, 4
mov edi, str.CD.1
lea esi, [ebp + 0x100]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40701a
mov ebx, 1
mov edi, str.CD.2
lea esi, [ebp + 0x100]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x407035
mov ebx, 2
mov edi, str.CD.3
lea esi, [ebp + 0x100]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x407050
mov ebx, 3
mov edi, str.CD.4
lea esi, [ebp + 0x100]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40706b
mov ebx, 4
mov edi, str.CD.5
lea esi, [ebp + 0x100]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x407086
mov ebx, 5
mov edi, str.CD.6
lea esi, [ebp + 0x100]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4070a1
mov ebx, 6
mov edi, str.CD.7
lea esi, [ebp + 0x100]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4070bc
mov ebx, 7
mov edi, str.CD.8
lea esi, [ebp + 0x100]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4070d7
mov ebx, 8
mov edi, str.CD.9
lea esi, [ebp + 0x100]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4070f2
mov ebx, 9
mov edi, str.CD.10
lea esi, [ebp + 0x100]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40710d
mov ebx, 0xa
mov edi, str.CD.11
lea esi, [ebp + 0x100]
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x407128
mov ebx, 0xb
mov edi, str.CD.12
lea esi, [ebp + 0x100]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x407143
mov ebx, 0xc
mov edi, str.CD.13
lea esi, [ebp + 0x100]
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40715e
mov ebx, 0xd
mov edi, str.CD.14
lea esi, [ebp + 0x100]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x407179
mov ebx, 0xe
mov edi, str.CD.15
lea esi, [ebp + 0x100]
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x407194
mov ebx, 0xf
mov edi, str.CD.16
lea esi, [ebp + 0x100]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4071af
mov ebx, 0x10
mov edi, str.CD.17
lea esi, [ebp + 0x100]
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4071ca
mov ebx, 0x11
mov edi, str.CD.18
lea esi, [ebp + 0x100]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4071e5
mov ebx, 0x12
mov edi, str.CD.19
lea esi, [ebp + 0x100]
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x407200
mov ebx, 0x13
mov edi, str.CD.20
lea esi, [ebp + 0x100]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40721b
mov ebx, 0x14
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x138]
cmp ebx, eax
jne 0x406ea0
mov edx, ecx
mov dword [edx + 0x134], eax
jmp 0x406ea0
push 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401880
mov eax, dword [eax]
push 0x447684
push eax
call fcn.0042ca95
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x2c]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40727b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40728e
push 1
push 0x447684
lea ecx, [ebp - 0x14]
call fcn.004045e0
lea ecx, [esi + 0x458]
push ecx
push 0xff
lea edx, [ebp]
push edx
push 0x44796c
push str.Shell
push str.Setup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp], 0
je 0x40733d
lea eax, [ebp]
push eax
call fcn.00443498
add esp, 4
cmp byte [ebp], 0x2e
jne 0x40731a
mov al, byte [ebp + 1]
cmp al, 0x5c
jne 0x4072f5
lea eax, [ebp + 2]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4072e0
sub eax, edx
push eax
lea ecx, [ebp + 2]
push ecx
jmp 0x4073ad
cmp al, 0x2e
jne 0x40731a
cmp byte [ebp + 2], 0x5c
jne 0x40731a
lea eax, [ebp + 3]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407305
sub eax, edx
push eax
lea edx, [ebp + 3]
push edx
jmp 0x4073ad
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407320
sub eax, edx
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401700
jmp 0x4073b5
cmp dword [esi + 0xac], 0
je 0x407355
push 0x18
push str.KDSERVERSETUPSETUP.EXE
lea ecx, [ebp - 0x14]
call fcn.004045e0
cmp dword [esi + 0xa8], 0
je 0x40736d
push 0x15
push str.KDMTSSETUPSETUP.EXE
lea ecx, [ebp - 0x14]
call fcn.004045e0
cmp dword [esi + 0xa4], 0
je 0x407385
push 0x19
push str.KDPRODUCTSETUPSETUP.EXE
lea ecx, [ebp - 0x14]
call fcn.004045e0
cmp dword [esi + 0xb0], 0
je 0x40739d
push 0x15
push str.KDWEBSETUPSETUP.EXE
lea ecx, [ebp - 0x14]
call fcn.004045e0
cmp dword [esi + 0xb4], 0
je 0x4073b5
push 0x16
push str.OFFICESETUPSETUP.EXE
lea ecx, [ebp - 0x14]
call fcn.004045e0
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00402990
test eax, eax
je 0x407550
mov eax, dword [ebp - 0x14]
push 0
push eax
push eax
push 0
call fcn.0042dd15
add esp, 0x10
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4073fc
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], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40741f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 8
call fcn.00412dc9
mov eax, dword [ebp - 0x38]
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 0x407451
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], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407474
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
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 0x407497
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], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074ba
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], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
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 0x407500
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], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407523
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], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407546
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4077e1
push 0x77
call fcn.004152df
test eax, eax
je 0x407566
push 0x77
push eax
lea ecx, [ebp - 0x24]
call fcn.004043c0
push 0x78
call fcn.004152df
test eax, eax
je 0x40757c
push 0x78
push eax
lea ecx, [ebp - 0x20]
call fcn.004043c0
push 0x447eb0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00401b40
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push eax
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x10
call fcn.00404ba0
add esp, 0xc
push str.____r_n_r_n
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x11
call fcn.00401b40
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0x12
call fcn.00404ba0
mov esi, dword [ebp - 0x40]
mov eax, dword [eax]
add esp, 0xc
push 0x30
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407601
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], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407624
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], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407647
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], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40766a
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], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40768d
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], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4076b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 8
call fcn.00412dc9
mov eax, dword [ebp - 0x38]
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 0x4076e2
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], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407705
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
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 0x407728
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], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40774b
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], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40776e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40778e
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], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4077b1
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], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4077d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x4077e1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.0042cf8a
add ebp, 0x204
mov esp, ebp
pop ebp
ret