Function at 0x555680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf0
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov esi, dword [ebx]
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0xc8], esi
call fcn.0055b430
test eax, eax
jne 0x5569de
nop
cmp dword [esi + 0x24], 0
jne 0x5569dc
mov ebp, dword [esi + 0x34]
mov eax, ebp
mov edx, dword [esi + 0x30]
mov ecx, edx
push ebp
push edx
push 0
add ecx, 1
mov dword [esp + 0xb0], edx
push 0
push 0
adc eax, 0
mov dword [esi + 0x30], ecx
push 0
lea edx, [esp + 0xc4]
mov dword [esp + 0xd0], ebp
mov ecx, esi
mov dword [esi + 0x34], eax
call fcn.00555480
mov edi, dword [esi + 0x70]
mov ebp, eax
mov eax, dword [esp + 0xac]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edi
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], 0
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], eax
test ebp, ebp
jne 0x555fd2
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x4c], ecx
test eax, eax
jne 0x555fd2
mov edi, dword [ebx + 8]
mov ebx, dword [esi + 0x64]
sub ebx, dword [esi + 0x60]
movlpd qword [esp + 0x98], xmm0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], eax
test edi, edi
jne 0x5557ec
mov eax, dword [esi + 0x14]
mov ecx, eax
mov edx, dword [esi]
add edx, 0x10
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x5559ec
mov ecx, dword [esp + 0x24]
mov dword [edi], 0
test ecx, ecx
je 0x5557e5
mov dword [ecx], edi
jmp 0x5557ec
mov eax, dword [esp + 0x64]
mov dword [eax + 8], edi
lea ecx, [edi + 0x10]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x28], ecx
test ebx, ebx
je 0x555829
mov eax, dword [esi + 0x60]
mov edx, ebx
add eax, 0x10
mov dword [esp + 0x14], ebx
add eax, dword [esi + 0x5c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0xb4], edx
mov dword [esp + 0x28], eax
jmp 0x555918
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb4]
push eax
call fcn.00542d10
mov edx, dword [esp + 0xb4]
mov ebp, eax
add dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
adc dword [esp + 0x18], 0
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x38]
cmove eax, edx
add dword [esi + 0x68], edx
mov dword [esp + 0x38], eax
adc dword [esi + 0x6c], 0
xor ecx, ecx
cmp edx, dword [esi]
setne cl
mov dword [esp + 0x1c], ecx
je 0x555885
mov dword [esi + 0x70], 1
test ebp, ebp
je 0x5558a1
mov dword [esi + 0x48], ebp
xor ebp, ebp
mov dword [esi + 0x70], 1
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
sbb eax, dword [esp + 0x68]
mov dword [esp + 0x74], eax
jne 0x5558bc
cmp ecx, 1
jb 0x555918
push dword [esp + 0xb8]
lea edx, [esp + 0xb0]
mov ecx, esi
push dword [esp + 0xa8]
push 0
push 0
push 0
push 0
call fcn.00555480
mov ebp, eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x5c], eax
test ebp, ebp
jne 0x555e59
test eax, eax
jne 0x555e59
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0xe8], edx
cmp dword [esp + 0x24], eax
lea ecx, [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0x68]
sete al
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0xf0], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xf8], 1
mov eax, dword [eax]
call eax
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x50], 1
mov dword [esp + 0x4c], ecx
cmp eax, 1
je 0x555e1d
mov ebp, dword [esp + 0xe8]
test ebx, ebx
je 0x5559b2
push ebp
push dword [esp + 0x2c]
lea eax, [edi + 0x10]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xfc]
add esp, 0xc
add dword [esi + 0x60], ebp
test eax, eax
jne 0x555cfa
cmp dword [esp + 0x1c], eax
jne 0x555d0f
cmp ebp, dword [esp + 0xb4]
jne 0x5559fe
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x24], edi
mov edi, dword [edi]
test ebx, ebx
je 0x5557b7
xor ebx, ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jmp 0x5557b7
mov edi, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x44], edi
jmp 0x555e5d
mov ebx, dword [esp + 0x18]
mov ebp, 0xb
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x40], 0
mov edi, 1
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x44]
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x7c], edi
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0xc0], xmm0
movlpd qword [esp + 0xd0], xmm0
test ebp, ebp
jne 0x55662e
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], eax
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0x70], xmm0
test ecx, ecx
je 0x556632
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebx
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0x70], xmm0
test edx, edx
jne 0x556632
mov edx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x60], ecx
mov ecx, edi
mov edi, dword [esp + 0x28]
mov edx, dword [edx + 8]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x58], ecx
movlpd qword [esp + 0x98], xmm0
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x98]
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
nop dword [eax + eax]
add edx, dword [esp + 0xa8]
mov dword [esp + 0xc0], edx
adc ecx, 0
mov dword [esp + 0x7c], 1
mov dword [esp + 0xc4], ecx
cmp edx, eax
jne 0x55627d
cmp ecx, edi
jne 0x55627d
mov ecx, 1
jmp 0x55627f
mov edi, dword [esp + 0x1c]
cmp eax, 3
mov ecx, 1
cmove edi, ecx
mov dword [esp + 0x1c], edi
jmp 0x555d13
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x3c], 1
cmp ebp, ecx
jne 0x555d3d
mov ebp, dword [esp + 0x20]
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
jmp 0x555e5d
cmp eax, 3
jne 0x555d77
mov eax, dword [esp + 0x28]
sub ecx, ebp
add eax, ebp
xor edx, edx
test ebx, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
setne dl
sub dword [esp + 0x14], ecx
sbb dword [esp + 0x18], 0
cmp dword [esp + 0x24], 0
cmove eax, ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x38], eax
jmp 0x555e69
test ebx, ebx
je 0x555d89
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
jmp 0x555dfd
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x555db3
mov eax, dword [esi + 0x14]
mov ecx, eax
mov edx, dword [esi]
add edx, 0x10
mov eax, dword [eax]
call eax
test eax, eax
je 0x555dba
mov ecx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xe8]
mov dword [esi + 0x5c], eax
lea edx, [eax + 0x10]
test edx, edx
jne 0x555dd0
mov ebp, dword [esp + 0x20]
mov edi, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x44], edi
jmp 0x555e5d
mov eax, dword [esp + 0x28]
sub ecx, ebp
sub dword [esp + 0x14], ecx
push ecx
sbb dword [esp + 0x1c], 0
add eax, ebp
push eax
push edx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], 0
call sub.msvcrt.dll_memcpy
mov ebp, dword [esp + 0xf4]
add esp, 0xc
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x38]
cmove eax, ebp
mov ebp, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edi
jmp 0x555e65
mov edi, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x58], edi
test ebx, ebx
je 0x555e49
push dword [esp + 0xb4]
mov eax, dword [esp + 0x9c]
push dword [esp + 0x2c]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
jmp 0x555e5d
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x34], 0
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
test ebp, ebp
jne 0x555ed7
lea ebx, [esi + 0xb0]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x88], ebp
je 0x555eb1
mov eax, dword [esp + 0xb8]
cmp eax, dword [esi + 0x94]
jb 0x555eb1
ja 0x555eaa
mov eax, dword [esp + 0xa4]
cmp eax, dword [esi + 0x90]
jbe 0x555eb1
mov eax, 1
jmp 0x555eb3
xor eax, eax
mov ebp, dword [esi + 0x9c]
push ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], eax
test ebp, ebp
jne 0x555a27
cmp dword [esp + 0x3c], eax
je 0x555fe7
cmp dword [esp + 0x5c], eax
jne 0x555a27
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 4]
call eax
mov dword [esp + 0x48], eax
test eax, eax
je 0x555ff1
mov ebx, dword [esp + 0x48]
xorps xmm0, xmm0
movlpd qword [esp + 0x98], xmm0
xor edi, edi
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x1c], 1
mov dword [esp + 0x60], ebp
movlpd qword [esp + 0xc0], xmm0
movlpd qword [esp + 0xd0], xmm0
mov dword [esp + 0x20], eax
jmp 0x556666
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
jmp 0x555edf
cmp dword [esp + 0x5c], eax
jne 0x555a27
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0xa8], edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
test edi, edi
jne 0x555a40
mov eax, dword [esi + 0x58]
mov edx, eax
cmp eax, dword [esi + 0x54]
jae 0x556241
cmp dword [esp + 0x4c], edi
je 0x556241
lea eax, [eax + eax*4]
lea eax, [eax + 0x19]
lea edi, [esi + eax*8]
lea ecx, [edi + 0x20]
call fcn.0055b2c0
test eax, eax
jne 0x556211
lea ecx, [edi + 0x1c]
call fcn.0055b2c0
test eax, eax
jne 0x556211
cmp dword [edi + 0x18], eax
lea ecx, [edi + 0x18]
je 0x5560f4
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esi + 0x58]
mov edi, dword [esp + 0x3c]
inc edx
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x58], edx
jmp 0x556241
push edi
mov edx, fcn.00556b20
call fcn.0055b5d0
mov edx, dword [esp + 0x60]
mov ebx, edx
mov ecx, dword [esp + 0xa8]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x18], ebx
test eax, eax
jne 0x556211
mov eax, dword [esp + 0xa8]
mov edx, dword [esi + 0x58]
mov dword [esp + 0x1c], eax
inc edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
mov eax, ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], eax
mov dword [esi + 0x58], edx
jmp 0x556241
jle 0x55621b
movzx eax, ax
or eax, 0x80070000
mov edx, dword [esi + 0x58]
test eax, eax
jne 0x556228
inc edx
mov dword [esi + 0x58], edx
jmp 0x556241
cmp edx, 1
jne 0x55623e
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], eax
jmp 0x555a37
mov dword [esi + 0x54], edx
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
inc ecx
cmp ecx, edx
sbb eax, eax
and eax, ecx
add eax, 5
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x60], eax
call fcn.0055b3c0
test eax, eax
jne 0x5569de
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x555a40
xor ecx, ecx
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xd4]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x64]
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x58]
push ecx
push dword [esp + 0xb8]
mov ecx, dword [esi + 0x1c]
add eax, 0x10
push eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x6c], edi
mov edi, dword [esi + 0x18]
mov dword [esp + 0xd4], edx
mov edx, dword [eax + 4]
mov dword [esp + 0xe4], ebx
mov eax, dword [edi + 8]
call eax
mov ebx, eax
mov dword [esp + 0x48], ebx
test ebx, ebx
jne 0x5565c9
cmp dword [esp + 0x7c], eax
jne 0x556662
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
cmp edx, dword [esp + 0x14]
jne 0x556366
cmp ecx, dword [esp + 0x18]
je 0x55665e
mov edi, dword [esp + 0xd0]
mov eax, edx
sub eax, dword [esp + 0x6c]
mov ebx, ecx
sbb ebx, dword [esp + 0x28]
sub edi, dword [esp + 0x20]
mov dword [esp + 0xb0], ebx
mov ebx, dword [esp + 0xd4]
sbb ebx, dword [esp + 0x24]
cmp dword [esp + 0xb0], 0
ja 0x5563a9
jb 0x5563a0
cmp eax, 1
jae 0x5563a9
test ebx, ebx
jne 0x5563a9
cmp edi, 1
jb 0x556412
push dword [esp + 0xb8]
lea edx, [esp + 0xb0]
mov ecx, esi
push dword [esp + 0xa8]
push ebx
push edi
push dword [esp + 0xc0]
push eax
call fcn.00555480
mov ebp, eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x5c], eax
test ebp, ebp
jne 0x55665e
test eax, eax
jne 0x55665e
mov edi, dword [esp + 0xd0]
mov edx, dword [esp + 0xc0]
mov ebx, edx
mov ecx, dword [esp + 0xc4]
mov eax, ecx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0xd4]
jmp 0x55641e
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esi]
mov esi, dword [esp + 0x68]
mov eax, dword [eax]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0xdc]
mov eax, edi
mov dword [esp + 0x38], esi
sub eax, edx
mov esi, dword [esp + 0xbc]
mov dword [esp + 0xa8], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], ebx
sbb eax, ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x98]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x40], esi
xor esi, esi
mov dword [esp + 0x14], edi
cmp esi, eax
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
jb 0x555cc0
ja 0x55650c
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0xa8], eax
mov eax, dword [esp + 0x14]
jbe 0x555cc0
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0xbc]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0xcc]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x98]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x1c], ebx
jmp 0x555cb0
lea edi, [esi + 0xb0]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x88], 0
je 0x556601
mov eax, dword [esp + 0xb8]
cmp eax, dword [esi + 0x94]
ja 0x556625
mov eax, dword [esp + 0xa4]
jb 0x556608
cmp eax, dword [esi + 0x90]
jae 0x556625
jmp 0x556608
mov eax, dword [esp + 0xa4]
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x94], eax
mov dword [esi + 0x88], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x556662
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
jmp 0x556666
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x20]
call fcn.0055b430
test eax, eax
jne 0x5569de
cmp dword [esi + 0x24], 0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x98], 1
mov dword [esp + 0x4c], eax
jne 0x5569dc
cmp dword [esi + 0x50], 0
je 0x5566b3
mov eax, 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0xac], eax
jmp 0x556721
mov eax, dword [esp + 0x44]
test ebx, ebx
je 0x5566d0
cmp ebx, 2
mov dword [esi + 0x50], 1
mov ecx, 1
mov dword [esi + 0x4c], ebx
cmove eax, ecx
test edi, edi
je 0x5566e6
mov dword [esi + 0x50], 1
mov dword [esi + 0x40], edi
mov dword [esp + 0x4c], 0
test eax, eax
je 0x556700
mov dword [esi + 0x50], 1
mov dword [esi + 0x38], 1
mov dword [esp + 0x4c], 0
cmp dword [esp + 0x58], 0
mov eax, dword [esp + 0x5c]
je 0x556721
mov dword [esi + 0x50], 1
mov dword [esi + 0x3c], 1
mov dword [esp + 0x4c], 0
cmp dword [esp + 0x3c], 0
je 0x55680b
test eax, eax
je 0x556745
xorps xmm0, xmm0
movlpd qword [esp + 0xc0], xmm0
movlpd qword [esp + 0xd0], xmm0
mov ebp, dword [esp + 0xc0]
sub ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0xc4]
sbb edi, dword [esp + 0x28]
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0x20]
mov ebx, dword [esp + 0xd4]
sbb ebx, dword [esp + 0x24]
mov dword [esp + 0xbc], eax
lea eax, [esi + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add ebp, dword [esi + 0xa0]
mov eax, dword [esi + 0xa4]
mov ecx, dword [esp + 0xbc]
adc eax, edi
add ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0xac]
adc edx, ebx
mov dword [esp + 0xcc], eax
cmp dword [esi + 0x9c], 0
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
jne 0x5567f8
mov eax, dword [esi + 0x98]
test eax, eax
je 0x5567f8
push edx
push ecx
push dword [esp + 0xd4]
mov ecx, eax
mov eax, dword [eax]
push ebp
call eax
test eax, eax
je 0x5567f8
mov dword [esi + 0x9c], 0xa
mov ebp, dword [esi + 0x9c]
lea eax, [esi + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x1c]
xor eax, eax
test ebx, ebx
sete al
cmp dword [esp + 0x50], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xd8], eax
je 0x556907
test ebp, ebp
jne 0x556844
cmp dword [esp + 0x4c], ebp
je 0x556844
cmp dword [esp + 0x5c], ebp
jne 0x556844
lea ecx, [ebp + 1]
jmp 0x556846
xor ecx, ecx
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x98]
push edx
lea edx, [esp + 0xdc]
push edx
push dword [esp + 0x34]
mov eax, dword [eax + 0xc]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x1c]
call eax
mov ebp, eax
test ebp, ebp
je 0x55688c
mov dword [esp + 0x70], 1
mov dword [esi + 0x50], 1
jmp 0x55689b
mov edi, dword [esp + 0xd8]
test edi, edi
jne 0x55690e
test ebx, ebx
jne 0x55690e
lea edi, [esi + 0xb0]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x88], 0
je 0x5568d3
mov eax, dword [esp + 0xb8]
cmp eax, dword [esi + 0x94]
ja 0x5568f7
mov eax, dword [esp + 0xa4]
jb 0x5568da
cmp eax, dword [esi + 0x90]
jae 0x5568f7
jmp 0x5568da
mov eax, dword [esp + 0xa4]
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x94], eax
mov dword [esi + 0x88], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0xd8]
jmp 0x55690e
mov edi, dword [esp + 0xbc]
cmp dword [esp + 0x98], 0
je 0x556985
cmp dword [esp + 0x3c], 0
je 0x556942
test ebp, ebp
jne 0x556942
cmp dword [esi + 0x50], ebp
jne 0x556942
cmp dword [esp + 0x48], ebp
jne 0x556942
cmp dword [esp + 0x5c], ebp
jne 0x556942
cmp dword [esi + 0x84], ebp
jne 0x55695a
cmp dword [esp + 0x70], ebp
je 0x556985
cmp dword [esi + 0x84], 0
jne 0x55695a
mov ebp, dword [esp + 0x64]
mov eax, dword [ebp + 4]
mov dword [esi + 0x80], eax
jmp 0x55695e
mov ebp, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
mov eax, edx
mov ecx, dword [esp + 0x18]
or eax, ecx
jne 0x556970
test ebx, ebx
jne 0x556996
mov eax, dword [esp + 0x38]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
inc dword [esi + 0x84]
jmp 0x556989
mov ebp, dword [esp + 0x64]
test ebx, ebx
jne 0x556996
mov ecx, dword [esp + 0x60]
lea ecx, [ecx + 0x20]
jmp 0x5569be
test edi, edi
je 0x5569ab
lea ecx, [esi + 0xe8]
call fcn.0055b3c0
test eax, eax
jne 0x5569de
jmp 0x5569b8
cmp dword [ebp + 4], 0
je 0x5569dc
mov dword [esi + 0x24], 1
lea ecx, [esi + 0xe4]
call fcn.0055b3c0
test eax, eax
jne 0x5569de
mov ecx, dword [ebp + 0x1c]
call fcn.0055b430
test eax, eax
jne 0x5569de
mov ebx, dword [esp + 0x64]
jmp 0x5556b0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret