Function at 0x40bbd0
Capabilities:
Delete file
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f439
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x441070]
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 dword [ebp - 0xd0], edx
mov ebx, ecx
mov dword [ebp - 0xc8], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xdc], eax
xor eax, eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xbe], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.0040d580
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 0x10
lea edx, [ebp - 0xc4]
cmovae ecx, dword [ebp - 0xa0]
call fcn.00402440
mov edx, dword [ebp - 0xc4]
test edx, edx
je 0x40bd16
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bd00
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.00402e10
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
cmovae eax, dword [ebp - 0xb8]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x60], ecx
cmovae eax, dword [ebp - 0x70]
mov word [eax], cx
cmp dword [ebp - 0x90], ecx
je 0x40bdff
cmp dword [ebp - 0x8c], 0x10
lea edi, [ebp - 0xa0]
jb 0x40bd73
mov edi, dword [ebp - 0xa0]
test edi, edi
je 0x40bdff
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0x4e4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
test ebx, ebx
je 0x40bdf9
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410b36
mov esi, eax
add esp, 4
test esi, esi
je 0x40bdf9
lea eax, [ebx + ebx]
push eax
push 0
push esi
call fcn.00412cb0
add esp, 0xc
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 0x4e4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bdd2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xb8]
call fcn.004018a0
push 2
push esi
call fcn.00410b00
add esp, 8
mov ebx, dword [ebp - 0xc8]
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov dword [ebp - 0x78], 0
cmovae eax, dword [ebp - 0x88]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x40be4c
mov edx, ecx
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40be30
sub edx, esi
sar edx, 1
je 0x40be4c
lea edx, [ebp - 0x88]
call fcn.00409fb0
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x40be8f
cmp dword [ebp - 0x78], 0
je 0x40be8f
cmp dword [ebp - 0x74], 8
lea esi, [ebp - 0x88]
lea eax, [ebp - 0xb8]
cmovae esi, dword [ebp - 0x88]
lea edi, [ebp - 0x70]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040ab20
mov edx, edi
mov ecx, esi
call fcn.004093d0
add esp, 0x18
jmp 0x40bebd
test ecx, ecx
lea eax, [ebp - 0xb8]
lea edx, [ebp - 0x88]
cmove eax, edx
lea ecx, [ebp - 0x70]
cmp ecx, eax
je 0x40bebd
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x40beb1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004018a0
lea ecx, [ebp - 0x70]
call fcn.00409d70
test ebx, ebx
je 0x40bf9f
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x40bf19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40bef7
movzx esi, si
or esi, 0x80070000
test esi, esi
mov eax, 0x80004005
cmovns esi, eax
push esi
push 0x312
push str.c:_buildagentwork_ff5fabc9ec27ac7d_setupexe_setupexe.cpp
mov dword [ebp - 0xbc], esi
call fcn.0040eb40
jmp 0x40bf8d
push 0
push 0x40ba20
push 0
push 0x65
push dword [0x442afc]
mov dword [0x442af8], ebx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
mov dword [ebp - 0xbc], esi
cmp esi, 0xffffffff
jne 0x40bf7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40bf58
movzx esi, si
or esi, 0x80070000
test esi, esi
mov eax, 0x80004005
cmovns esi, eax
push esi
push 0x31a
push str.c:_buildagentwork_ff5fabc9ec27ac7d_setupexe_setupexe.cpp
mov dword [ebp - 0xbc], esi
call fcn.0040eb40
jmp 0x40bf8d
test esi, esi
jle 0x40bf8d
movzx esi, si
or esi, 0x80070000
mov dword [ebp - 0xbc], esi
mov dword [0x442af8], 0
test esi, esi
js 0x40c704
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0xd4]
push eax
push str.MANIFEST
push 0
call fcn.0040e1a0
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
mov eax, dword [ebp - 0xd4]
push 1
movzx eax, byte [eax + 1]
imul eax, eax, 0x468
push eax
call fcn.0040e830
mov ebx, eax
mov dword [ebp - 0xd8], ebx
test ebx, ebx
jne 0x40c007
mov esi, 0x8007000e
push esi
push 0x3c0
push str.c:_buildagentwork_ff5fabc9ec27ac7d_setupexe_setupexe.cpp
call fcn.0040eb40
jmp 0x40c8a5
mov ecx, dword [ebp - 0xd4]
xor bl, bl
mov edx, dword [ebp + 8]
movzx eax, byte [ecx + 1]
imul eax, eax, 0xa8
add eax, 4
add eax, ecx
mov dword [ebp - 0xc8], eax
cmp byte [ecx + 2], bl
jbe 0x40c0dd
movzx edi, bl
shl edi, 4
add edi, eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xd0], eax
mov eax, edx
cmp edx, 0xffffffff
jne 0x40c057
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp - 0xd4]
movzx eax, ax
cmp eax, dword [ebp - 0xd0]
jne 0x40c0c9
push 0x104
lea eax, [ebp - 0xcc]
push eax
call fcn.0040dd10
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
push 0x104
push dword [ebp - 0xcc]
push 0x43db14
call fcn.0040e8f0
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
push 2
push dword [ebp - 0xcc]
push edi
call fcn.0040e090
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp + 8]
inc bl
mov eax, dword [ebp - 0xc8]
cmp bl, byte [ecx + 2]
jb 0x40c030
cmp dword [ebp - 0xcc], 0
jne 0x40c228
xor al, al
mov byte [ebp - 0xbd], al
cmp byte [ecx + 2], al
jbe 0x40c228
mov dword [ebp - 0xd0], 4
movzx edi, al
mov eax, dword [ebp + 8]
shl edi, 4
add edi, dword [ebp - 0xc8]
mov edx, dword [edi + 0xc]
mov dword [ebp - 0xc4], edx
cmp eax, 0xffffffff
jne 0x40c137
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xc4]
movzx eax, ax
mov ebx, eax
and ebx, 0x3ff
cmp word [ebp - 0xd0], bx
jne 0x40c18b
cmp eax, 0xc04
ja 0x40c16e
je 0x40c17c
cmp eax, 0x404
je 0x40c17c
cmp eax, 0x804
jne 0x40c164
mov eax, 0x804
xor edx, edx
cmp eax, dword [ebp - 0xc4]
jmp 0x40c1a0
cmp eax, 0x1004
je 0x40c15f
cmp eax, 0x1404
jne 0x40c164
mov eax, 0x404
xor edx, edx
cmp eax, dword [ebp - 0xc4]
jmp 0x40c1a0
and edx, 0x3ff
mov dword [ebp - 0xc4], edx
xor edx, edx
cmp bx, word [ebp - 0xc4]
sete dl
test edx, edx
je 0x40c211
push 0x104
lea eax, [ebp - 0xcc]
push eax
call fcn.0040dd10
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
push 0x104
push dword [ebp - 0xcc]
push 0x43db14
call fcn.0040e8f0
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
push 2
push dword [ebp - 0xcc]
push edi
call fcn.0040e090
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
mov ecx, dword [ebp - 0xd4]
mov al, byte [ebp - 0xbd]
inc al
mov byte [ebp - 0xbd], al
cmp al, byte [ecx + 2]
jb 0x40c105
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x40c23f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xd4]
xor al, al
mov byte [ebp - 0xbd], al
cmp byte [ecx + 1], al
jbe 0x40c6fc
mov edx, dword [ebp + 0x10]
movzx eax, al
imul edi, eax, 0xa8
movzx eax, byte [ebp - 0xbe]
imul ebx, eax, 0x468
mov dword [ebp - 0xd0], edx
mov edx, dword [ebp + 0x14]
add edi, 4
mov dword [ebp - 0xc4], edx
add edi, ecx
add ebx, dword [ebp - 0xd8]
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xe8], ebx
je 0x40c2a2
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
jmp 0x40c2a7
mov eax, 0x43c840
push 0
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040dff0
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
push 0x27
push ebx
lea eax, [edi + 0x8c]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
test dword [edi + 0xa4], 0x100
je 0x40c301
mov dword [ebp - 0xc4], 6
jmp 0x40c435
cmp dword [ebp + 0x14], 7
je 0x40c428
mov eax, dword [edi + 0xa0]
mov ebx, dword [edi + 0x9c]
xor edi, edi
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0xec], 0x24
push eax
push str.VersionString
push dword [ebp - 0xe8]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
call dword [sym.imp.msi.dll_MsiGetPropertyW]
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
jne 0x40c3d8
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040e710
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp - 0xfc]
mov esi, dword [ebp - 0x100]
cmp ebx, ecx
jne 0x40c3b1
cmp esi, edx
jne 0x40c3b1
mov edi, 2
jmp 0x40c406
mov eax, ebx
xor eax, ecx
test eax, 0xffff0000
jne 0x40c3c0
cmp ebx, ecx
ja 0x40c3c8
cmp ecx, ebx
jne 0x40c3d1
cmp esi, edx
jbe 0x40c3cf
mov edi, 4
jmp 0x40c406
cmp ecx, ebx
sbb edi, edi
and edi, 5
jmp 0x40c406
cmp esi, 0x645
je 0x40c401
cmp esi, 0x648
je 0x40c401
test esi, esi
jle 0x40c3fd
movzx esi, si
or esi, 0x80070000
mov dword [ebp - 0xbc], esi
test esi, esi
jns 0x40c40e
jmp 0x40c414
mov edi, 1
xor esi, esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc4], edi
test esi, esi
js 0x40c704
mov ebx, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xc8]
cmp dword [ebp - 0xc4], 0
je 0x40c6df
inc byte [ebp - 0xbe]
lea edx, [ebp - 0xe0]
mov ecx, edi
call fcn.0040b720
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
mov edx, dword [ebp - 0xe0]
lea esi, [ebx + 0x4e]
mov dword [ebp - 0xe8], 1
mov ecx, 0x104
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x40c490
movzx eax, word [edx]
test ax, ax
je 0x40c490
mov word [esi], ax
add edx, 2
add esi, 2
sub ecx, 1
jne 0x40c470
lea eax, [esi - 2]
test ecx, ecx
cmovne eax, esi
xor edx, edx
mov esi, 0x8007007a
mov word [eax], dx
xor eax, eax
test ecx, ecx
cmovne esi, eax
mov dword [ebp - 0xbc], esi
je 0x40c704
cmp dword [ebp - 0xcc], eax
je 0x40c573
test byte [edi + 0xa4], 0x80
je 0x40c573
push eax
push str._TRANSFORMS_
lea eax, [ebp - 0xe4]
push eax
call fcn.0040dd70
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
mov eax, dword [edi + 0xa4]
test al, 4
je 0x40c549
mov edx, dword [ebp - 0xcc]
lea ecx, [ebp - 0xf4]
push ecx
and eax, 1
mov ecx, edi
push eax
call fcn.0040b620
mov esi, eax
add esp, 8
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x40c53f
push eax
call fcn.0040e080
mov dword [ebp - 0xcc], 0
push 0
push dword [ebp - 0xf4]
jmp 0x40c551
push 0
push dword [ebp - 0xcc]
call fcn.0040e620
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040dd70
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
mov ecx, dword [edi + 0xa4]
test cl, 4
je 0x40c62d
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0xf0]
and ecx, 1
push eax
push ecx
mov ecx, edi
call fcn.0040b520
mov esi, eax
add esp, 8
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
mov edi, dword [ebp - 0xf0]
lea esi, [ebx + 0x256]
mov dword [ebp - 0xe8], 0
mov ecx, 0x104
mov edx, edi
nop word [eax + eax]
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x40c5f0
movzx eax, word [edx]
test ax, ax
je 0x40c5f0
mov word [esi], ax
add edx, 2
add esi, 2
sub ecx, 1
jne 0x40c5d0
lea eax, [esi - 2]
test ecx, ecx
cmovne eax, esi
xor edx, edx
mov esi, 0x8007007a
mov word [eax], dx
xor eax, eax
test ecx, ecx
cmovne esi, eax
mov dword [ebp - 0xbc], esi
je 0x40c704
mov edx, dword [ebp - 0xc8]
mov dword [ebx + 0x460], 1
mov ecx, dword [edx + 0xa4]
jmp 0x40c639
mov edi, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xc8]
test cl, 8
jne 0x40c654
test cl, 0x10
mov eax, 3
mov esi, 0x43
cmovne eax, esi
mov dword [ebp - 0xd0], eax
mov eax, ecx
add edx, 0xc
and eax, 1
push eax
mov eax, ecx
and ecx, 0x10
and eax, 0x200
push eax
push ecx
push dword [ebp - 0xd0]
mov ecx, ebx
push dword [ebp - 0xc4]
push dword [ebp - 0xdc]
push dword [ebp - 0xe4]
push edi
call fcn.0040b240
mov esi, eax
add esp, 0x20
mov dword [ebp - 0xbc], esi
test esi, esi
js 0x40c704
cmp esi, 1
jne 0x40c6c0
cmp dword [ebx + 0x460], 0
je 0x40c6ca
lea edi, [ebx + 0x256]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov word [edi], ax
mov dword [ebx + 0x460], eax
jmp 0x40c6ca
mov dword [ebx + 0x464], 1
cmp dword [ebp - 0xe8], 0
je 0x40c6df
push dword [ebp - 0xe0]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [ebp - 0xbd]
mov ecx, dword [ebp - 0xd4]
inc al
mov byte [ebp - 0xbd], al
cmp al, byte [ecx + 1]
jb 0x40c250
test esi, esi
jns 0x40c89f
cmp esi, 0x80070bc2
je 0x40c89f
cmp esi, 0x80070bc3
je 0x40c89f
cmp esi, 0x80070669
je 0x40c89f
mov al, byte [ebp - 0xbe]
test al, al
je 0x40c89f
mov edi, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
add edi, 0x256
movzx ebx, al
mov dword [ebp - 0xc8], ebx
cmp dword [edi + 0x20e], 0
je 0x40c860
push 0
push 3
mov dword [ebp - 0xc4], 0
call dword [sym.imp.msi.dll_MsiSetPropertyW]
test esi, esi
je 0x40c784
push 1
push esi
push 0x1fdf
call dword [sym.imp.msi.dll_MsiGetComponentPathW]
push 0
push 0x43c840
lea eax, [ebp - 0xc4]
push eax
call fcn.0040dff0
test eax, eax
js 0x40c850
lea eax, [ebp - 0xdc]
xor ebx, ebx
push eax
push 8
mov dword [ebp - 0xdc], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40c7f2
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 4
push eax
push 4
lea eax, [ebp - 0xd0]
push eax
push 0x14
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x40c803
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
mov ecx, str._IS_ELEVATEDno
push 0
mov eax, str._IS_ELEVATEDyes
cmove eax, ecx
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040dd70
test eax, eax
js 0x40c84a
push 0
push str._REMOVEALL
lea eax, [ebp - 0xc4]
push eax
call fcn.0040dd70
test eax, eax
js 0x40c84a
push dword [ebp - 0xc4]
push 0
call dword [sym.imp.msi.dll_MsiOpenDatabaseW]
mov ebx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x40c860
push eax
call fcn.0040e080
cmp word [edi], 0
je 0x40c86d
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp word [edi - 0x208], 0
lea eax, [edi - 0x208]
je 0x40c884
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add edi, 0x468
sub ebx, 1
mov dword [ebp - 0xc8], ebx
jne 0x40c751
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x40c8b6
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x40c8c0
push ebx
call fcn.0040e860
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x40c8d0
push eax
call fcn.0040e080
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x40c8e0
push eax
call fcn.0040e080
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x40c8f0
push eax
call fcn.0040e080
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x40c900
push eax
call fcn.0040e080
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x40c910
push eax
call fcn.0040e080
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x40c94d
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c943
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca61
push edx
push ecx
call fcn.00410b00
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 0x10
jb 0x40c99e
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c994
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca66
push edx
push ecx
call fcn.00410b00
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp edx, 8
jb 0x40c9f3
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c9e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca6b
push edx
push ecx
call fcn.00410b00
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x40ca43
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca70
push edx
push ecx
call fcn.00410b00
add esp, 8
mov eax, esi
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.00410abf
mov esp, ebp
pop ebp
ret
call fcn.00418a34
call fcn.00418a34
call fcn.00418a34
call fcn.00418a34
int3