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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov ecx, dword [edx + 0xcc]
shr ecx, 1
and ecx, 1
je 0x5b3456
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1e4], 0
je 0x5b3456
mov eax, dword [esi + 0xc0]
add eax, 4
push eax
push ecx
push dword [esi + 0x14]
mov dword [ebp + 8], eax
push dword [esi + 0x10]
call fcn.00594d70
mov ebx, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [esi]
add ebx, 2
mov dword [ebp + 8], ebx
cmp dword [ecx + 0x44], 0
jne 0x5b33e4
pop esi
mov eax, 0xffff9400
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0xe4]
lea eax, [ebx + 1]
push dword [esi + 0xe0]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xac]
add eax, 0x414d
push eax
lea eax, [ebp + 8]
push eax
push dword [ecx + 0x4c]
mov eax, dword [ecx + 0x44]
call eax
add esp, 0x14
test eax, eax
jne 0x5b380c
mov al, byte [ebp + 8]
sub al, bl
dec al
mov byte [ebx], al
mov ecx, dword [esi + 0xc0]
mov eax, dword [ebp + 8]
sub eax, ecx
mov dword [esi + 0xc4], 0x16
mov dword [esi + 0xc8], eax
mov byte [ecx], 3
push esi
mov dword [esi + 4], 0x12
call fcn.00593c10
add esp, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edx + 0x18], 0
jne 0x5b3467
pop esi
mov eax, 0xffff8c00
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc0]
push edi
mov dword [ebp + 8], eax
lea edi, [eax + 4]
push edi
push ecx
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00594d70
push 0
call fcn.005cc76d
mov ebx, eax
mov ecx, edx
shrd eax, ecx, 0x18
push 0x1c
mov byte [edi + 2], al
mov eax, ebx
shrd eax, ecx, 0x10
mov byte [edi + 3], al
mov eax, ebx
shrd eax, edx, 8
mov byte [edi + 4], al
mov byte [edi + 5], bl
add edi, 6
mov eax, dword [esi]
push edi
push dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
call eax
add esp, 0x20
test eax, eax
jne 0x5b380b
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
movups xmm0, xmmword [ecx + 6]
movups xmmword [eax + 0x43c], xmm0
movups xmm0, xmmword [ecx + 0x16]
movups xmmword [eax + 0x44c], xmm0
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x880], 0
jne 0x5b351d
cmp dword [esi + 8], 0
jne 0x5b351d
mov eax, dword [esi + 0x38]
cmp dword [eax + 0x10], 0
je 0x5b351d
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5b351d
push eax
push dword [ecx + 0x28]
call edx
add esp, 8
test eax, eax
jne 0x5b351d
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x880], 1
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x880], 0
jne 0x5b358c
inc dword [esi + 4]
push 0
call fcn.005cc76d
mov ecx, dword [esi + 0x38]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
cmp dword [eax + 0x890], 0
je 0x5b3564
mov dword [ecx + 0x10], 0
xorps xmm0, xmm0
mov eax, dword [esi + 0x38]
movups xmmword [eax + 0x14], xmm0
movups xmmword [eax + 0x24], xmm0
jmp 0x5b35a4
mov dword [ecx + 0x10], 0x20
mov ecx, dword [esi]
mov eax, dword [esi + 0x38]
add eax, 0x14
push 0x20
push eax
push dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
call eax
add esp, 0xc
test eax, eax
je 0x5b35a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov dword [esi + 4], 0xc
call fcn.005930f0
add esp, 4
test eax, eax
jne 0x5b380b
mov eax, dword [esi + 0x38]
movzx eax, byte [eax + 0x10]
mov byte [edi + 0x1c], al
add edi, 0x1d
mov eax, dword [esi + 0x38]
push dword [eax + 0x10]
add eax, 0x14
push eax
push edi
call fcn.005c9900
mov eax, dword [esi + 0x38]
add esp, 0xc
add edi, dword [eax + 0x10]
mov eax, dword [eax + 8]
sar eax, 8
mov byte [edi], al
mov eax, dword [esi + 0x38]
movzx eax, byte [eax + 8]
mov byte [edi + 1], al
mov eax, dword [esi + 0x38]
movzx eax, byte [eax + 0xc]
mov byte [edi + 2], al
add edi, 3
cmp dword [esi + 0xe8], 1
je 0x5b35f6
xor ebx, ebx
jmp 0x5b3667
mov word [edi + 2], 0x1ff
lea ebx, [edi + 5]
mov eax, dword [esi + 8]
mov byte [edi + 4], 0
test eax, eax
je 0x5b365a
movzx eax, byte [esi + 0xec]
add al, al
inc al
mov byte [ebx], al
movzx eax, byte [esi + 0xec]
add al, al
mov byte [ebx + 1], al
lea eax, [esi + 0xfc]
push dword [esi + 0xec]
add ebx, 2
push eax
push ebx
call fcn.005c9900
mov eax, dword [esi + 0xec]
add ebx, eax
push eax
lea eax, [esi + 0xf0]
push eax
push ebx
call fcn.005c9900
add esp, 0x18
add ebx, dword [esi + 0xec]
jmp 0x5b3662
mov word [ebx], 1
add ebx, 2
lea eax, [edi + 2]
sub ebx, eax
mov edx, dword [esi + 0x38]
lea ecx, [ebx + edi]
cmp byte [edx + 0x78], 0
jne 0x5b3677
xor eax, eax
jmp 0x5b368f
mov dword [ecx + 2], 0x1000100
mov eax, dword [esi + 0x38]
mov al, byte [eax + 0x78]
mov byte [ecx + 6], al
mov eax, 5
mov edx, dword [esi + 0x38]
add ebx, eax
cmp dword [edx + 0x7c], 0
lea eax, [edi + ebx]
jne 0x5b369e
xor eax, eax
jmp 0x5b36ad
mov dword [eax + 2], 0x400
mov eax, 4
mov edx, dword [esi + 0x38]
add ebx, eax
cmp dword [edx + 0x80], 0
je 0x5b36f3
cmp dword [esi + 0x14], 0
je 0x5b36f3
push dword [edx + 8]
call fcn.005a9290
add esp, 4
test eax, eax
je 0x5b36f3
push dword [eax + 8]
call fcn.005a8340
add esp, 4
test eax, eax
je 0x5b36f3
cmp dword [eax + 4], 2
jne 0x5b36f3
lea eax, [edi + ebx]
mov dword [eax + 2], 0x1600
mov eax, 4
jmp 0x5b36f5
xor eax, eax
mov ecx, dword [esi + 0x3c]
add ebx, eax
cmp dword [ecx + 0x894], 0
lea eax, [edi + ebx]
je 0x5b371d
cmp dword [esi + 0x14], 0
je 0x5b371d
mov dword [eax + 2], 0x1700
mov eax, 4
mov ecx, dword [esi + 0x3c]
jmp 0x5b371f
xor eax, eax
add ebx, eax
cmp dword [ecx + 0x890], 0
lea eax, [edi + ebx]
jne 0x5b3731
xor eax, eax
jmp 0x5b3740
mov dword [eax + 2], 0x2300
mov eax, 4
mov ecx, dword [esi + 0x3c]
add ebx, eax
test byte [ecx + 0x88c], 1
lea eax, [edi + ebx]
jne 0x5b3752
xor eax, eax
jmp 0x5b3764
mov dword [eax + 2], 0x2000b00
mov word [eax + 6], 1
mov eax, 6
add ebx, eax
cmp dword [esi + 0xdc], 0
jne 0x5b3773
xor eax, eax
jmp 0x5b37d3
mov word [edi + ebx + 2], 0x1000
mov ecx, dword [esi + 0xdc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5b3783
sub ecx, edx
push ecx
lea edx, [ecx + 7]
lea eax, [edx - 4]
mov dword [ebp - 4], edx
shr eax, 8
mov byte [edi + ebx + 4], al
lea eax, [edx - 4]
mov byte [edi + ebx + 5], al
lea eax, [edx - 6]
shr eax, 8
mov byte [edi + ebx + 6], al
lea eax, [edx - 6]
mov byte [edi + ebx + 7], al
lea eax, [edx - 7]
mov byte [edi + ebx + 8], al
lea eax, [edi + 9]
push dword [esi + 0xdc]
add eax, ebx
push eax
call fcn.005c9900
mov eax, dword [ebp - 4]
add esp, 0xc
add ebx, eax
je 0x5b37e6
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov byte [edi + 1], bl
add edi, 2
add edi, ebx
mov eax, dword [esi + 0xc0]
sub edi, dword [ebp + 8]
mov dword [esi + 0xc8], edi
mov dword [esi + 0xc4], 0x16
push esi
mov byte [eax], 2
call fcn.00593c10
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret