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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59f7a1
mov eax, dword fs:[0]
push eax
sub esp, 0x568
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push esi
push edi
mov eax, dword [0x5e173c]
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 0x55ba81
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
cmp edi, edx
je 0x55ba81
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x55ba81
xor eax, eax
lea esp, [esp]
cmp byte [eax + edi + 0x64], 0
jne 0x55aa84
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x55aa70
jmp 0x55ba81
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x458]
push esi
push eax
call fcn.0055c1b0
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.004b4a90
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 0x55ab0f
xor al, al
jmp 0x55ab31
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x55ab27
cmp eax, 0x80
je 0x55ab27
xor al, al
jmp 0x55ab31
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.0055bc40
test al, al
jne 0x55abb9
cmp byte [esp + 0x13], al
je 0x55abb9
cmp dword [esi + 0x14], 8
jb 0x55abb0
mov eax, dword [esi]
jmp 0x55abb2
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 0x55b986
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x55abf0
cmp byte [eax + esi + 0x64], 0
lea edi, [eax + esi]
je 0x55aff4
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 0x55ac6c
jmp 0x55ac30
cmp dword [edi + 0x14], 8
jb 0x55ac3a
mov ecx, dword [edi]
jmp 0x55ac3c
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x55ac46
mov eax, dword [esi]
jmp 0x55ac48
mov eax, esi
push ecx
push eax
call fcn.0056a640
add esp, 8
test eax, eax
je 0x55ac6a
mov eax, dword [esp + 0x14]
add esi, 0x68
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x1c]
jb 0x55ac30
jmp 0x55ac6c
mov ebx, esi
test ebx, ebx
jne 0x55ad8b
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.0055c760
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.00412830
push ebx
lea ecx, [esp + 0x508]
call fcn.0055a7f0
mov byte [esp + 0x580], 8
cmp ebx, edi
je 0x55adb0
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.00404960
lea eax, [edi + 0x18]
lea esi, [ebx + 0x18]
cmp esi, eax
je 0x55adc6
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00404960
lea ecx, [ebx + 0x30]
lea eax, [edi + 0x30]
mov dword [esp + 0x3c], ecx
cmp ecx, eax
je 0x55adde
push 0xffffffffffffffff
push 0
push eax
call fcn.00404960
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 0x55ae54
mov ebx, dword [ebx]
mov edi, dword [esp + 0x514]
cmp eax, edi
mov edx, edi
cmovb edx, eax
test edx, edx
jne 0x55ae80
xor eax, eax
test eax, eax
jne 0x55aea8
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jae 0x55ae9f
or eax, 0xffffffff
jmp 0x55aea6
mov ax, word [ebx]
cmp ax, word [ecx]
jne 0x55ae91
add ebx, 2
add ecx, 2
dec edx
jmp 0x55ae64
movzx eax, word [ebx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x55ae68
xor eax, eax
cmp ecx, edi
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
jne 0x55afcc
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 0x55aeda
mov esi, dword [esi]
mov edi, dword [esp + 0x52c]
cmp ebx, edi
mov edx, edi
cmovb edx, ebx
test edx, edx
jne 0x55af00
xor eax, eax
test eax, eax
jne 0x55af28
cmp ebx, edi
jae 0x55af1f
or eax, 0xffffffff
jmp 0x55af26
mov ax, word [esi]
cmp ax, word [ecx]
jne 0x55af11
add esi, 2
add ecx, 2
dec edx
jmp 0x55aeea
movzx eax, word [esi]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x55aeee
xor eax, eax
cmp ebx, edi
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
jne 0x55afcc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x54c]
jne 0x55afcc
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x550]
jne 0x55afcc
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x554]
jne 0x55afcc
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x558]
jne 0x55afcc
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x55c]
jne 0x55afcc
mov eax, dword [ecx + 4]
cmp eax, dword [esp + 0x560]
jne 0x55afcc
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.0040d0c0
test eax, eax
jne 0x55afcc
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp eax, dword [esp + 0x564]
je 0x55afd8
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.00412830
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 0x55abf0
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x434]
mov ebx, dword [esp + 0x438]
test al, al
je 0x55b994
cmp edi, ebx
je 0x55b994
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 0x55b0d2
cmp ebx, 0x418937
jbe 0x55b0ba
push 0x5a8498
call fcn.00560df3
push ebx
lea ecx, [esp + 0x444]
call fcn.0055cbd0
mov esi, dword [esp + 0x444]
mov dword [esp + 0x18], esi
test ebx, ebx
je 0x55b2c3
lea esi, [edi + 0x44]
lea ecx, [ecx]
mov eax, dword [esi + 0x1c]
cmp eax, 1
je 0x55b0f6
cmp eax, 2
je 0x55b0f6
cmp eax, 3
jne 0x55b2aa
lea ecx, [esp + 0x44]
call fcn.00559e10
push eax
lea ecx, [esp + 0x444]
call fcn.0055c860
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.0056cbb0
add esp, 0xc
add ebx, 0x284
push 0x100
push 0
push ebx
call fcn.0056cbb0
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, 0x384
mov dword [esp + 0x20], eax
push 0x48
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
cmp dword [esi - 0x34], 0x13f
ja 0x55b1b8
cmp dword [esi - 0x30], 8
jb 0x55b1a2
mov ecx, dword [esi - 0x44]
jmp 0x55b1a5
lea ecx, [esi - 0x44]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x55b1a5
jmp 0x55b1d5
cmp dword [esi - 0x30], 8
jb 0x55b1c3
mov eax, dword [esi - 0x44]
jmp 0x55b1c6
lea eax, [esi - 0x44]
push 0x13e
push eax
push edi
call fcn.005831e5
add esp, 0xc
cmp dword [esi - 0x1c], 0x7f
ja 0x55b203
cmp dword [esi - 0x18], 8
jb 0x55b1e6
mov ecx, dword [esi - 0x2c]
jmp 0x55b1f0
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 0x55b1f0
jmp 0x55b21d
cmp dword [esi - 0x18], 8
jb 0x55b20e
mov eax, dword [esi - 0x2c]
jmp 0x55b211
lea eax, [esi - 0x2c]
push 0x7e
push eax
push ebx
call fcn.005831e5
add esp, 0xc
cmp dword [esi - 4], 0x23
ja 0x55b247
cmp dword [esi], 8
jb 0x55b22d
mov ecx, dword [esi - 0x14]
jmp 0x55b230
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 0x55b234
jmp 0x55b263
cmp dword [esi], 8
jb 0x55b251
mov eax, dword [esi - 0x14]
jmp 0x55b254
lea eax, [esi - 0x14]
push 0x23
push eax
push dword [esp + 0x28]
call fcn.005831e5
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 0x55b0e0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x434]
mov ebx, dword [esp + 0x440]
cmp ebx, esi
jne 0x55b33a
mov byte [esp + 0x580], 3
test ebx, ebx
je 0x55b304
push ebx
call fcn.00564de3
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 0x55b9de
mov esi, edi
mov edi, dword [esp + 0x438]
lea ecx, [ecx]
mov ecx, esi
call fcn.00412830
add esi, 0x68
cmp esi, edi
jne 0x55b320
mov edi, dword [esp + 0x434]
jmp 0x55b9b4
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.0055db40
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.004b4140
test al, al
jne 0x55b46a
mov byte [esp + 0x580], 9
mov eax, dword [esp + 0x44c]
test eax, eax
je 0x55b3fa
push eax
call fcn.00564de3
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 0x55b430
push ebx
call fcn.00564de3
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 0x55b9de
mov esi, edi
mov edi, dword [esp + 0x438]
lea esp, [esp]
mov ecx, esi
call fcn.00412830
add esi, 0x68
cmp esi, edi
jne 0x55b450
mov edi, dword [esp + 0x434]
jmp 0x55b9b4
mov esi, dword [esp + 0x44c]
cmp esi, dword [esp + 0x450]
jne 0x55b51d
mov byte [esp + 0x580], 9
test esi, esi
je 0x55b4b4
push esi
call fcn.00564de3
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 0x55b4ea
push ebx
call fcn.00564de3
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 0x55b9de
mov esi, edi
mov edi, dword [esp + 0x438]
mov ecx, esi
call fcn.00412830
add esi, 0x68
cmp esi, edi
jne 0x55b503
mov edi, dword [esp + 0x434]
jmp 0x55b9b4
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x14], 8
jb 0x55b52b
mov ecx, dword [eax]
jmp 0x55b52d
mov ecx, eax
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.004b2ab0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x55b554
test edi, edi
jne 0x55b5fd
push 2
push ecx
mov ecx, dword [esp + 0x2c]
push 0x5ba164
call fcn.0040c0a0
cmp eax, 0xffffffff
je 0x55b5fd
mov edi, dword [esp + 0x24]
mov ecx, edi
push eax
push 0
lea eax, [esp + 0x484]
push eax
call fcn.00403c50
mov byte [esp + 0x580], 0xb
lea ecx, [esp + 0x47c]
call fcn.004b3760
cmp dword [edi + 0x14], 8
jb 0x55b5a0
mov edi, dword [edi]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.004b2ab0
add esp, 0x14
mov edi, eax
mov byte [esp + 0x580], 0xa
cmp dword [esp + 0x490], 8
jb 0x55b5dd
push dword [esp + 0x47c]
call fcn.00564de3
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 0x55b904
test edi, edi
je 0x55b904
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 0x55b831
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x434]
cmp edx, eax
je 0x55b6b0
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 0x55b6fc
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 0x55b6d0
mov esi, dword [esp + 0x44c]
mov byte [esp + 0x580], 9
test esi, esi
je 0x55b732
push esi
call fcn.00564de3
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 0x55b76f
push edi
call fcn.00564de3
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.0055c6d0
mov byte [esp + 0x580], 1
cmp byte [esp + 0x12], 0
je 0x55b7ac
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x55b7a4
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 0x55b7dc
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 0x55b80a
push dword [esp + 0x458]
call fcn.00564de3
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 0x55ba83
mov byte [esp + 0x580], 9
test esi, esi
je 0x55b867
push esi
call fcn.00564de3
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 0x55b89d
push ebx
call fcn.00564de3
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.0055c6d0
mov byte [esp + 0x580], 1
cmp byte [esp + 0x12], 0
je 0x55b8da
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x55b8d2
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 0x55ba37
push eax
call edi
jmp 0x55ba2c
mov byte [esp + 0x580], 9
test esi, esi
je 0x55b93a
push esi
call fcn.00564de3
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 0x55b970
push ebx
call fcn.00564de3
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.0055c6d0
jmp 0x55b9de
mov edi, dword [esp + 0x434]
mov ebx, dword [esp + 0x438]
mov byte [esp + 0x580], 2
test edi, edi
je 0x55b9de
mov esi, edi
cmp edi, ebx
je 0x55b9b4
mov ecx, esi
call fcn.00412830
add esi, 0x68
cmp esi, ebx
jne 0x55b9a6
push edi
call fcn.00564de3
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 0x55ba07
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x55b9ff
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 0x55ba37
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 0x55ba65
push dword [esp + 0x458]
call fcn.00564de3
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.00564de8
mov esp, ebp
pop ebp
ret 0xc