Function at 0x401aa0
Capabilities:
Create process on windows
Get system information on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416a30
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x42000c]
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
lea ecx, [ebp - 0x40]
call fcn.00401900
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x401ae5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x140]
call fcn.00402fd0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x401b0a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x30], 0
mov esi, dword [eax - 0xc]
test esi, esi
jns 0x401b35
push 0x80070057
call fcn.004011c0
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x401b58
push esi
lea ecx, [ebp - 0x140]
call fcn.00403dd0
mov eax, dword [ebp - 0x140]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0040a4ec
mov eax, dword [ebp - 0x140]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x401b2b
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x140]
sub esp, 8
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x140]
call fcn.00402e00
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x60], 0
cmp word [eax], 0
jne 0x401bb1
xor edx, edx
jmp 0x401bc5
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x401bb6
sub edx, esi
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x70]
call fcn.004029c0
xor eax, eax
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], eax
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmovae eax, dword [ebp - 0x70]
push eax
push 0
push str.Flag
push 0x41dfc8
call edi
xor ebx, ebx
cmp eax, 1
jne 0x401eac
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x124]
cmp ax, 9
je 0x401c67
cmp ax, 6
jne 0x401eac
push 0x41cf44
lea ecx, [ebp - 0x40]
call fcn.00402c00
push str.ExeEx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00402c00
push 0x41dfc8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00402c00
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.004016c0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x401ccc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x401cf5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004034d0
xor eax, eax
mov byte [ebp - 4], 6
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x401d22
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004034d0
push 0x41cf44
lea ecx, [ebp - 0x40]
call fcn.00402c00
push str.PathEx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00402c00
push 0x41dfc8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.00402c00
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.004016c0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x401d87
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x401db0
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004034d0
xor eax, eax
mov byte [ebp - 4], 6
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x401ddd
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004034d0
push 0x41cf44
lea ecx, [ebp - 0x40]
call fcn.00402c00
push str.PmEx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.00402c00
push 0x41dfc8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.00402c00
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.004016c0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x401e42
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x401e6b
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004034d0
xor eax, eax
mov byte [ebp - 4], 6
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x401e98
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004034d0
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov ebx, eax
jmp 0x40219c
xor eax, eax
mov dword [ebp - 0x2c], 7
push eax
push 0x41cf44
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.004029c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
push 3
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x41dff8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004029c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
push 3
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x41dfc8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004029c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.004016c0
mov eax, dword [ebp - 0x44]
add esp, 0xc
cmp eax, 8
jb 0x401f4e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x401f77
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004034d0
xor eax, eax
mov byte [ebp - 4], 6
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x401fa4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x2c], 7
push eax
push 0x41cf44
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004029c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x58]
push 4
xor eax, eax
mov dword [ebp - 0x44], 7
push str.Path
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004029c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
push 3
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x41dfc8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004029c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.004016c0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x40204a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x402073
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004034d0
xor eax, eax
mov byte [ebp - 4], 6
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x4020a0
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x2c], 7
push eax
push 0x41cf44
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004029c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x58]
push 2
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x41e00c
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004029c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
push 3
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x41dfc8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004029c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.004016c0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x402146
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x40216f
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004034d0
xor eax, eax
mov byte [ebp - 4], 6
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x40219c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004034d0
lea eax, [ebp - 0xb8]
push eax
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x58]
call fcn.00404110
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x19
call fcn.00401930
push esi
mov edx, eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x40]
call fcn.00404110
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x1b
cmp dword [edx + 0x14], 8
jb 0x4021e2
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
cmp word [edx], ax
jne 0x402208
xor ecx, ecx
jmp 0x40221f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402210
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.004029c0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x402241
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40226a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x402297
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
mov word [ebp - 0x58], ax
lea eax, [ebp - 0xa0]
cmovae ecx, dword [ebp - 0x88]
cmp dword [ebp - 0x8c], 8
push ecx
cmovae eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x48], 0
push str._s__s
push eax
call fcn.004019f0
add esp, 0x10
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push eax
push 0
push 0x41e020
push 0x41dfc8
call edi
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov edi, eax
cmovae ecx, dword [ebp - 0x70]
push ecx
push 0
push str.IsShow
push 0x41dfc8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp edi, 1
jne 0x40239f
lea ecx, [ebp - 0x40]
call fcn.00401930
mov edx, eax
cmp esi, edi
jne 0x402345
cmp dword [edx + 0x14], 8
jb 0x402341
mov edx, dword [edx]
push 5
jmp 0x40234f
cmp dword [edx + 0x14], 8
jb 0x40234d
mov edx, dword [edx]
push 0
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
push edx
cmovae ecx, dword [ebp - 0x88]
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
push ecx
cmovae eax, dword [ebp - 0xa0]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4025bd
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004034d0
jmp 0x4025bd
cmp edi, 2
jne 0x40240f
cmp dword [ebp - 0xd4], 8
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0xe8]
push eax
call fcn.00402c00
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x40]
call fcn.00401960
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4023e5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004034d0
lea eax, [ebp - 0x40]
cmp esi, 1
jne 0x4023f1
push 5
jmp 0x4023f3
push 0
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [ebp - 0x40]
call fcn.00402d90
jmp 0x4025bd
cmp edi, 3
jne 0x402473
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmovae eax, dword [ebp - 0xb8]
push 1
push 0
push 0
push eax
push str.open
push 0
call esi
cmp eax, 0x20
jg 0x4025bd
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
push 1
cmovae eax, dword [ebp - 0xb8]
push 0
push eax
push str.iexplore.exe
push str.open
push 0
call esi
jmp 0x4025bd
push 0x44
lea eax, [ebp - 0x190]
push 0
push eax
call fcn.00407a60
xor eax, eax
mov dword [ebp - 0x190], 0x44
add esp, 0xc
mov dword [ebp - 0x164], 1
mov ecx, 5
cmp esi, 1
xorps xmm0, xmm0
cmove ax, cx
lea ecx, [ebp - 0x28]
mov word [ebp - 0x160], ax
movups xmmword [ebp - 0x50], xmm0
call fcn.00401930
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0xc0], 0
je 0x40253f
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x100]
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.00402c00
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x23
call fcn.00401930
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x24
push ecx
mov edx, eax
lea ecx, [ebp - 0x13c]
call fcn.00404110
add esp, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.00402b00
lea ecx, [ebp - 0x13c]
call fcn.00402ac0
lea ecx, [ebp - 0x118]
call fcn.00402ac0
lea ecx, [ebp - 0x100]
call fcn.00402ac0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x190]
push edx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 8
push eax
cmovae ecx, dword [ebp - 0xe8]
push 0
push 0x4000000
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402594
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4c]
call esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4025a9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test ebx, ebx
je 0x4025cd
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov eax, dword [ebp - 0xd4]
cmp eax, 8
jb 0x4025eb
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xd8], 0
cmp eax, 8
jb 0x402626
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x40265e
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x402693
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], 0
cmp eax, 8
jb 0x4026ce
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc0], 0
cmp eax, 8
jb 0x402700
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004034d0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x140]
mov word [ebp - 0x70], ax
add edx, 0xfffffff0
mov dword [ebp - 0x5c], 7
or eax, 0xffffffff
mov dword [ebp - 0x60], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402739
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004049f8
mov esp, ebp
pop ebp
ret