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

Disassembly:
sub esp, 0x24
mov edx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
cmp dword [edi + 0x7c], 0
mov ebp, dword [edi]
je 0x535a4e
mov eax, dword [edi + 0x18]
mov ecx, esi
sub ecx, dword [edi + 8]
sar ecx, 1
cmp byte [ecx + eax], 0
je 0x535a4e
mov eax, dword [edi + 0x1c]
push ebx
push edx
push esi
push edi
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], eax
call fcn.00539550
mov edx, dword [esp + 0x50]
add esp, 0x10
cmp esi, edx
jae 0x5361fd
mov dword [esp + 0x20], 0xa1
mov dword [esp + 0x24], 0x9b
mov dword [esp + 0x28], 0x9d
mov dword [esp + 0x2c], 0x9f
movzx ecx, word [esi]
movzx eax, cx
dec eax
mov dword [esp + 0x14], ecx
cmp eax, 0xa5
ja case.0x535a93.98
movzx eax, byte [eax + 0x5362b0]
jmp dword [eax*4 + 0x536258]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0xc]
test eax, eax
lea edx, [eax + 4]
cmove edx, ecx
lea eax, [esi + 2]
push edx
push eax
movzx eax, word [esi]
push eax
push edi
call fcn.005387f0
mov edx, dword [esp + 0x50]
add esp, 0x10
mov esi, eax
jmp 0x5361f1
mov edx, dword [ebx + 8]
lea eax, [ebx + 0xc]
test edx, edx
push 1
lea ecx, [edx + 4]
cmove ecx, eax
lea eax, [esi + 2]
push ecx
push eax
movzx eax, word [esi]
push eax
push edi
call fcn.005327d0
mov edx, dword [esp + 0x54]
add esp, 0x14
mov esi, eax
jmp 0x5361f1
cmp dword [ebp], 0
je 0x535afc
xor ecx, ecx
jmp 0x535b09
push 0x14
push ebp
call fcn.00540720
add esp, 8
mov ecx, eax
cmp dword [ebp], 0
jne case.0x535a93.98
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov eax, dword [ebx + 8]
mov dword [ecx], eax
mov dword [ecx + 0x10], esi
mov dword [ebx + 8], ecx
push dword [edi + 0x24]
push 0x8d
push 0
push 3
push 0x20
push ebp
call fcn.0054b290
push 1
push edi
call fcn.0052ae90
push 0
push 2
push dword [edi + 0x24]
push 0x8d
push 0x20
push ebp
call fcn.0054b290
push 0
push 3
push 0
push 0x8b
push 0x20
push ebp
call fcn.0054b290
mov edx, dword [esp + 0x90]
add esp, 0x50
add esi, 2
jmp 0x5361f1
cmp dword [edi + 0x68], 1
mov edx, dword [ebx + 8]
lea eax, [edx + 4]
jne 0x535bae
test edx, edx
lea edx, [ebx + 0xc]
cmove eax, edx
push eax
push dword [esp + 0x44]
push esi
push edi
call fcn.00533590
mov edx, dword [esp + 0x50]
add esp, 0x10
mov esi, eax
jmp 0x5361f1
test edx, edx
lea edx, [ebx + 0xc]
push 1
cmove eax, edx
push eax
lea eax, [esi + 2]
push eax
push ecx
push edi
call fcn.005327d0
mov edx, dword [esp + 0x54]
add esp, 0x14
mov esi, eax
jmp 0x5361f1
mov ax, word [esi + 0x22]
sub ax, 0x62
cmp ax, 0xb
ja case.0x535a93.6
push ebx
push esi
push edi
call fcn.00534640
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x5361f1
lea eax, [esi + 2]
mov dword [esp + 0x3c], eax
movzx eax, word [eax]
mov ax, word [esi + eax*2]
sub ax, 0x62
cmp ax, 0xb
jbe case.0x535a93.33
mov edx, dword [ebx + 8]
lea eax, [ebx + 0xc]
test edx, edx
push 1
lea ecx, [edx + 4]
cmove ecx, eax
mov eax, dword [esp + 0x18]
push ecx
push dword [esp + 0x44]
push eax
push edi
call fcn.005327d0
mov edx, dword [esp + 0x54]
add esp, 0x14
mov esi, eax
jmp 0x5361f1
lea eax, [esi + 4]
mov dword [esp + 0x3c], eax
mov ax, word [eax]
sub ax, 0x62
cmp ax, 0xb
ja 0x535c6a
push ebx
push esi
push edi
call fcn.005375c0
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x5361f1
mov edx, dword [ebx + 8]
lea eax, [ebx + 0xc]
push 0
test edx, edx
push 1
lea ecx, [edx + 4]
cmove ecx, eax
push ecx
push esi
push edi
call fcn.00537e00
mov esi, dword [esp + 0x50]
add esp, 0x14
mov edx, dword [esp + 0x40]
jmp 0x5361f1
lea eax, [esi + 6]
mov dword [esp + 0x3c], eax
mov ax, word [eax]
sub ax, 0x62
cmp ax, 0xb
ja 0x535cbe
push ebx
push esi
push edi
call fcn.005375c0
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x5361f1
mov eax, dword [ebx + 8]
test eax, eax
je 0x535cca
add eax, 4
jmp 0x535ccd
lea eax, [ebx + 0xc]
push eax
push esi
push edi
call fcn.00533b20
mov edx, dword [ebx + 8]
lea eax, [ebx + 0xc]
push 0
test edx, edx
push 1
lea ecx, [edx + 4]
cmove ecx, eax
push ecx
push esi
push edi
call fcn.00537e00
mov esi, dword [esp + 0x5c]
add esp, 0x20
mov edx, dword [esp + 0x40]
jmp 0x5361f1
push ebx
push esi
push edi
call fcn.00537280
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x5361f1
push ebx
push esi
push edi
call fcn.005324a0
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x5361f1
cmp dword [ebp], 0
je 0x535d35
xor ecx, ecx
jmp 0x535d42
push 0x24
push ebp
call fcn.00540720
add esp, 8
mov ecx, eax
cmp dword [ebp], 0
jne case.0x535a93.98
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push 0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov eax, dword [ebx + 8]
push ecx
mov dword [ecx], eax
push esi
mov dword [ecx + 0x10], esi
push edi
mov dword [ebx + 8], ecx
call fcn.0052ca50
mov edx, dword [esp + 0x50]
add esp, 0x10
mov esi, eax
jmp 0x5361f1
cmp dword [ebp], 0
je 0x535d8e
xor ecx, ecx
mov dword [esp + 0x3c], ecx
jmp 0x535d9f
push 0x18
push ebp
call fcn.00540720
add esp, 8
mov dword [esp + 0x3c], eax
mov ecx, eax
cmp dword [ebp], 0
jne case.0x535a93.98
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebx + 8]
mov dword [ecx + 0x10], esi
add esi, 2
mov dword [ecx], eax
mov dword [ebx + 8], ecx
movzx eax, word [esi + 2]
lea esi, [esi + eax*2]
movzx eax, word [esi]
cmp eax, 0x78
je 0x535dc2
add esi, 4
cmp eax, 0x7b
je 0x535de8
push 1
push edi
call fcn.0052ae90
add esp, 8
xor eax, eax
jmp 0x535e0b
push 2
push edi
call fcn.0052ae90
push 0
push 0x40
push 0
push 0x8b
push 0x20
push ebp
call fcn.0054b290
add esp, 0x20
mov eax, 4
push 0
push 2
push eax
push 0x8b
push 0x20
push ebp
call fcn.0054b290
push ebp
call fcn.0054b060
mov ecx, dword [esp + 0x58]
push edi
mov dword [ecx + 0x14], eax
call fcn.0053c280
mov edx, dword [esp + 0x60]
add esp, 0x20
jmp 0x5361f1
mov eax, 0x81
cmp word [esi + 2], ax
jbe case.0x535a93.126
push ebx
push esi
push edi
call fcn.0052ff00
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x5361f1
push ebx
push esi
push edi
call fcn.00531500
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x5361f1
cmp dword [ebp], 0
je 0x535e81
xor ecx, ecx
jmp 0x535e8e
push 0x14
push ebp
call fcn.00540720
add esp, 8
mov ecx, eax
cmp dword [ebp], 0
jne case.0x535a93.98
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov eax, dword [ebx + 8]
mov dword [ecx], eax
mov dword [ecx + 0x10], esi
mov dword [ebx + 8], ecx
push dword [edi + 0x40]
push 0x8d
push 0
push 3
push 0x20
push ebp
call fcn.0054b290
xor eax, eax
cmp dword [edi + 0x78], eax
setne al
lea eax, [eax*4 + 1]
push eax
push edi
call fcn.0052ae90
push 0
push 8
push 0
push 1
push 0x20
push ebp
call fcn.0054b290
mov eax, dword [edi + 0x78]
neg eax
push 0
push 3
sbb eax, eax
and eax, 0x10
push eax
push 0x8b
push 0x20
push ebp
call fcn.0054b290
add esp, 0x50
lea eax, [esi + 4]
push eax
push 0x40
push 0
push 3
push 0x20
push ebp
call fcn.0054b290
push 0
push 3
push dword [edi + 0x40]
push 0x8d
push 0x20
push ebp
call fcn.0054b290
push 0
push 3
push 0x18
push 0x81
push 0x20
push ebp
call fcn.0054b290
add esp, 0x48
cmp dword [edi + 0x78], 0
je 0x535fc7
push dword [edi + 0x44]
push 0x8d
push 0
push 1
push 0x20
push ebp
call fcn.0054b290
push 0
push 0xb
push dword [edi + 0x44]
push 0x8d
push 0x20
push ebp
call fcn.0054b290
push 0
push 0x40
push 4
push 0x8b
push 0x20
push ebp
call fcn.0054b290
add esp, 0x48
lea eax, [esi + 4]
push eax
push 0x40
push 8
push 0x8b
push 0x20
push ebp
call fcn.0054b290
push 0
push 2
push 0xc
push 0x8b
push 0x20
push ebp
call fcn.0054b290
push 0
push 1
push 0
push 0x8b
push 0x20
push ebp
call fcn.0054b290
add esp, 0x48
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x40]
lea esi, [esi + eax*2]
add esi, 6
jmp 0x5361f1
mov edx, dword [edi]
lea eax, [esi + 2]
movzx ecx, cx
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
cmp cx, word [esp + 0x20]
je 0x53600a
cmp cx, word [esp + 0x24]
je 0x53600a
cmp cx, word [esp + 0x28]
je 0x53600a
cmp cx, word [esp + 0x2c]
jne 0x53601f
mov ebx, dword [esp + 0x3c]
movzx eax, word [eax]
lea ebx, [ebx + eax*2]
add ebx, 4
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x44]
cmp dword [edx], 0
je 0x536028
xor eax, eax
jmp 0x53603b
push 0x14
push edx
call fcn.00540720
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x30]
cmp dword [edx], 0
mov dword [esp + 0x10], eax
je 0x53604f
mov edx, dword [esp + 0x40]
xor esi, esi
jmp 0x5361f1
mov edi, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov eax, dword [ebx + 8]
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x38]
mov dword [eax + 0x10], esi
mov dword [ebx + 8], eax
mov eax, 0x9c
cmp cx, ax
jne 0x5360aa
push 1
push edi
call fcn.0052ae90
mov esi, dword [esp + 0x1c]
push 0
push 2
push 0
push 0x8b
push 0x20
push esi
call fcn.0054b290
mov esi, dword [esp + 0x5c]
add esp, 0x20
mov edx, dword [esp + 0x40]
jmp 0x5361f1
mov eax, 0xa1
cmp cx, ax
je 0x5360c8
mov eax, 0x9b
cmp cx, ax
je 0x5360c8
mov eax, 0x9f
cmp cx, ax
jne 0x53611b
push 0
push 8
push 0
push 1
push 0x20
push edx
call fcn.0054b290
lea eax, [esi + 4]
mov esi, dword [esp + 0x2c]
push eax
push 0x40
push 0
push 3
push 0x20
push esi
call fcn.0054b290
push 0
push 3
push dword [edi + 0x40]
push 0x8d
push 0x20
push esi
call fcn.0054b290
add esp, 0x48
push 0
push 3
push 0x18
push 0x81
push 0x20
push esi
call fcn.0054b290
add esp, 0x18
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
jmp 0x5361f1
push ebx
push esi
push edi
call fcn.00533cc0
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, eax
jmp 0x5361f1
cmp dword [edi + 0xd8], 0
movzx edx, word [esi + 2]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], edx
mov al, byte [edx + eax]
mov byte [esp + 0x3c], al
jne 0x5361d0
test al, al
jne 0x536186
mov eax, dword [edi + 0x20]
lea eax, [eax + edx*4]
push eax
push 0x8d
push 0
push 1
push 0x20
push ecx
call fcn.0054b290
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x24]
shl edx, 3
push 0
mov dword [esp + 0x34], edx
add edx, 4
push 2
add eax, edx
push eax
push 0x8d
push 0x20
push ecx
call fcn.0054b290
add esp, 0x18
cmp byte [esp + 0x3c], 0
jne 0x5361d0
mov eax, dword [edi + 0x24]
add eax, dword [esp + 0x30]
push 0
push 1
push eax
push 0x8d
push 0x20
push dword [esp + 0x28]
call fcn.0054b290
add esp, 0x18
mov edx, dword [esp + 0x40]
add esi, 4
jmp 0x5361f1
lea ecx, [esi + 2]
nop dword [eax]
movzx eax, word [ecx + 2]
cmp word [ecx + eax*2], 0x78
lea ecx, [ecx + eax*2]
je 0x5361e0
lea esi, [ecx + 4]
test esi, esi
je case.0x535a93.98
cmp esi, edx
jb 0x535a76
cmp dword [esp + 0x18], 0
je case.0x535a93.98
cmp dword [ebp], 0
je 0x53620e
xor ecx, ecx
jmp 0x53621b
push 0x24
push ebp
call fcn.00540720
add esp, 8
mov ecx, eax
cmp dword [ebp], 0
jne case.0x535a93.98
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov eax, dword [ebx + 8]
mov dword [ecx], eax
mov dword [ebx + 8], ecx
mov dword [ecx + 0x10], 0x73242c
mov eax, dword [edi + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret