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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x691b81
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x550], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x568]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], ecx
cmp dword [ecx + 0x10], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
je 0x471383
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
cmp edi, edx
je 0x471383
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x471383
xor eax, eax
lea esp, [esp]
cmp byte [edi + eax + 0x64], 0
jne 0x4704a4
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x470490
jmp 0x471383
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x448]
push esi
push eax
call fcn.00471ab0
mov dword [esp + 0x570], 0
xorps xmm0, xmm0
movq qword [esp + 0x428], xmm0
mov dword [esp + 0x428], 0
mov word [esp + 0x42c], 0
mov byte [esp + 0x570], 1
lea eax, [esp + 0x448]
push eax
lea ecx, [esp + 0x42c]
call fcn.0042cf80
xorps xmm0, xmm0
lea eax, [esp + 0x428]
movq qword [esp + 0x460], xmm0
mov dword [esp + 0x460], eax
mov eax, dword [esp + 0x428]
mov byte [esp + 0x464], 0
test eax, eax
jne 0x47052f
xor al, al
jmp 0x470551
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x470547
cmp eax, 0x80
je 0x470547
xor al, al
jmp 0x470551
mov byte [esp + 0x42c], 1
mov al, 1
mov byte [esp + 0x12], al
mov byte [esp + 0x464], al
mov byte [esp + 0x570], 2
xorps xmm0, xmm0
movq qword [esp + 0x430], xmm0
mov dword [esp + 0x438], 0
mov dword [esp + 0x430], 0
mov dword [esp + 0x434], 0
mov dword [esp + 0x438], 0
mov byte [esp + 0x570], 3
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x434]
mov byte [esp + 0x17], 0
push eax
push esi
call fcn.00471540
test al, al
jne 0x4705d9
cmp byte [esp + 0x13], al
je 0x4705d9
cmp dword [esi + 0x14], 8
jb 0x4705d0
mov eax, dword [esi]
jmp 0x4705d2
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 + 0x24], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x471288
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x470610
cmp byte [esi + eax + 0x64], 0
lea edi, [esi + eax]
je 0x47093b
mov ecx, dword [esp + 0x434]
mov eax, 0x4ec4ec4f
mov esi, dword [esp + 0x430]
xor ebx, ebx
sub ecx, esi
mov dword [esp + 0x28], ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], eax
je 0x47068c
jmp 0x470650
cmp dword [edi + 0x14], 8
jb 0x47065a
mov ecx, dword [edi]
jmp 0x47065c
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x470666
mov eax, dword [esi]
jmp 0x470668
mov eax, esi
push ecx
push eax
call fcn.0054905f
add esp, 8
test eax, eax
je 0x47068a
mov eax, dword [esp + 0x28]
add esi, 0x68
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x2c]
jb 0x470650
jmp 0x47068c
mov ebx, esi
test ebx, ebx
jne 0x4707ab
xor eax, eax
mov dword [esp + 0x49c], ebx
mov dword [esp + 0x4a0], ebx
mov dword [esp + 0x4a0], 7
mov dword [esp + 0x49c], ebx
mov word [esp + 0x48c], ax
mov byte [esp + 0x570], 4
mov dword [esp + 0x4b4], eax
mov dword [esp + 0x4b8], eax
mov dword [esp + 0x4b8], 7
mov dword [esp + 0x4b4], eax
mov word [esp + 0x4a4], ax
mov byte [esp + 0x570], 5
mov dword [esp + 0x4cc], eax
mov dword [esp + 0x4d0], eax
mov dword [esp + 0x4d0], 7
mov dword [esp + 0x4cc], eax
mov word [esp + 0x4bc], ax
mov byte [esp + 0x570], 6
xorps xmm0, xmm0
movlpd qword [esp + 0x4d4], xmm0
movlpd qword [esp + 0x4dc], xmm0
movlpd qword [esp + 0x4e4], xmm0
mov dword [esp + 0x4ec], eax
mov byte [esp + 0x4f0], al
mov byte [esp + 0x570], 7
lea eax, [esp + 0x48c]
push eax
lea ecx, [esp + 0x434]
call fcn.00471f40
mov ecx, dword [esp + 0x434]
mov eax, 0x4ec4ec4f
mov esi, dword [esp + 0x430]
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 + 0x570], 3
lea ecx, [esp + 0x48c]
call fcn.00470150
push ebx
lea ecx, [esp + 0x4f8]
call fcn.00470210
mov byte [esp + 0x570], 8
cmp ebx, edi
je 0x4707d0
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.00409040
lea eax, [edi + 0x18]
lea esi, [ebx + 0x18]
cmp esi, eax
je 0x4707e6
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00409040
lea ecx, [edi + 0x30]
lea eax, [ebx + 0x30]
cmp eax, ecx
je 0x4707fc
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00409040
mov eax, dword [edi + 0x48]
mov ecx, ebx
mov dword [ebx + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [ebx + 0x4c], 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 [ebx + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [ebx + 0x60], eax
mov al, byte [edi + 0x64]
mov byte [ebx + 0x64], al
lea eax, [esp + 0x4f4]
cmp dword [esp + 0x508], 8
push dword [esp + 0x504]
cmovae eax, dword [esp + 0x4f8]
push eax
push dword [ebx + 0x10]
push 0
call fcn.00409af0
test eax, eax
jne 0x470916
cmp dword [esp + 0x520], 8
lea eax, [esp + 0x50c]
push dword [esp + 0x51c]
cmovae eax, dword [esp + 0x510]
mov ecx, esi
push eax
push dword [esi + 0x10]
push 0
call fcn.00409af0
test eax, eax
jne 0x470916
mov eax, dword [ebx + 0x48]
cmp eax, dword [esp + 0x53c]
jne 0x470916
mov eax, dword [ebx + 0x4c]
cmp eax, dword [esp + 0x540]
jne 0x470916
mov eax, dword [ebx + 0x50]
cmp eax, dword [esp + 0x544]
jne 0x470916
mov eax, dword [ebx + 0x54]
cmp eax, dword [esp + 0x548]
jne 0x470916
mov eax, dword [ebx + 0x58]
cmp eax, dword [esp + 0x54c]
jne 0x470916
mov eax, dword [ebx + 0x5c]
cmp eax, dword [esp + 0x550]
jne 0x470916
cmp dword [esp + 0x538], 8
lea eax, [esp + 0x524]
push dword [esp + 0x534]
cmovae eax, dword [esp + 0x528]
lea ecx, [ebx + 0x30]
push eax
push dword [ecx + 0x10]
push 0
call fcn.00409af0
test eax, eax
jne 0x470916
mov eax, dword [ebx + 0x60]
cmp eax, dword [esp + 0x554]
je 0x47091f
mov byte [esp + 0x13], 1
mov byte [ebx + 0x64], 1
mov byte [esp + 0x570], 3
lea ecx, [esp + 0x4f4]
call fcn.00470150
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebx + 4]
add eax, 0x68
mov esi, dword [ebx]
sub ecx, esi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x20], eax
inc edi
mov eax, 0x4ec4ec4f
mov dword [esp + 0x24], edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
mov eax, dword [esp + 0x20]
jb 0x470610
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x430]
mov ebx, dword [esp + 0x434]
test al, al
je 0x471296
cmp edi, ebx
je 0x471296
xorps xmm0, xmm0
mov dword [esp + 0x444], 0
xor esi, esi
movq qword [esp + 0x43c], xmm0
xor edi, edi
mov dword [esp + 0x43c], edi
mov dword [esp + 0x440], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x444], esi
mov byte [esp + 0x570], 9
mov ecx, ebx
mov edi, dword [esp + 0x430]
mov eax, 0x4ec4ec4f
sub ecx, edi
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [esp + 0x2c], ebx
je 0x470a19
cmp ebx, 0x418937
jbe 0x470a01
push str.vector_T__too_long
call fcn.004ca602
push ebx
lea ecx, [esp + 0x440]
call fcn.00472370
mov esi, dword [esp + 0x440]
mov dword [esp + 0x20], esi
test ebx, ebx
je 0x470c0f
lea esi, [edi + 0x44]
mov eax, dword [esi + 0x1c]
cmp eax, 1
je 0x470a3a
cmp eax, 2
je 0x470a3a
cmp eax, 3
jne 0x470bf6
lea ecx, [esp + 0x3c]
call fcn.0046f760
push eax
lea ecx, [esp + 0x440]
call fcn.00472000
mov eax, dword [esp + 0x440]
mov ecx, eax
mov edi, dword [esp + 0x43c]
sub ecx, edi
mov dword [esp + 0x20], 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 + 0x30], ebx
lea edi, [ebx + 4]
mov dword [ebx], 0x23ab45db
push edi
call fcn.00549c70
add esp, 0xc
add ebx, 0x284
push 0x100
push 0
push ebx
call fcn.00549c70
mov eax, dword [esp + 0x34]
add esp, 0xc
add eax, 0x384
mov dword [esp + 0x24], eax
push 0x48
push 0
push eax
call fcn.00549c70
add esp, 0xc
cmp dword [esi - 0x34], 0x13f
ja 0x470b03
cmp dword [esi - 0x30], 8
jb 0x470ae6
mov ecx, dword [esi - 0x44]
jmp 0x470af0
lea ecx, [esi - 0x44]
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x470af0
jmp 0x470b20
cmp dword [esi - 0x30], 8
jb 0x470b0e
mov eax, dword [esi - 0x44]
jmp 0x470b11
lea eax, [esi - 0x44]
push 0x13e
push eax
push edi
call fcn.0054c601
add esp, 0xc
cmp dword [esi - 0x1c], 0x7f
ja 0x470b47
cmp dword [esi - 0x18], 8
jb 0x470b31
mov ecx, dword [esi - 0x2c]
jmp 0x470b34
lea ecx, [esi - 0x2c]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx], ax
lea ebx, [ebx + 2]
test ax, ax
jne 0x470b34
jmp 0x470b61
cmp dword [esi - 0x18], 8
jb 0x470b52
mov eax, dword [esi - 0x2c]
jmp 0x470b55
lea eax, [esi - 0x2c]
push 0x7e
push eax
push ebx
call fcn.0054c601
add esp, 0xc
cmp dword [esi - 4], 0x23
ja 0x470b93
cmp dword [esi], 8
jb 0x470b71
mov ecx, dword [esi - 0x14]
jmp 0x470b74
lea ecx, [esi - 0x14]
mov edx, dword [esp + 0x24]
jmp 0x470b80
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x470b80
jmp 0x470baf
cmp dword [esi], 8
jb 0x470b9d
mov eax, dword [esi - 0x14]
jmp 0x470ba0
lea eax, [esi - 0x14]
push 0x23
push eax
push dword [esp + 0x2c]
call fcn.0054c601
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x2c]
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 + 0x2c], ebx
jne 0x470a24
mov edi, dword [esp + 0x430]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x43c]
cmp ebx, esi
jne 0x470c8a
mov byte [esp + 0x570], 3
test ebx, ebx
je 0x470c50
push ebx
call fcn.005472b4
add esp, 4
mov dword [esp + 0x43c], 0
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov byte [esp + 0x570], 2
test edi, edi
je 0x4712e0
mov esi, edi
mov edi, dword [esp + 0x434]
lea esp, [esp]
mov ecx, esi
call fcn.00470150
add esi, 0x68
cmp esi, edi
jne 0x470c70
mov edi, dword [esp + 0x430]
jmp 0x4712b6
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x570], 0xa
lea ecx, [esp + 0x46c]
call fcn.00491fc0
sub esi, ebx
lea ecx, [esp + 0x14]
mov eax, 0x10624dd3
imul esi
push ecx
sar edx, 6
lea ecx, [esp + 0x470]
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push eax
push ebx
call fcn.0046d640
test al, al
jne 0x470d9a
mov byte [esp + 0x570], 9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x470d2c
push eax
call fcn.005472b4
add esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x570], 3
test ebx, ebx
je 0x470d62
push ebx
call fcn.005472b4
add esp, 4
mov dword [esp + 0x43c], 0
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov byte [esp + 0x570], 2
test edi, edi
je 0x4712e0
mov esi, edi
mov edi, dword [esp + 0x434]
jmp 0x470d80
mov ecx, esi
call fcn.00470150
add esi, 0x68
cmp esi, edi
jne 0x470d80
mov edi, dword [esp + 0x430]
jmp 0x4712b6
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x18]
jne 0x470e3e
mov byte [esp + 0x570], 9
test esi, esi
je 0x470dd5
push esi
call fcn.005472b4
add esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x570], 3
test ebx, ebx
je 0x470e0b
push ebx
call fcn.005472b4
add esp, 4
mov dword [esp + 0x43c], 0
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov byte [esp + 0x570], 2
test edi, edi
je 0x4712e0
mov esi, edi
mov edi, dword [esp + 0x434]
mov ecx, esi
call fcn.00470150
add esi, 0x68
cmp esi, edi
jne 0x470e24
mov edi, dword [esp + 0x430]
jmp 0x4712b6
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x14], 8
jb 0x470e4c
mov ecx, dword [eax]
jmp 0x470e4e
mov ecx, eax
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.0041ffd0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x470e75
test edi, edi
jne 0x470f1e
push 2
push ecx
mov ecx, dword [esp + 0x38]
push 0x6eba68
call fcn.0041f220
cmp eax, 0xffffffff
je 0x470f1e
mov edi, dword [esp + 0x30]
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x474]
push eax
call fcn.00408dc0
mov byte [esp + 0x570], 0xb
lea ecx, [esp + 0x46c]
call fcn.00426500
cmp dword [edi + 0x14], 8
jb 0x470ec1
mov edi, dword [edi]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.0041ffd0
add esp, 0x14
mov edi, eax
mov byte [esp + 0x570], 0xa
cmp dword [esp + 0x480], 8
jb 0x470efe
push dword [esp + 0x46c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x480], 7
mov dword [esp + 0x47c], 0
mov word [esp + 0x46c], ax
cmp edi, 0xffffffff
je 0x47120f
test edi, edi
je 0x47120f
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x468]
push 0
push ecx
sub eax, esi
mov dword [esp + 0x470], 0
push eax
push esi
push edi
mov dword [esp + 0x48], 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 + 0x34]
cmp dword [esp + 0x468], eax
jne 0x471145
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x430]
cmp edx, eax
je 0x470fce
mov eax, dword [edx]
mov edi, dword [esp + 0x430]
mov ecx, dword [esp + 0x434]
mov dword [edx], edi
mov dword [esp + 0x430], eax
mov eax, dword [edx + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x434], eax
mov eax, dword [esp + 0x438]
mov dword [edx + 8], eax
mov dword [esp + 0x438], 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 0x471019
mov esi, dword [esp + 0x38]
xor edi, edi
mov 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 0x470ff0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x570], 9
test esi, esi
je 0x471046
push esi
call fcn.005472b4
add esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x570], 3
mov edi, dword [esp + 0x43c]
test edi, edi
je 0x471083
push edi
call fcn.005472b4
add esp, 4
mov dword [esp + 0x43c], 0
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov byte [esp + 0x570], 2
lea ecx, [esp + 0x430]
call fcn.00471eb0
mov byte [esp + 0x570], 1
cmp byte [esp + 0x12], 0
je 0x4710c0
mov eax, dword [esp + 0x428]
test eax, eax
je 0x4710b8
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x42c], 0
mov dword [esp + 0x460], 0
mov byte [esp + 0x570], 0
mov eax, dword [esp + 0x428]
test eax, eax
je 0x4710f0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x428], 0
mov word [esp + 0x42c], 0
mov dword [esp + 0x570], 0xffffffff
cmp dword [esp + 0x45c], 8
jb 0x47111e
push dword [esp + 0x448]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x45c], 7
mov word [esp + 0x448], ax
mov al, 1
mov dword [esp + 0x458], 0
jmp 0x471385
mov byte [esp + 0x570], 9
test esi, esi
je 0x471172
push esi
call fcn.005472b4
add esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x570], 3
test ebx, ebx
je 0x4711a8
push ebx
call fcn.005472b4
add esp, 4
mov dword [esp + 0x43c], 0
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov byte [esp + 0x570], 2
lea ecx, [esp + 0x430]
call fcn.00471eb0
mov byte [esp + 0x570], 1
cmp byte [esp + 0x12], 0
je 0x4711e5
mov eax, dword [esp + 0x428]
test eax, eax
je 0x4711dd
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x42c], 0
mov dword [esp + 0x460], 0
mov byte [esp + 0x570], 0
mov eax, dword [esp + 0x428]
test eax, eax
je 0x471339
push eax
call edi
jmp 0x47132e
mov byte [esp + 0x570], 9
test esi, esi
je 0x47123c
push esi
call fcn.005472b4
add esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x570], 3
test ebx, ebx
je 0x471272
push ebx
call fcn.005472b4
add esp, 4
mov dword [esp + 0x43c], 0
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov byte [esp + 0x570], 2
lea ecx, [esp + 0x430]
call fcn.00471eb0
jmp 0x4712e0
mov edi, dword [esp + 0x430]
mov ebx, dword [esp + 0x434]
mov byte [esp + 0x570], 2
test edi, edi
je 0x4712e0
mov esi, edi
cmp edi, ebx
je 0x4712b6
mov ecx, esi
call fcn.00470150
add esi, 0x68
cmp esi, ebx
jne 0x4712a8
push edi
call fcn.005472b4
add esp, 4
mov dword [esp + 0x438], 0
mov dword [esp + 0x434], 0
mov dword [esp + 0x430], 0
mov byte [esp + 0x570], 1
cmp byte [esp + 0x12], 0
je 0x471309
mov eax, dword [esp + 0x428]
test eax, eax
je 0x471301
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x42c], 0
mov dword [esp + 0x460], 0
mov byte [esp + 0x570], 0
mov eax, dword [esp + 0x428]
test eax, eax
je 0x471339
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x428], 0
mov word [esp + 0x42c], 0
mov dword [esp + 0x570], 0xffffffff
cmp dword [esp + 0x45c], 8
jb 0x471367
push dword [esp + 0x448]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x45c], 7
mov word [esp + 0x448], ax
mov dword [esp + 0x458], eax
xor al, al
mov ecx, dword [esp + 0x568]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x550]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 0xc