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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, ecx
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [esp + 0x98], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov eax, dword [ecx]
cmp dword [eax + 0x18], 0x503800
mov eax, dword [ecx + 0x6c]
cmp eax, dword [ecx + 0x70]
je 0x5539e2
cmp byte [esi + 0xa4], 0
je 0x5539e2
cmp dword [esi + 0x78], 0
mov ecx, dword [esi + 0x64]
mov ebx, dword [ecx + 0x20]
jne 0x553a86
mov edx, dword [esi + 8]
mov cl, byte [edx + 0x35]
mov dword [esp + 0x30], 0
mov edi, dword [eax + 0x28]
xor edx, edx
cmp edi, 2
cmovne edx, edi
cmp cl, bl
cmovae edx, edi
mov ecx, dword [eax + 0x18]
mov edi, dword [eax + 0x1c]
mov ebx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov cl, 1
mov byte [esp + 0x68], cl
mov edi, dword [esi + 0x5c]
test edi, edi
jne 0x5539fb
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
movzx ebx, byte [esi + 0x110]
test cl, cl
mov dword [esp + 0x4c], ecx
je 0x5539d4
test bl, bl
je 0x5539d4
mov ebx, dword [esi + 0xf8]
xor ebx, eax
mov ecx, dword [esi + 0xfc]
xor ecx, edi
or ecx, ebx
jne 0x5538cb
mov ecx, dword [esi + 0x100]
xor ecx, dword [esp + 0x34]
mov ebx, dword [esi + 0x104]
xor ebx, dword [esp + 0x38]
or ebx, ecx
jne 0x5538cb
mov ecx, dword [esp + 0x30]
cmp dword [esi + 0x108], ecx
jne 0x5538cb
cmp dword [esi + 0x10c], edx
je 0x5539bc
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], edi
mov ecx, edx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x100], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x104], eax
mov edx, dword [esp + 0x30]
mov dword [esi + 0x108], edx
mov dword [esi + 0x10c], ecx
mov ecx, dword [esp + 0x4c]
mov byte [esi + 0x110], cl
lea ebx, [esp + 0x69]
mov ebx, dword [ebx]
mov dword [esp + 0x3c], ebx
lea ebx, [esp + 0x69]
mov ebx, dword [ebx + 3]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x111], ebx
mov ebx, dword [esp + 0x40]
mov dword [esi + 0x114], ebx
mov ebx, dword [esi + 0x58]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x78], edi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x90], cl
lea ecx, [esp + 0x69]
mov eax, dword [ecx + 3]
mov dword [esp + 0x94], eax
mov eax, dword [ecx]
mov dword [esp + 0x91], eax
movdqu xmm0, xmmword [esp + 0x78]
movups xmm1, xmmword [esp + 0x88]
movups xmmword [esp + 0x18], xmm1
movdqu xmmword [esp + 8], xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], esi
mov ecx, dword [esp + 0x3c]
call fcn.0052bcc0
sub esp, 0x28
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.005810d5
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test cl, cl
setne cl
cmp cl, bl
je 0x5539bc
jmp 0x5538cb
mov byte [esp + 0x50], 0
xor edx, edx
dec edx
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
jmp 0x553851
cmp byte [esi + 0xa4], 0
je 0x553860
mov ecx, esi
call fcn.0044bc80
mov ebx, eax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
call dword [0x6445dc]
movaps xmm0, xmmword [esp + 0x50]
movaps xmm1, xmmword [esp + 0x60]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
movzx eax, bl
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea ebx, [esp + 0x78]
mov dword [esp], ebx
mov ecx, edi
call dword [esp + 0x30]
sub esp, 0x2c
movdqu xmm0, xmmword [ebx]
movups xmm1, xmmword [ebx + 0x10]
movaps xmmword [esp + 0x60], xmm1
movdqa xmmword [esp + 0x50], xmm0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov cl, byte [esp + 0x68]
jmp 0x553860
mov edx, dword [esi + 8]
mov cl, byte [edx + 0x35]
xor edx, edx
cmp cl, bl
setae dl
mov dword [esp + 0x30], edx
jmp 0x55380f