Function at 0x40fd30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52719b
mov eax, dword fs:[0]
push eax
sub esp, 0x3b4
mov eax, dword [0x566090]
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
mov dword [ebp - 0x3a4], esi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xa8]
xor ebx, ebx
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x384], ebx
mov edx, 0x543f10
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x28], 0x203e2d20
mov byte [ebp - 0x24], bl
call fcn.0041f7c0
push eax
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x5244425b
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x1c], 0x494e4945
mov dword [ebp - 0x18], 0x3a205d54
mov word [ebp - 0x14], 0x203a
mov byte [ebp - 0x12], bl
call fcn.0041f930
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
lea ecx, [ebp - 0x270]
call fcn.0041fb00
mov edx, 0x543f10
mov dword [ebp - 0x28], 0x202d3c20
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x24], bl
call fcn.0041f7c0
push eax
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x5244425b
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x1c], 0x494e4945
mov dword [ebp - 0x18], 0x3a205d54
mov word [ebp - 0x14], 0x203a
mov byte [ebp - 0x12], bl
call fcn.0041f930
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
lea ecx, [ebp - 0x228]
call fcn.0041fb00
add esp, 0x10
call fcn.00441aa0
mov edi, eax
mov dword [ebp - 0x3b0], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x3b4], edi
lea eax, [ebp - 0x228]
movlpd qword [ebp - 0x3c0], xmm0
mov dword [ebp - 0x3b8], eax
mov ecx, dword [edi]
cmp dword [ecx], ebx
je 0x40fea1
lea eax, [ebp - 0x28]
movlpd qword [ebp - 0x28], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
push 0x546f10
mov dword [ebp - 0x3c0], eax
lea eax, [ebp - 0x270]
push eax
push str._s_s
push 0x546f10
push ebx
push edi
mov dword [ebp - 0x3bc], ecx
call fcn.0043d760
add esp, 0x18
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 4]
call fcn.00428500
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0xd], 0
jne 0x40fec9
mov eax, dword [ebp + 8]
cmp eax, dword [ecx + 0x10]
jge 0x40fecc
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 4]
jne 0x41016d
call fcn.00441aa0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x410059
xor eax, eax
mov dword [ebp - 0xac], 0x806e8049
lea edx, [ebp - 0xac]
mov dword [ebp - 0xa8], 0x80618076
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xa4], 0x8069806c
mov dword [ebp - 0xa0], 0x80208064
mov dword [ebp - 0x9c], 0x80708075
mov dword [ebp - 0x98], 0x80618064
mov dword [ebp - 0x94], 0x80658074
mov dword [ebp - 0x90], 0x80638020
mov dword [ebp - 0x8c], 0x806d806f
mov dword [ebp - 0x88], 0x806f8070
mov dword [ebp - 0x84], 0x8065806e
mov dword [ebp - 0x80], 0x8074806e
mov dword [ebp - 0x7c], 0x807b8020
mov dword [ebp - 0x78], 0x8000807d
mov word [ebp - 0x74], ax
call fcn.00419a70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x388]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x384], 0x201
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x388], eax
lea eax, [ebp + 8]
push eax
call fcn.0041b220
add esp, 4
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0x384], 0x203
call fcn.00444e70
mov dword [ebp - 4], 3
lea edi, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x158]
mov ebx, 0x607
mov dword [ebp - 0x20], 0x290028
cmovae edi, dword [ebp - 0x58]
mov edx, str.cst::update_engines::UpdateEngines::CleanupEngines
mov dword [ebp - 0x384], ebx
mov dword [ebp - 0x1c], 0x2d0020
mov dword [ebp - 0x18], 0x20
call fcn.0041abe0
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0x1e0]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0041ad80
lea ecx, [ebp - 0x20]
mov edx, eax
push ecx
lea ecx, [ebp - 0x380]
call fcn.0041afa0
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 0
push eax
call fcn.0043ebb0
mov esi, dword [ebp - 0x3a4]
add esp, 0x1c
mov dword [ebp - 4], 2
test bl, 4
je 0x4100b6
mov edx, dword [ebp - 0x44]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x4100a2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410098
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b5e
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 1
test bl, 2
je 0x410113
mov edx, dword [ebp - 0x5c]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x4100ff
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4100f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b5e
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 0
test bl, 1
je 0x410159
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x410159
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41014f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b5e
push edx
push ecx
call fcn.004fc7e0
add esp, 8
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
push str._CLEANUP_ENGINES__Invalid_component_id
call dword [eax + 0x30]
jmp 0x410b35
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 4]
call fcn.00415cf0
mov edi, eax
mov byte [ebp - 0x38c], 0
push dword [ebp - 0x38c]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x39c], edi
lea edx, [edi + 0x18]
call fcn.00426f50
add esp, 4
lea eax, [edi + 0x30]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0041cf80
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x390], 0
mov byte [ebp - 4], 5
lea ecx, [edi + 0x60]
cmp dword [edi + 0x74], 8
jb 0x4101e0
mov ecx, dword [edi + 0x60]
cmp dword [edi + 0x2c], 8
lea eax, [edi + 0x18]
jb 0x4101ec
mov eax, dword [edi + 0x18]
lea edx, [ebp - 0x398]
push edx
push ecx
push eax
call fcn.00407d30
test al, al
jne 0x4104a6
call fcn.00441aa0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4103ae
lea edx, [ebp - 0x140]
mov dword [ebp - 0x140], 0x80728045
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x13c], 0x806f8072
mov dword [ebp - 0x138], 0x803a8072
mov dword [ebp - 0x134], 0x806e8020
mov dword [ebp - 0x130], 0x8020806f
mov dword [ebp - 0x12c], 0x80768061
mov dword [ebp - 0x128], 0x80698061
mov dword [ebp - 0x124], 0x8061806c
mov dword [ebp - 0x120], 0x806c8062
mov dword [ebp - 0x11c], 0x80208065
mov dword [ebp - 0x118], 0x80658076
mov dword [ebp - 0x114], 0x80738072
mov dword [ebp - 0x110], 0x806f8069
mov dword [ebp - 0x10c], 0x8073806e
mov dword [ebp - 0x108], 0x80748020
mov dword [ebp - 0x104], 0x8020806f
mov dword [ebp - 0x100], 0x806f806c
mov dword [ebp - 0xfc], 0x80648061
mov dword [ebp - 0xf8], 0x8000
call fcn.00419a70
mov byte [ebp - 4], 6
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x388]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x384], 0x2008
cmovae eax, dword [ebp - 0x70]
mov dword [ebp - 0x388], eax
call fcn.0041ccb0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0x384], 0x2018
call fcn.00444e70
mov dword [ebp - 4], 8
lea edi, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0xd8]
mov ebx, 0x6038
mov dword [ebp - 0x20], 0x290028
cmovae edi, dword [ebp - 0x58]
mov edx, str.cst::update_engines::UpdateEngines::CleanupEngines
mov dword [ebp - 0x384], ebx
mov dword [ebp - 0x1c], 0x2d0020
mov dword [ebp - 0x18], 0x20
call fcn.0041abe0
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0x1e0]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0041ad80
lea ecx, [ebp - 0x20]
mov edx, eax
push ecx
lea ecx, [ebp - 0x380]
call fcn.0041afa0
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 0
push eax
call fcn.0043ebb0
add esp, 0x1c
test bl, 0x20
je 0x410404
mov edx, dword [ebp - 0x44]
and ebx, 0xffffffdf
cmp edx, 8
jb 0x4103f0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4103e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b63
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
test bl, 0x10
je 0x41045a
mov edx, dword [ebp - 0x2c]
and ebx, 0xffffffef
cmp edx, 8
jb 0x410446
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41043c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b63
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test bl, 8
je 0x410a9b
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x410a9b
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410497
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b63
push edx
push ecx
call fcn.004fc7e0
add esp, 8
jmp 0x410a9b
mov byte [ebp - 0x38c], 0
lea edx, [edi + 0x18]
push dword [ebp - 0x38c]
lea ecx, [ebp - 0xf0]
call fcn.00426f50
lea eax, [edi + 0x30]
mov byte [ebp - 4], 9
push eax
mov edx, 0x546ee4
lea ecx, [ebp - 0x40]
call fcn.004193f0
push str..lock
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c0]
call fcn.00441e20
add esp, 0xc
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x41052d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410523
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410b68
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0xf0]
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x2c], 7
push eax
call fcn.0041cf80
mov dword [ebp - 0x38c], 0xffffffff
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 8
lea edx, [ebp - 0x38c]
cmovae ecx, dword [ebp - 0xf0]
push ecx
call fcn.0040eaa0
add esp, 4
test al, al
je 0x410a0f
mov dword [ebp - 0x190], 0
xor eax, eax
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 7
mov word [ebp - 0x190], ax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], 7
mov word [ebp - 0x178], ax
mov byte [ebp - 4], 0x10
call fcn.00441aa0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x410741
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4105ee
mov eax, dword [edi]
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x3a8], eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xa0], 0x806f804c
mov dword [ebp - 0x9c], 0x80648061
mov dword [ebp - 0x98], 0x80738020
mov dword [ebp - 0x94], 0x80678069
mov dword [ebp - 0x90], 0x806e8069
mov dword [ebp - 0x8c], 0x806f8066
mov dword [ebp - 0x88], 0x80668020
mov dword [ebp - 0x84], 0x806f8072
mov dword [ebp - 0x80], 0x8020806d
mov dword [ebp - 0x7c], 0x807d807b
mov dword [ebp - 0x78], 0x8000
call fcn.00419a70
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x384], 0x20040
cmovae eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3a8]
push eax
call fcn.0041cd30
add esp, 4
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x384], 0x200c0
call fcn.00444e70
mov dword [ebp - 4], 0x13
lea edi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x158]
mov ebx, 0x601c0
mov dword [ebp - 0x20], 0x290028
cmovae edi, dword [ebp - 0x40]
mov edx, str.cst::update_engines::UpdateEngines::CleanupEngines
mov dword [ebp - 0x384], ebx
mov dword [ebp - 0x1c], 0x2d0020
mov dword [ebp - 0x18], 0x20
call fcn.0041abe0
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0x1e0]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0041ad80
lea ecx, [ebp - 0x20]
mov edx, eax
push ecx
lea ecx, [ebp - 0x380]
call fcn.0041afa0
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 0
push eax
call fcn.0043ebb0
mov edi, dword [ebp - 0x39c]
add esp, 0x1c
test ebx, 0x100
je 0x410757
lea ecx, [ebp - 0x40]
and ebx, 0xfffffeff
call fcn.00445ad0
test bl, bl
jns 0x410769
lea ecx, [ebp - 0x58]
and ebx, 0xffffff7f
call fcn.00445ad0
mov dword [ebp - 4], 0x10
test bl, 0x40
je 0x410780
lea ecx, [ebp - 0x70]
and ebx, 0xffffffbf
call fcn.00445ad0
cmp dword [edi + 0x14], 8
mov ecx, dword [ebp - 0x3a4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
mov eax, edi
jb 0x410795
mov eax, dword [edi]
lea esi, [ebp - 0x190]
push esi
push eax
call edx
mov esi, dword [ebp - 0x38c]
cmp esi, 0xffffffff
je 0x4107ca
test esi, esi
je 0x4107ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0x39c]
cmp dword [ebp - 0x3a0], 0
mov dword [ebp - 0x38c], 0xffffffff
je 0x4108bf
mov dword [ebp - 0x58], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x388]
mov byte [ebp - 0x3a0], al
lea ecx, [ebp - 0x70]
push dword [ebp - 0x3a0]
call fcn.00444270
add esp, 4
lea esi, [edi + 0x60]
mov byte [ebp - 4], 0x16
cmp dword [esi + 0x14], 8
jb 0x41082c
mov esi, dword [esi]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00441ec0
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 8
jb 0x410844
mov eax, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
push esi
push eax
call fcn.00406860
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
mov bl, al
call fcn.00445ad0
test bl, bl
je 0x410899
mov esi, dword [ebp - 0x398]
lea eax, [ebp - 0x388]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00444300
push edi
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x18
push eax
push esi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040f7a0
lea ecx, [ebp - 0x40]
call fcn.00445ad0
lea ecx, [ebp - 0x70]
call fcn.00445ad0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x410997
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00445a90
jmp 0x410997
mov eax, dword [ebp - 0x394]
sub eax, dword [ebp - 0x398]
mov edi, dword [ebp + 0x10]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp edi, eax
jae 0x410997
lea ecx, [edi + edi*2]
shl ecx, 3
mov dword [ebp - 0x388], ecx
nop dword [eax + eax]
mov esi, dword [ebp - 0x398]
lea eax, [ebp - 0x1a8]
add esi, ecx
lea ecx, [ebp - 0x70]
push eax
call fcn.00444e70
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x19
call fcn.00444e70
or ebx, 0x80000
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x70]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00445020
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x19
call fcn.00445ad0
push dword [ebp - 0x39c]
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x398]
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0040f7a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x10
call fcn.00445ad0
mov eax, dword [ebp - 0x394]
inc edi
sub eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x388]
sar eax, 3
add ecx, 0x18
imul eax, eax, 0xaaaaaaab
mov dword [ebp - 0x388], ecx
cmp edi, eax
jb 0x4108f0
mov eax, dword [ebp - 0x164]
cmp eax, 8
jb 0x4109b5
inc eax
lea ecx, [ebp - 0x178]
push eax
push dword [ebp - 0x178]
call fcn.00445a90
xor eax, eax
mov dword [ebp - 0x168], 0
mov word [ebp - 0x178], ax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x164], 7
cmp eax, 8
jb 0x4109f0
inc eax
lea ecx, [ebp - 0x190]
push eax
push dword [ebp - 0x190]
call fcn.00445a90
xor eax, eax
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 7
mov word [ebp - 0x190], ax
jmp 0x410a25
mov eax, dword [ebp - 0x38c]
cmp eax, 0xffffffff
je 0x410a25
test eax, eax
je 0x410a25
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1ac]
cmp eax, 8
jb 0x410a43
inc eax
lea ecx, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1c0]
call fcn.00445a90
xor eax, eax
mov dword [ebp - 0x1b0], 0
mov word [ebp - 0x1c0], ax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1ac], 7
cmp eax, 8
jb 0x410a7e
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.00445a90
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov esi, dword [ebp - 0x398]
test esi, esi
je 0x410afa
mov edi, dword [ebp - 0x394]
cmp esi, edi
je 0x410abe
nop
mov ecx, esi
call fcn.00445ad0
add esi, 0x18
cmp esi, edi
jne 0x410ab0
mov eax, dword [ebp - 0x390]
mov esi, dword [ebp - 0x398]
sub eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
push eax
push esi
call fcn.004188b0
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x390], 0
mov eax, dword [ebp - 0x194]
cmp eax, 8
jb 0x410b18
inc eax
lea ecx, [ebp - 0x1a8]
push eax
push dword [ebp - 0x1a8]
call fcn.00445a90
xor eax, eax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 7
mov word [ebp - 0x1a8], ax
lea ecx, [ebp - 0x3c0]
call fcn.0043d670
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.004fc7af
mov esp, ebp
pop ebp
ret 0xc
call fcn.0050175f
call fcn.0050175f
call fcn.0050175f
int3