Function at 0x492070
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cd4f1
mov eax, dword fs:[0]
push eax
sub esp, 0x568
mov eax, dword [0x4f55dc]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push esi
push edi
mov eax, dword [0x4f55dc]
xor eax, esp
push eax
lea eax, [esp + 0x578]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], ecx
cmp dword [ecx + 0x10], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
je 0x493111
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
cmp edi, edx
je 0x493111
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x493111
xor eax, eax
lea esp, [esp]
cmp byte [eax + edi + 0x64], 0
jne 0x492114
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x492100
jmp 0x493111
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x458]
push esi
push eax
call fcn.00493840
mov dword [esp + 0x580], 0
xorps xmm0, xmm0
movq qword [esp + 0x42c], xmm0
mov dword [esp + 0x42c], 0
mov word [esp + 0x430], 0
mov byte [esp + 0x580], 1
lea eax, [esp + 0x458]
push eax
lea ecx, [esp + 0x430]
call fcn.00443370
xorps xmm0, xmm0
lea eax, [esp + 0x42c]
movq qword [esp + 0x470], xmm0
mov dword [esp + 0x470], eax
mov eax, dword [esp + 0x42c]
mov byte [esp + 0x474], 0
test eax, eax
jne 0x49219f
xor al, al
jmp 0x4921c1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4921b7
cmp eax, 0x80
je 0x4921b7
xor al, al
jmp 0x4921c1
mov byte [esp + 0x430], 1
mov al, 1
mov byte [esp + 0x12], al
mov byte [esp + 0x474], al
mov byte [esp + 0x580], 2
xorps xmm0, xmm0
movq qword [esp + 0x434], xmm0
mov dword [esp + 0x43c], 0
mov dword [esp + 0x434], 0
mov dword [esp + 0x438], 0
mov dword [esp + 0x43c], 0
mov byte [esp + 0x580], 3
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x438]
mov byte [esp + 0x17], 0
push eax
push esi
call fcn.004932d0
test al, al
jne 0x492249
cmp byte [esp + 0x13], al
je 0x492249
cmp dword [esi + 0x14], 8
jb 0x492240
mov eax, dword [esi]
jmp 0x492242
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx + 4]
xor al, al
mov esi, dword [ebx]
sub ecx, esi
mov byte [esp + 0x13], al
mov eax, 0x4ec4ec4f
imul ecx
mov dword [esp + 0x20], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x493016
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x492280
cmp byte [eax + esi + 0x64], 0
lea edi, [eax + esi]
je 0x492684
mov ecx, dword [esp + 0x438]
mov eax, 0x4ec4ec4f
mov esi, dword [esp + 0x434]
xor ebx, ebx
sub ecx, esi
mov dword [esp + 0x14], ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
je 0x4922fc
jmp 0x4922c0
cmp dword [edi + 0x14], 8
jb 0x4922ca
mov ecx, dword [edi]
jmp 0x4922cc
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x4922d6
mov eax, dword [esi]
jmp 0x4922d8
mov eax, esi
push ecx
push eax
call fcn.0049ec3b
add esp, 8
test eax, eax
je 0x4922fa
mov eax, dword [esp + 0x14]
add esi, 0x68
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x1c]
jb 0x4922c0
jmp 0x4922fc
mov ebx, esi
test ebx, ebx
jne 0x49241b
xor eax, eax
mov dword [esp + 0x4ac], ebx
mov dword [esp + 0x4b0], ebx
mov dword [esp + 0x4b0], 7
mov dword [esp + 0x4ac], ebx
mov word [esp + 0x49c], ax
mov byte [esp + 0x580], 4
mov dword [esp + 0x4c4], eax
mov dword [esp + 0x4c8], eax
mov dword [esp + 0x4c8], 7
mov dword [esp + 0x4c4], eax
mov word [esp + 0x4b4], ax
mov byte [esp + 0x580], 5
mov dword [esp + 0x4dc], eax
mov dword [esp + 0x4e0], eax
mov dword [esp + 0x4e0], 7
mov dword [esp + 0x4dc], eax
mov word [esp + 0x4cc], ax
mov byte [esp + 0x580], 6
xorps xmm0, xmm0
movlpd qword [esp + 0x4e4], xmm0
movlpd qword [esp + 0x4ec], xmm0
movlpd qword [esp + 0x4f4], xmm0
mov dword [esp + 0x4fc], eax
mov byte [esp + 0x500], al
mov byte [esp + 0x580], 7
lea eax, [esp + 0x49c]
push eax
lea ecx, [esp + 0x438]
call fcn.00493df0
mov ecx, dword [esp + 0x438]
mov eax, 0x4ec4ec4f
mov esi, dword [esp + 0x434]
sub ecx, esi
imul ecx
lea ebx, [esi - 0x68]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x68
add ebx, eax
mov byte [esp + 0x580], 3
lea ecx, [esp + 0x49c]
call fcn.004231f0
push ebx
lea ecx, [esp + 0x508]
call fcn.00491e80
mov byte [esp + 0x580], 8
cmp ebx, edi
je 0x492440
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.00401fd0
lea eax, [edi + 0x18]
lea esi, [ebx + 0x18]
cmp esi, eax
je 0x492456
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00401fd0
lea ecx, [ebx + 0x30]
lea eax, [edi + 0x30]
mov dword [esp + 0x3c], ecx
cmp ecx, eax
je 0x49246e
push 0xffffffffffffffff
push 0
push eax
call fcn.00401fd0
mov eax, dword [edi + 0x48]
lea ecx, [ebx + 0x48]
mov dword [ecx], eax
mov eax, dword [edi + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esp + 0x14], ecx
lea ecx, [ebx + 0x50]
mov dword [ebx + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x38], ecx
lea ecx, [ebx + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x40], ecx
lea ecx, [ebx + 0x60]
mov dword [ecx], eax
mov al, byte [edi + 0x64]
mov dword [esp + 0x30], ecx
lea ecx, [ebx + 0x64]
mov byte [ecx], al
cmp dword [esp + 0x518], 8
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x504]
cmovae ecx, dword [esp + 0x504]
cmp dword [ebx + 0x14], 8
mov dword [esp + 0x1c], eax
jb 0x4924e4
mov ebx, dword [ebx]
mov edi, dword [esp + 0x514]
cmp eax, edi
mov edx, edi
cmovb edx, eax
test edx, edx
jne 0x492510
xor eax, eax
test eax, eax
jne 0x492538
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jae 0x49252f
or eax, 0xffffffff
jmp 0x492536
mov ax, word [ebx]
cmp ax, word [ecx]
jne 0x492521
add ebx, 2
add ecx, 2
dec edx
jmp 0x4924f4
movzx eax, word [ebx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x4924f8
xor eax, eax
cmp ecx, edi
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
jne 0x49265c
cmp dword [esp + 0x530], 8
lea ecx, [esp + 0x51c]
mov ebx, dword [esi + 0x10]
cmovae ecx, dword [esp + 0x51c]
cmp dword [esi + 0x14], 8
jb 0x49256a
mov esi, dword [esi]
mov edi, dword [esp + 0x52c]
cmp ebx, edi
mov edx, edi
cmovb edx, ebx
test edx, edx
jne 0x492590
xor eax, eax
test eax, eax
jne 0x4925b8
cmp ebx, edi
jae 0x4925af
or eax, 0xffffffff
jmp 0x4925b6
mov ax, word [esi]
cmp ax, word [ecx]
jne 0x4925a1
add esi, 2
add ecx, 2
dec edx
jmp 0x49257a
movzx eax, word [esi]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x49257e
xor eax, eax
cmp ebx, edi
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
jne 0x49265c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x54c]
jne 0x49265c
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x550]
jne 0x49265c
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x554]
jne 0x49265c
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x558]
jne 0x49265c
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x55c]
jne 0x49265c
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x560]
jne 0x49265c
cmp dword [esp + 0x548], 8
lea eax, [esp + 0x534]
push dword [esp + 0x544]
mov ecx, dword [esp + 0x40]
cmovae eax, dword [esp + 0x538]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.004029f0
test eax, eax
jne 0x49265c
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp eax, dword [esp + 0x564]
je 0x492668
mov eax, dword [esp + 0x34]
mov byte [esp + 0x13], 1
mov byte [eax], 1
mov byte [esp + 0x580], 3
lea ecx, [esp + 0x504]
call fcn.004231f0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + 4]
add eax, 0x68
mov esi, dword [ebx]
sub ecx, esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
inc edi
mov eax, 0x4ec4ec4f
mov dword [esp + 0x20], edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
mov eax, dword [esp + 0x18]
jb 0x492280
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x434]
mov ebx, dword [esp + 0x438]
test al, al
je 0x493024
cmp edi, ebx
je 0x493024
xorps xmm0, xmm0
mov dword [esp + 0x448], 0
xor esi, esi
movq qword [esp + 0x440], xmm0
xor edi, edi
mov dword [esp + 0x440], edi
mov dword [esp + 0x444], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x448], esi
mov byte [esp + 0x580], 9
mov ecx, ebx
mov edi, dword [esp + 0x434]
mov eax, 0x4ec4ec4f
sub ecx, edi
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [esp + 0x1c], ebx
je 0x492762
cmp ebx, 0x418937
jbe 0x49274a
push str.vector_T__too_long
call fcn.004982a4
push ebx
lea ecx, [esp + 0x444]
call fcn.00494260
mov esi, dword [esp + 0x444]
mov dword [esp + 0x18], esi
test ebx, ebx
je 0x492953
lea esi, [edi + 0x44]
lea ecx, [ecx]
mov eax, dword [esi + 0x1c]
cmp eax, 1
je 0x492786
cmp eax, 2
je 0x492786
cmp eax, 3
jne 0x49293a
lea ecx, [esp + 0x44]
call fcn.004914a0
push eax
lea ecx, [esp + 0x444]
call fcn.00493ef0
mov eax, dword [esp + 0x444]
mov ecx, eax
mov edi, dword [esp + 0x440]
sub ecx, edi
mov dword [esp + 0x18], eax
mov eax, 0x10624dd3
imul ecx
lea ebx, [edi - 0x3e8]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
add ebx, eax
push 0x280
push 0
mov dword [esp + 0x1c], ebx
lea edi, [ebx + 4]
mov dword [ebx], 0x23ab45db
push edi
call fcn.004a1910
add esp, 0xc
add ebx, 0x284
push 0x100
push 0
push ebx
call fcn.004a1910
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, 0x384
mov dword [esp + 0x20], eax
push 0x48
push 0
push eax
call fcn.004a1910
add esp, 0xc
cmp dword [esi - 0x34], 0x13f
ja 0x492848
cmp dword [esi - 0x30], 8
jb 0x492832
mov ecx, dword [esi - 0x44]
jmp 0x492835
lea ecx, [esi - 0x44]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x492835
jmp 0x492865
cmp dword [esi - 0x30], 8
jb 0x492853
mov eax, dword [esi - 0x44]
jmp 0x492856
lea eax, [esi - 0x44]
push 0x13e
push eax
push edi
call fcn.004b816b
add esp, 0xc
cmp dword [esi - 0x1c], 0x7f
ja 0x492893
cmp dword [esi - 0x18], 8
jb 0x492876
mov ecx, dword [esi - 0x2c]
jmp 0x492880
lea ecx, [esi - 0x2c]
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx], ax
lea ebx, [ebx + 2]
test ax, ax
jne 0x492880
jmp 0x4928ad
cmp dword [esi - 0x18], 8
jb 0x49289e
mov eax, dword [esi - 0x2c]
jmp 0x4928a1
lea eax, [esi - 0x2c]
push 0x7e
push eax
push ebx
call fcn.004b816b
add esp, 0xc
cmp dword [esi - 4], 0x23
ja 0x4928d7
cmp dword [esi], 8
jb 0x4928bd
mov ecx, dword [esi - 0x14]
jmp 0x4928c0
lea ecx, [esi - 0x14]
mov edx, dword [esp + 0x20]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4928c4
jmp 0x4928f3
cmp dword [esi], 8
jb 0x4928e1
mov eax, dword [esi - 0x14]
jmp 0x4928e4
lea eax, [esi - 0x14]
push 0x23
push eax
push dword [esp + 0x28]
call fcn.004b816b
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x1c]
mov dword [ecx + 0x3cc], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0x3d0], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0x3d4], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x3d8], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x3dc], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x3e0], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x3e4], eax
add esi, 0x68
dec ebx
mov dword [esp + 0x1c], ebx
jne 0x492770
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x434]
mov ebx, dword [esp + 0x440]
cmp ebx, esi
jne 0x4929ca
mov byte [esp + 0x580], 3
test ebx, ebx
je 0x492994
push ebx
call fcn.0049c766
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
test edi, edi
je 0x49306e
mov esi, edi
mov edi, dword [esp + 0x438]
lea ecx, [ecx]
mov ecx, esi
call fcn.004231f0
add esi, 0x68
cmp esi, edi
jne 0x4929b0
mov edi, dword [esp + 0x434]
jmp 0x493044
xorps xmm0, xmm0
mov dword [esp + 0x454], 0
movq qword [esp + 0x44c], xmm0
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
mov byte [esp + 0x580], 0xa
lea ecx, [esp + 0x47c]
call fcn.004951d0
sub esi, ebx
lea ecx, [esp + 0x44c]
mov eax, 0x10624dd3
imul esi
push ecx
sar edx, 6
lea ecx, [esp + 0x480]
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push eax
push ebx
call fcn.004436d0
test al, al
jne 0x492afa
mov byte [esp + 0x580], 9
mov eax, dword [esp + 0x44c]
test eax, eax
je 0x492a8a
push eax
call fcn.0049c766
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
mov byte [esp + 0x580], 3
test ebx, ebx
je 0x492ac0
push ebx
call fcn.0049c766
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
test edi, edi
je 0x49306e
mov esi, edi
mov edi, dword [esp + 0x438]
lea esp, [esp]
mov ecx, esi
call fcn.004231f0
add esi, 0x68
cmp esi, edi
jne 0x492ae0
mov edi, dword [esp + 0x434]
jmp 0x493044
mov esi, dword [esp + 0x44c]
cmp esi, dword [esp + 0x450]
jne 0x492bad
mov byte [esp + 0x580], 9
test esi, esi
je 0x492b44
push esi
call fcn.0049c766
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
mov byte [esp + 0x580], 3
test ebx, ebx
je 0x492b7a
push ebx
call fcn.0049c766
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
test edi, edi
je 0x49306e
mov esi, edi
mov edi, dword [esp + 0x438]
mov ecx, esi
call fcn.004231f0
add esi, 0x68
cmp esi, edi
jne 0x492b93
mov edi, dword [esp + 0x434]
jmp 0x493044
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x14], 8
jb 0x492bbb
mov ecx, dword [eax]
jmp 0x492bbd
mov ecx, eax
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.0040b6a0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x492be4
test edi, edi
jne 0x492c8d
push 2
push ecx
mov ecx, dword [esp + 0x2c]
push 0x4d6720
call fcn.0040a3c0
cmp eax, 0xffffffff
je 0x492c8d
mov edi, dword [esp + 0x24]
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x484]
push eax
call fcn.00401e60
mov byte [esp + 0x580], 0xb
lea ecx, [esp + 0x47c]
call fcn.0040d900
cmp dword [edi + 0x14], 8
jb 0x492c30
mov edi, dword [edi]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.0040b6a0
add esp, 0x14
mov edi, eax
mov byte [esp + 0x580], 0xa
cmp dword [esp + 0x490], 8
jb 0x492c6d
push dword [esp + 0x47c]
call fcn.0049c766
add esp, 4
xor eax, eax
mov dword [esp + 0x490], 7
mov dword [esp + 0x48c], 0
mov word [esp + 0x47c], ax
cmp edi, 0xffffffff
je 0x492f94
test edi, edi
je 0x492f94
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x450]
lea ecx, [esp + 0x478]
push 0
push ecx
sub eax, esi
mov dword [esp + 0x480], 0
push eax
push esi
push edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x478], eax
jne 0x492ec1
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x434]
cmp edx, eax
je 0x492d40
mov eax, dword [edx]
mov edi, dword [esp + 0x434]
mov ecx, dword [esp + 0x438]
mov dword [edx], edi
mov dword [esp + 0x434], eax
mov eax, dword [edx + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x438], eax
mov eax, dword [esp + 0x43c]
mov dword [edx + 8], eax
mov dword [esp + 0x43c], ecx
mov ecx, dword [edx + 4]
mov eax, 0x4ec4ec4f
sub ecx, dword [edx]
xor ebx, ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x492d8c
mov esi, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [esi]
lea edi, [edi + 0x68]
inc ebx
mov byte [eax + edi - 4], 0
mov eax, 0x4ec4ec4f
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x492d60
mov esi, dword [esp + 0x44c]
mov byte [esp + 0x580], 9
test esi, esi
je 0x492dc2
push esi
call fcn.0049c766
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
mov byte [esp + 0x580], 3
mov edi, dword [esp + 0x440]
test edi, edi
je 0x492dff
push edi
call fcn.0049c766
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
lea ecx, [esp + 0x434]
call fcn.00493d60
mov byte [esp + 0x580], 1
cmp byte [esp + 0x12], 0
je 0x492e3c
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x492e34
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x430], 0
mov dword [esp + 0x470], 0
mov byte [esp + 0x580], 0
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x492e6c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x42c], 0
mov word [esp + 0x430], 0
mov dword [esp + 0x580], 0xffffffff
cmp dword [esp + 0x46c], 8
jb 0x492e9a
push dword [esp + 0x458]
call fcn.0049c766
add esp, 4
xor eax, eax
mov dword [esp + 0x46c], 7
mov word [esp + 0x458], ax
mov al, 1
mov dword [esp + 0x468], 0
jmp 0x493113
mov byte [esp + 0x580], 9
test esi, esi
je 0x492ef7
push esi
call fcn.0049c766
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
mov byte [esp + 0x580], 3
test ebx, ebx
je 0x492f2d
push ebx
call fcn.0049c766
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
lea ecx, [esp + 0x434]
call fcn.00493d60
mov byte [esp + 0x580], 1
cmp byte [esp + 0x12], 0
je 0x492f6a
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x492f62
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x430], 0
mov dword [esp + 0x470], 0
mov byte [esp + 0x580], 0
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x4930c7
push eax
call edi
jmp 0x4930bc
mov byte [esp + 0x580], 9
test esi, esi
je 0x492fca
push esi
call fcn.0049c766
add esp, 4
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0
mov byte [esp + 0x580], 3
test ebx, ebx
je 0x493000
push ebx
call fcn.0049c766
add esp, 4
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov byte [esp + 0x580], 2
lea ecx, [esp + 0x434]
call fcn.00493d60
jmp 0x49306e
mov edi, dword [esp + 0x434]
mov ebx, dword [esp + 0x438]
mov byte [esp + 0x580], 2
test edi, edi
je 0x49306e
mov esi, edi
cmp edi, ebx
je 0x493044
mov ecx, esi
call fcn.004231f0
add esi, 0x68
cmp esi, ebx
jne 0x493036
push edi
call fcn.0049c766
add esp, 4
mov dword [esp + 0x43c], 0
mov dword [esp + 0x438], 0
mov dword [esp + 0x434], 0
mov byte [esp + 0x580], 1
cmp byte [esp + 0x12], 0
je 0x493097
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x49308f
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x430], 0
mov dword [esp + 0x470], 0
mov byte [esp + 0x580], 0
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x4930c7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x42c], 0
mov word [esp + 0x430], 0
mov dword [esp + 0x580], 0xffffffff
cmp dword [esp + 0x46c], 8
jb 0x4930f5
push dword [esp + 0x458]
call fcn.0049c766
add esp, 4
xor eax, eax
mov dword [esp + 0x46c], 7
mov word [esp + 0x458], ax
mov dword [esp + 0x468], eax
xor al, al
mov ecx, dword [esp + 0x578]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.0049bfa3
mov esp, ebp
pop ebp
ret 0xc