Function at 0x4400f0
Capabilities:
Check if file exists
Create process on windows
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x254], ebx
lea eax, [ebx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor edi, edi
xor edx, edx
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x250], edi
test eax, eax
jne 0x440237
cmp dword [ebp + 0xc], edx
jne 0x440212
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0xf0]
mov dword [ebp - 0x244], ecx
mov edx, dword [eax + 0x1d0]
mov eax, dword [eax + 0x1d4]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], eax
test ecx, ecx
je 0x4401cf
mov eax, dword [ebx + 0x108]
mov ebx, dword [ebp - 0x238]
mov dword [ebp - 0x248], eax
nop dword [eax]
mov esi, dword [eax + edi*4]
mov ecx, dword [esi + 0x28]
shr ecx, 1
xor ecx, dword [esi + 0x28]
test cl, 1
je 0x4401a8
cmp byte [esi + 0x34], 1
je 0x4401a8
cmp dword [esi + 0x30], 3
je 0x4401a8
add edx, dword [esi + 0x258]
adc ebx, dword [esi + 0x25c]
mov eax, dword [ebp - 0x248]
inc edi
cmp edi, dword [ebp - 0x244]
jb 0x440180
mov dword [ebp - 0x238], ebx
mov ebx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov ecx, dword [ebp - 0x23c]
mov edx, eax
call fcn.004f3ba0
addsd xmm0, xmm0
mulsd xmm0, qword [0x513a48]
call fcn.004f3af0
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x234]
push eax
call fcn.00442b00
mov edi, dword [ebp - 0x234]
mov dword [edi + 8], 2
mov dword [edi + 0x10], esi
jmp 0x4413a1
lea eax, [ebp - 0x234]
mov ecx, ebx
push eax
xor esi, esi
call fcn.004429e0
mov edi, dword [ebp - 0x234]
mov dword [edi + 8], 2
mov dword [edi + 0x10], esi
jmp 0x4413a1
cmp eax, 1
jne 0x440373
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.004ae980
cmp dword [ebx + 0x194], 1
jne 0x4402ee
lea eax, [ebx + 0xc4]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004abe70
test eax, eax
jne 0x4402ee
push 0x20
call fcn.004d3886
mov ecx, eax
mov dword [ebp - 0x24c], eax
call fcn.004069a0
xor esi, esi
mov dword [ebp - 0x250], eax
cmp dword [ebx + 0xf0], esi
jbe 0x4413a1
xor edi, edi
mov dword [ebp - 0x238], esi
mov edx, dword [ebx + 0x108]
mov eax, dword [edx + edi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x238]
shr ecx, 1
mov eax, dword [eax + edx]
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x4402d6
push dword [ebp - 0x250]
mov ecx, ebx
push 0
push dword [ebp + 0xc]
push dword [edx + esi*4]
call fcn.0043fc20
add dword [ebp - 0x238], 4
inc esi
add edi, 4
cmp esi, dword [ebx + 0xf0]
jb 0x4402a2
jmp 0x44139b
push 0x20
call fcn.004d3886
mov ecx, eax
mov dword [ebp - 0x24c], eax
call fcn.004069a0
xor esi, esi
mov dword [ebp - 0x250], eax
cmp dword [ebx + 0xf0], esi
jbe 0x4413a1
xor edi, edi
mov dword [ebp - 0x238], esi
nop
mov edx, dword [ebx + 0x108]
mov eax, dword [edx + edi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x238]
shr ecx, 1
mov eax, dword [eax + edx]
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x44035b
mov eax, dword [edx + esi*4]
cmp dword [eax + 0x30], 3
jne 0x44035b
push dword [ebp - 0x250]
mov ecx, ebx
push 0
push dword [ebp + 0xc]
push eax
call fcn.0043fc20
add dword [ebp - 0x238], 4
inc esi
add edi, 4
cmp esi, dword [ebx + 0xf0]
jb 0x440320
jmp 0x44139b
cmp eax, 4
jne 0x4403e6
xor edi, edi
cmp dword [ebx + 0xf0], edx
jbe 0x4409a8
mov eax, dword [ebx + 0x108]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x28]
shr ecx, 1
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x4403d7
mov eax, dword [ebx + 0x108]
lea edx, [ebx + 0x168]
xor esi, esi
mov ecx, dword [eax + edi*4]
add ecx, 8
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4403d7
inc esi
add edx, 4
add ecx, 4
cmp esi, 8
jb 0x4403b0
mov eax, dword [ebx + 0x108]
mov ecx, ebx
push dword [eax + edi*4]
call fcn.0043f480
jmp 0x441735
inc edi
cmp edi, dword [ebx + 0xf0]
jae 0x4409a8
jmp 0x440386
cmp eax, 5
jne 0x440634
mov esi, dword [ebx + 0xf0]
xor ecx, ecx
test esi, esi
je 0x44041c
mov edi, dword [ebx + 0x108]
mov eax, dword [edi + ecx*4]
mov eax, dword [eax + 0x48]
cmp eax, 1
je 0x440416
cmp eax, 3
je 0x440416
cmp eax, 4
jne 0x440417
inc edx
inc ecx
cmp ecx, esi
jb 0x440401
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.00442d10
mov edi, dword [ebp - 0x234]
xor esi, esi
mov dword [ebp - 0x23c], esi
mov dword [edi + 8], 1
cmp dword [ebx + 0xf0], esi
jbe 0x4413a1
xor eax, eax
xor edx, edx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x254], edx
nop word [eax + eax]
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx + eax]
cmp dword [eax + 0x48], 1
je 0x440485
mov eax, dword [edx + ecx]
cmp dword [eax + 0x48], 3
je 0x440485
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0x48], 4
jne 0x440604
mov eax, dword [ebx + 0x194]
mov ecx, dword [ecx + esi*4]
mov dword [ebp - 0x248], ecx
cmp eax, 1
jne 0x4404ba
push ecx
lea eax, [ecx + 8]
mov ecx, dword [ebx + 0x60]
push 0
push eax
lea eax, [ebx + 0xc4]
mov ecx, dword [ecx + 0x49c]
push eax
call fcn.004a7df0
jmp 0x4405b1
cmp eax, 2
jne 0x4405b1
mov eax, dword [ebx + 0x60]
lea edi, [ecx + 8]
mov dword [ebp - 0x240], 0
mov eax, dword [eax + 0x4d8]
mov eax, dword [eax + 0xbc]
mov dword [ebp - 0x244], eax
test edi, edi
je 0x44050d
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x244]
lea eax, [ebp - 0x240]
push eax
push edi
call fcn.0042a970
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 0x60]
lea eax, [ebp - 0x240]
push eax
push edi
mov dword [ebp - 0x240], 0
mov ecx, dword [ecx + 0x470]
push 0x5aa01092
call fcn.0041a240
mov eax, dword [ebx + 0x60]
mov esi, dword [eax + 0x470]
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x248]
mov ecx, esi
push 0
push 2
push 0
add eax, 8
push eax
call fcn.0041cc40
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test byte [ebp - 0x240], 2
je 0x44057b
push ecx
mov ecx, dword [ebx + 0x60]
mov ecx, dword [ecx + 0x470]
call fcn.0041cf20
mov ecx, dword [ebx + 0x60]
call fcn.00495c40
mov ecx, dword [ebx + 0x60]
push dword [ecx + 0x1d4]
push dword [ecx + 0x1d0]
push dword [ecx + 0x1bc]
mov ecx, dword [ecx + 0x478]
push 1
call fcn.0045db50
mov edi, dword [ebp - 0x234]
mov esi, dword [ebp - 0x23c]
mov eax, dword [ebx + 0x108]
mov edx, dword [eax + esi*4]
mov eax, dword [edi + 0x38]
mov ecx, eax
shl ecx, 5
inc eax
mov dword [edi + 0x38], eax
mov eax, dword [edx + 8]
mov dword [ecx + edi + 0x3c], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + edi + 0x40], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + edi + 0x44], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + edi + 0x48], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + edi + 0x4c], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + edi + 0x50], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + edi + 0x54], eax
mov eax, dword [edx + 0x24]
mov edx, dword [ebp - 0x254]
mov dword [ecx + edi + 0x58], eax
mov eax, dword [ebp - 0x238]
inc esi
add eax, 4
mov dword [ebp - 0x23c], esi
add edx, 4
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x254], edx
cmp esi, dword [ebx + 0xf0]
jb 0x440460
jmp 0x4413a1
cmp eax, 6
jne 0x440659
lea eax, [ebp - 0x234]
mov ecx, ebx
push eax
call fcn.004429e0
mov edi, dword [ebp - 0x234]
mov dword [edi + 8], 3
jmp 0x4413a1
cmp eax, 7
jne 0x4407d8
cmp dword [ebx + 0x140], edx
jl 0x4407aa
mov eax, dword [ebx + 0xac]
lea edx, [ebp - 0x240]
mov dword [ebp - 0x240], eax
mov eax, dword [ebx + 0x60]
push edx
push dword [ebx + 0xb8]
mov ecx, dword [eax + 0x49c]
mov eax, dword [eax + 0x4a0]
add eax, 0x10
push eax
lea eax, [ebx + 0xc4]
push eax
call fcn.004a73f0
test eax, eax
jne 0x4407aa
mov esi, dword [ebx + 0xb8]
mov eax, dword [esi]
test eax, eax
je 0x4406d1
cmp eax, 6
je 0x4406d1
cmp eax, 1
je 0x4406d1
cmp eax, 2
je 0x4406d1
mov esi, dword [ebp - 0x24c]
jmp 0x4406d4
add esi, 8
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4406e0
mov eax, dword [ebx + 0x60]
sub ecx, edx
sar ecx, 1
lea edx, [ebp - 0x244]
mov dword [ebp - 0x244], ecx
mov ecx, esi
push dword [eax + 0x32c]
call fcn.004534d0
mov eax, dword [ebx + 0x60]
add esp, 4
push dword [eax + 0x448]
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004d9c76
mov eax, dword [ebx + 0x60]
lea edx, [ebp - 0x240]
add esp, 0xc
mov ecx, 0x103
sub ecx, dword [eax + 0x454]
mov dword [ebp - 0x240], ecx
lea ecx, [ebp - 0x210]
push esi
call fcn.00453460
add esp, 4
lea edx, [ebp - 0x240]
lea ecx, [ebp - 0x210]
push 0x504dd0
call fcn.00453460
add esp, 4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4407aa
lea eax, [ebx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 1
lea eax, [ebp - 0x210]
push eax
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x441735
lea eax, [ebx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x60]
push 1
mov eax, dword [eax + 0x448]
push eax
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x441735
cmp eax, 8
jne 0x44084e
xor esi, esi
cmp dword [ebx + 0xf0], edx
jbe 0x4409a8
xor edi, edi
mov dword [ebp - 0x238], edx
mov edx, dword [ebx + 0x108]
mov eax, dword [edx + edi]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x238]
shr ecx, 1
mov eax, dword [edx + eax]
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x440829
mov ecx, dword [ebx + 0x60]
mov eax, dword [edx + esi*4]
push 1
add eax, 8
mov ecx, dword [ecx + 0x4d8]
push eax
call fcn.00422b60
add dword [ebp - 0x238], 4
inc esi
add edi, 4
cmp esi, dword [ebx + 0xf0]
jb 0x4407f3
lea eax, [ebx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x441735
cmp eax, 9
jne 0x44086f
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0043ee50
lea eax, [ebx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x441735
cmp eax, 0xa
jne 0x4409ba
xor edi, edi
cmp dword [ebx + 0xf0], edx
jbe 0x4409a8
xor eax, eax
xor edx, edx
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x238], edx
nop word [eax + eax]
mov esi, dword [ebx + 0x108]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x28]
mov eax, dword [esi + edx]
shr ecx, 1
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x440983
mov eax, dword [ebx + 0x60]
mov esi, dword [esi + edi*4]
push dword [eax + 0x448]
push 0x200
push dword [ebx + 0xa8]
call fcn.004d9c76
mov eax, dword [ebx + 0x60]
lea edx, [ebp - 0x23c]
add esp, 0xc
mov ecx, 0x103
sub ecx, dword [eax + 0x454]
lea eax, [esi + 0x50]
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebx + 0xa8]
push eax
call fcn.00453460
mov eax, dword [ebp - 0x23c]
add esp, 4
test eax, eax
je 0x44097d
mov ecx, 0x104
xor edx, edx
sub ecx, eax
xorps xmm0, xmm0
mov eax, dword [ebx + 0xa8]
mov word [eax + ecx*2], dx
mov eax, dword [ebx + 0x60]
movlpd qword [ebp - 0x21e], xmm0
mov dword [ebp - 0x216], edx
mov eax, dword [eax + 0x4f0]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x230], eax
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0x228], eax
mov eax, 0x450
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x224], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x254]
inc edi
add eax, 4
add edx, 4
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x238], edx
cmp edi, dword [ebx + 0xf0]
jb 0x4408a0
lea eax, [ebx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x441735
cmp eax, 0xb
jne 0x440d12
lea eax, [ebp - 0x234]
mov ecx, ebx
push eax
call fcn.00442c80
mov edi, dword [ebp - 0x234]
xor edx, edx
mov dword [ebp - 0x234], edx
mov dword [edi + 8], 1
cmp dword [ebx + 0xf0], edx
jbe 0x4413a1
xor eax, eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x23c], eax
mov esi, dword [ebx + 0x108]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x23c]
shr ecx, 1
mov eax, dword [esi + eax]
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x440ce4
mov esi, dword [ebx + 0x60]
mov eax, dword [ebx + 0x108]
mov esi, dword [esi + 0x4a8]
mov eax, dword [eax + edx*4]
add eax, 8
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x248], eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp - 0x248]
jne 0x440b8d
test eax, eax
jne 0x440a6a
lea esi, [eax + 1]
jmp 0x440b24
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x25c]
push ecx
push eax
push 0x20
push 0x77fc87de
mov ecx, esi
call fcn.004088a0
test eax, eax
je 0x440a95
mov esi, 1
jmp 0x440b24
mov esi, dword [ebp - 0x254]
test esi, esi
jne 0x440ad5
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x25c]
push dword [ebp - 0x248]
push 0x20
push 0x77fc87de
call fcn.00408d50
test eax, eax
je 0x440acf
mov esi, 1
jmp 0x440b24
mov esi, dword [ebp - 0x254]
cmp dword [esi + 0x68], 1
je 0x440b22
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x260]
push eax
push 0x77fc87de
mov dword [esi + 0x68], 1
call fcn.00408e50
test eax, eax
jne 0x440b22
mov ecx, dword [ebp - 0x240]
push esi
mov esi, dword [ebp - 0x260]
push esi
call fcn.00408a40
push dword [ebp - 0x254]
mov ecx, dword [ebp - 0x240]
push esi
call fcn.004089f0
xor esi, esi
mov eax, dword [ebp - 0x240]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x108]
mov edx, dword [ebp - 0x234]
mov ecx, dword [eax + edx*4]
mov eax, dword [ecx + 0x30]
cmp eax, 1
je 0x440b54
cmp eax, 6
jne 0x440c8d
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0x4d8]
mov eax, dword [eax + 0x150]
mov eax, dword [eax]
xor eax, dword [ecx + 0x18]
test al, 7
jne 0x440c8d
push 0
lea eax, [ecx + 8]
mov ecx, dword [ebx + 0x60]
push 1
push 2
push eax
mov ecx, dword [ecx + 0x4e0]
call fcn.0046d5e0
jmp 0x440c87
test eax, eax
jne 0x440b99
lea esi, [eax + 1]
jmp 0x440c53
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x258]
push ecx
push eax
push 0x20
push 0x77fc87de
mov ecx, esi
call fcn.004088a0
test eax, eax
je 0x440bc4
mov esi, 1
jmp 0x440c53
mov esi, dword [ebp - 0x238]
test esi, esi
jne 0x440c04
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x258]
push dword [ebp - 0x248]
push 0x20
push 0x77fc87de
call fcn.00408d50
test eax, eax
je 0x440bfe
mov esi, 1
jmp 0x440c53
mov esi, dword [ebp - 0x238]
cmp dword [esi + 0x68], 0
je 0x440c51
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x24c]
push eax
push 0x77fc87de
mov dword [esi + 0x68], 0
call fcn.00408e50
test eax, eax
jne 0x440c51
mov ecx, dword [ebp - 0x240]
push esi
mov esi, dword [ebp - 0x24c]
push esi
call fcn.00408a40
push dword [ebp - 0x238]
mov ecx, dword [ebp - 0x240]
push esi
call fcn.004089f0
xor esi, esi
mov eax, dword [ebp - 0x240]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebx + 0x108]
mov eax, dword [eax + ecx*4]
add eax, 8
push eax
push 0x20
push ecx
mov ecx, dword [ebx + 0x60]
mov ecx, dword [ecx + 0x4a8]
call fcn.00409370
mov edx, dword [ebp - 0x234]
test esi, esi
jne 0x440ce4
mov eax, dword [ebx + 0x108]
mov edx, dword [eax + edx*4]
mov eax, dword [edi + 0x38]
mov ecx, eax
shl ecx, 5
inc eax
mov dword [edi + 0x38], eax
mov eax, dword [edx + 8]
mov dword [ecx + edi + 0x3c], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + edi + 0x40], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + edi + 0x44], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + edi + 0x48], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + edi + 0x4c], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + edi + 0x50], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + edi + 0x54], eax
mov eax, dword [edx + 0x24]
mov edx, dword [ebp - 0x234]
mov dword [ecx + edi + 0x58], eax
mov eax, dword [ebp - 0x244]
inc edx
add dword [ebp - 0x23c], 4
add eax, 4
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x244], eax
cmp edx, dword [ebx + 0xf0]
jb 0x440a00
jmp 0x4413a1
cmp eax, 0xc
jne 0x440ede
push 0x20
call fcn.004d3886
mov ecx, eax
mov dword [ebp - 0x24c], eax
call fcn.004069a0
mov dword [ebp - 0x250], eax
mov ecx, ebx
lea eax, [ebp - 0x234]
push eax
call fcn.00442c80
mov edi, dword [ebp - 0x234]
xor esi, esi
mov dword [edi + 8], 1
cmp dword [ebx + 0xf0], esi
jbe 0x4413a1
xor eax, eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x23c], eax
nop dword [eax]
mov edx, dword [ebx + 0x108]
mov eax, dword [edx + eax]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x23c]
shr ecx, 1
mov eax, dword [eax + edx]
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x440eb6
mov edx, dword [edx + esi*4]
mov eax, dword [edx + 0x30]
cmp eax, 6
je 0x440e56
cmp eax, 3
je 0x440e56
mov eax, dword [ebx + 0xac]
lea edi, [ebp - 0x244]
mov dword [ebp - 0x244], eax
add edx, 8
mov eax, dword [ebx + 0x60]
push edi
push dword [ebx + 0xb8]
mov dword [ebp - 0x24c], edx
mov ecx, dword [eax + 0x49c]
mov eax, dword [eax + 0x4a0]
add eax, 0x10
push eax
push edx
call fcn.004a73f0
mov edi, dword [ebp - 0x234]
test eax, eax
jne 0x440e39
mov eax, dword [ebx + 0x60]
push 0
push dword [ebp - 0x244]
push dword [ebx + 0xb8]
mov ecx, dword [eax + 0x4a0]
call fcn.004ace30
test eax, eax
jne 0x440e39
mov ecx, dword [ebx + 0xb8]
cmp dword [ecx], eax
jne 0x440e39
mov eax, dword [ecx + 4]
push ecx
add ecx, 0x28
lea eax, [ecx + eax*2]
push eax
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + 0x4d8]
mov ecx, dword [ecx + 0xbc]
call fcn.0042d060
mov eax, dword [ebx + 0x60]
push ecx
push dword [ebp - 0x24c]
mov ecx, dword [eax + 0x4d8]
mov ecx, dword [ecx + 0xbc]
call fcn.0042d060
jmp 0x440e69
mov ecx, dword [ebp - 0x250]
lea eax, [edx + 8]
push 0x20
push eax
push 2
call fcn.00406a30
mov eax, dword [ebx + 0x108]
mov edx, dword [eax + esi*4]
mov eax, dword [edi + 0x38]
mov ecx, eax
shl ecx, 5
inc eax
mov dword [edi + 0x38], eax
mov eax, dword [edx + 8]
mov dword [ecx + edi + 0x3c], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + edi + 0x40], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + edi + 0x44], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + edi + 0x48], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + edi + 0x4c], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + edi + 0x50], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + edi + 0x54], eax
mov eax, dword [edx + 0x24]
mov dword [ecx + edi + 0x58], eax
mov eax, dword [ebp - 0x248]
inc esi
add dword [ebp - 0x23c], 4
add eax, 4
mov dword [ebp - 0x248], eax
cmp esi, dword [ebx + 0xf0]
jb 0x440d70
jmp 0x4413a1
cmp eax, 0xd
jne 0x440fcc
lea eax, [ebp - 0x234]
mov ecx, ebx
push eax
call fcn.00442c80
mov edi, dword [ebp - 0x234]
xor esi, esi
mov dword [edi + 8], 1
cmp dword [ebx + 0xf0], esi
jbe 0x4413a1
xor eax, eax
xor edx, edx
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], edx
mov ecx, dword [ebx + 0x108]
mov eax, dword [eax + ecx]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebx + 0x108]
shr ecx, 1
mov eax, dword [edx + eax]
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x440fa2
mov eax, dword [ebx + 0x108]
mov ecx, ebx
push dword [eax + esi*4]
call fcn.0043e880
mov eax, dword [ebx + 0x108]
mov edx, dword [eax + esi*4]
mov eax, dword [edi + 0x38]
mov ecx, eax
shl ecx, 5
inc eax
mov dword [edi + 0x38], eax
mov eax, dword [edx + 8]
mov dword [ecx + edi + 0x3c], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + edi + 0x40], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + edi + 0x44], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + edi + 0x48], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + edi + 0x4c], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + edi + 0x50], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + edi + 0x54], eax
mov eax, dword [edx + 0x24]
mov edx, dword [ebp - 0x248]
mov dword [ecx + edi + 0x58], eax
mov eax, dword [ebp - 0x244]
inc esi
add eax, 4
add edx, 4
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], edx
cmp esi, dword [ebx + 0xf0]
jb 0x440f20
jmp 0x4413a1
cmp eax, 0xe
jne 0x441105
lea eax, [ebp - 0x234]
cmp dword [ebp + 0xc], edx
jne 0x440fea
push eax
mov ecx, ebx
call fcn.00442c80
jmp 0x440ff6
push dword [ebx + 0xf0]
push eax
call fcn.00442d10
mov edi, dword [ebp - 0x234]
xor esi, esi
mov dword [edi + 8], 1
cmp dword [ebx + 0xf0], esi
jbe 0x4413a1
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x240], ecx
cmp dword [ebp + 0xc], 0
jne 0x441056
mov ecx, dword [ebx + 0x108]
mov eax, dword [eax + ecx]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0x240]
shr edx, 1
mov eax, dword [eax + ecx]
mov ecx, dword [ebp - 0x240]
xor edx, dword [eax + 0x28]
mov eax, dword [ebp - 0x238]
test dl, 1
je 0x4410e1
cmp dword [ebx + 0x194], 1
jne 0x4410e1
mov eax, dword [ebx + 0x108]
push ecx
mov ecx, dword [ebx + 0x60]
push 0
mov eax, dword [eax + esi*4]
add eax, 8
mov ecx, dword [ecx + 0x49c]
push eax
lea eax, [ebx + 0xc4]
push eax
call fcn.004a7df0
mov eax, dword [ebx + 0x108]
mov edx, dword [eax + esi*4]
mov eax, dword [edi + 0x38]
mov ecx, eax
shl ecx, 5
inc eax
mov dword [edi + 0x38], eax
mov eax, dword [edx + 8]
mov dword [ecx + edi + 0x3c], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + edi + 0x40], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + edi + 0x44], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + edi + 0x48], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + edi + 0x4c], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + edi + 0x50], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + edi + 0x54], eax
mov eax, dword [edx + 0x24]
mov dword [ecx + edi + 0x58], eax
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x240]
inc esi
add eax, 4
add ecx, 4
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x240], ecx
cmp esi, dword [ebx + 0xf0]
jb 0x441021
jmp 0x4413a1
cmp eax, 0x10
jne 0x441173
lea eax, [ebp - 0x234]
mov ecx, ebx
push eax
call fcn.00442c80
mov edi, dword [ebp - 0x234]
xor edx, edx
mov dword [edi + 8], 4
cmp dword [ebx + 0xf0], edx
jbe 0x4413a1
mov eax, dword [ebx + 0x108]
nop dword [eax]
mov esi, dword [eax + edx*4]
mov ecx, dword [esi + 0x28]
shr ecx, 1
xor ecx, dword [esi + 0x28]
test cl, 1
jne 0x441164
mov eax, dword [ebx + 0x108]
inc edx
cmp edx, dword [ebx + 0xf0]
jb 0x441140
jmp 0x4413a1
lea eax, [esi + 8]
push eax
push edi
call fcn.00442d70
jmp 0x4413a1
cmp eax, 0x11
jne 0x44124e
lea eax, [ebp - 0x234]
mov ecx, ebx
push eax
call fcn.00442c80
mov edi, dword [ebp - 0x234]
xor esi, esi
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], 5
mov dword [edi + 0xc], eax
cmp dword [ebx + 0xf0], esi
jbe 0x4413a1
xor eax, eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x23c], eax
nop dword [eax]
mov edx, dword [ebx + 0x108]
mov eax, dword [edx + eax]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x23c]
shr ecx, 1
mov eax, dword [eax + edx]
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x441226
mov edx, dword [edx + esi*4]
mov eax, dword [edi + 0x38]
mov ecx, eax
shl ecx, 5
inc eax
mov dword [edi + 0x38], eax
mov eax, dword [edx + 8]
mov dword [ecx + edi + 0x3c], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + edi + 0x40], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + edi + 0x44], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + edi + 0x48], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + edi + 0x4c], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + edi + 0x50], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + edi + 0x54], eax
mov eax, dword [edx + 0x24]
mov dword [ecx + edi + 0x58], eax
mov eax, dword [ebp - 0x244]
inc esi
add dword [ebp - 0x23c], 4
add eax, 4
mov dword [ebp - 0x244], eax
cmp esi, dword [ebx + 0xf0]
jb 0x4411c0
jmp 0x4413a1
cmp eax, 0x12
jne 0x4412f0
push 0x20
call fcn.004d3886
mov ecx, eax
mov dword [ebp - 0x24c], eax
call fcn.004069a0
xor esi, esi
mov dword [ebp - 0x250], eax
cmp dword [ebx + 0xf0], esi
jbe 0x4413a1
xor edi, edi
mov dword [ebp - 0x23c], esi
nop word [eax + eax]
mov edx, dword [ebx + 0x108]
mov eax, dword [edi + edx]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x23c]
shr ecx, 1
mov eax, dword [eax + edx]
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x4412d8
mov eax, dword [edx + esi*4]
mov ecx, dword [ebp - 0x250]
add eax, 8
push 0x20
push eax
push 4
call fcn.00406a30
mov ecx, dword [ebp - 0x250]
lea eax, [ebp + 0xc]
push 4
push eax
push 0
call fcn.00406a30
add dword [ebp - 0x23c], 4
inc esi
add edi, 4
cmp esi, dword [ebx + 0xf0]
jb 0x441290
jmp 0x44139b
cmp eax, 0x13
jne 0x4413a1
push 0x20
call fcn.004d3886
mov ecx, eax
mov dword [ebp - 0x24c], eax
call fcn.004069a0
mov ecx, eax
lea eax, [ebx + 0xc4]
push 0x20
push eax
push 3
mov dword [ebp - 0x250], ecx
call fcn.00406a30
xor esi, esi
cmp dword [ebx + 0xf0], esi
jbe 0x4413a1
xor edi, edi
mov dword [ebp - 0x23c], esi
nop word [eax + eax]
mov edx, dword [ebx + 0x108]
mov eax, dword [edi + edx]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x23c]
shr ecx, 1
mov eax, dword [edx + eax]
xor ecx, dword [eax + 0x28]
test cl, 1
je 0x441388
mov eax, dword [edx + esi*4]
mov ecx, dword [ebp - 0x250]
add eax, 8
push 0x20
push eax
push 5
call fcn.00406a30
mov ecx, dword [ebp - 0x250]
lea eax, [ebp + 0xc]
push 4
push eax
push 0
call fcn.00406a30
add dword [ebp - 0x23c], 4
inc esi
add edi, 4
cmp esi, dword [ebx + 0xf0]
jb 0x441340
mov edi, dword [ebp - 0x234]
lea eax, [ebx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x44171b
mov eax, dword [edi + 8]
cmp eax, 1
jne 0x4414e2
cmp dword [edi + 0x38], 0
lea ecx, [edi + 0x3c]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x248], 0
jbe 0x4414c8
nop
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0x478]
mov dword [ebp - 0x23c], eax
test ecx, ecx
jne 0x441405
push ecx
push 0xa848126d
mov ecx, eax
call fcn.00407030
jmp 0x4414a3
push 0x3c
call fcn.004d9a7e
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x238]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x24
mov dword [esi + 0x10], 0xa848126d
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x20
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x1c], xmm0
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [ebp - 0x23c]
movups xmmword [esi + 0x2c], xmm0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0x244]
push esi
push eax
mov dword [ebp - 0x244], 1
call fcn.004070b0
cmp dword [ebp - 0x244], 0
je 0x441494
push esi
call fcn.004d9a63
add esp, 4
mov eax, dword [ebp - 0x23c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x238]
inc edx
add ecx, 0x20
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x238], ecx
cmp edx, dword [edi + 0x38]
jb 0x4413e0
mov ecx, dword [ebx + 0x60]
push 1
push 0xa848126d
mov ecx, dword [ecx + 0x478]
call fcn.00407030
jmp 0x441712
cmp eax, 5
jne 0x441530
mov esi, dword [ebx + 0x64]
lea ecx, [edi + 0x18]
test ecx, ecx
je 0x4415dc
mov eax, dword [esi + 0x9c]
cmp dword [eax + 0x7c], 0
jne 0x4415dc
push ecx
push dword [esi + 0x480]
mov ecx, esi
call fcn.0045dcc0
test eax, eax
je 0x441530
lea eax, [edi + 0x18]
mov ecx, esi
push eax
push dword [esi + 0x484]
call fcn.0045dcc0
test eax, eax
jne 0x4415dc
mov eax, dword [ebx + 0x60]
lea ecx, [ebp - 0x258]
push ecx
mov esi, dword [eax + 0x470]
mov ecx, esi
mov dword [ebp - 0x248], esi
mov eax, dword [esi]
call dword [eax + 8]
lea eax, [esi + 8]
mov ecx, eax
mov dword [ebp - 0x23c], eax
call fcn.004058a0
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
lea eax, [ebp - 0x244]
push eax
push 0x760cf659
call fcn.00403ec0
cmp dword [ebp - 0x238], 0
jne 0x44158f
mov eax, dword [esi]
push 2
call dword [eax + 4]
lea ecx, [esi + 8]
jmp 0x44170d
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x244]
push eax
push 0
push 0
push 0x760cf659
call fcn.00404070
mov eax, dword [ebp - 0x24c]
test eax, eax
jne 0x4416fd
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441620
cmp dword [eax + 0xc], ecx
jb 0x441620
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 4]
lea ecx, [esi + 8]
jmp 0x44170d
mov esi, dword [ebx + 0x64]
lea edx, [ebp - 0x258]
push 0x724f09cf
push edx
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 0x6c]
lea edx, [ebp - 0x24c]
push 1
push edx
mov eax, dword [ecx]
call dword [eax]
push 0
push 0
push dword [ebp - 0x24c]
mov ecx, esi
push dword [ebp - 0x258]
push 0
call fcn.00406dc0
jmp 0x441712
mov eax, dword [eax + 0x1c]
lea ecx, [ebp - 0x234]
push ecx
push esi
call eax
mov eax, dword [ebp - 0x234]
xorps xmm0, xmm0
movups xmmword [eax + 0x74], xmm0
movq qword [eax + 0x84], xmm0
mov eax, dword [ebp - 0x234]
add eax, 0x74
push eax
mov eax, dword [ebp - 0x238]
mov eax, dword [eax + 0x20]
call eax
add esp, 0xc
push dword [ebp - 0x234]
push dword [ebp - 0x244]
push 0
push 0
push ecx
push dword [ebp - 0x238]
mov ecx, esi
call fcn.00404180
mov ecx, dword [ebp - 0x234]
push 0
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x44169c
push dword [ebp - 0x234]
mov ecx, esi
call fcn.00404240
lea ecx, [esi + 8]
jmp 0x44170d
mov esi, dword [ebp - 0x234]
lea edx, [ebp - 0x24c]
mov ecx, dword [ebp - 0x248]
push edx
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], 0
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x248]
push 0
push dword [ebp - 0x24c]
push esi
call fcn.00403da0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4416ed
dec ecx
mov dword [eax + 0x18], ecx
test ecx, ecx
jne 0x4416f4
mov dword [eax + 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x441712
mov ecx, dword [ebp - 0x23c]
mov dword [eax + 0x58], 0
mov dword [eax + 0x50], edi
call fcn.00405900
push edi
call fcn.004d9a63
add esp, 4
mov esi, dword [ebp - 0x250]
test esi, esi
je 0x441735
push esi
mov ecx, ebx
call fcn.00441750
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8