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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x568008]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, ecx
mov byte [esp + 0xb], 0
xor ecx, ecx
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
mov byte [esp + 0xb], 0
mov dh, 0x3e
mov dl, 0x5f
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
xor dl, dh
mov dword [eax + 0x14], 7
mov word [eax], cx
xor eax, eax
push ebx
mov dword [esp + 0x14], eax
mov cl, 0x6a
mov dword [esp + 0x28], eax
xor cl, dh
push esi
xor esi, esi
mov byte [esp + 0xe], cl
mov al, 0x77
mov byte [esp + 0xc], dh
mov bl, 0x7d
mov byte [esp + 0xf], dl
mov ah, 0x5d
mov dword [esp + 0x14], esi
mov ch, 0xd
mov dword [esp + 0x34], esi
xor al, dh
mov dword [esp + 0x78], esi
xor bl, dh
mov byte [esp + 0xd], al
xor ah, dh
mov byte [esp + 0x10], bl
push edi
xor edi, edi
mov byte [esp + 0x15], ah
xor ch, dh
mov dword [esp + 0x34], edi
mov byte [esp + 0x16], ch
lea ecx, [esp + 0x11]
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x80], esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x537307
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0x74]
call fcn.004a2240
mov ch, 9
mov byte [esp + 0x16], 0
mov cl, 0x53
mov byte [esp + 0x10], ch
mov dl, 0x71
mov byte [esp + 0x16], 0
xor cl, ch
mov dword [esp + 0x4c], esi
xor dl, ch
mov byte [esp + 0x12], cl
mov al, 0x4e
mov byte [esp + 0x13], dl
mov bl, 0x40
mov dword [esp + 0x50], esi
xor al, ch
xor bl, ch
mov ah, 0x5b
mov byte [esp + 0x11], al
xor ah, ch
mov byte [esp + 0x14], bl
xorps xmm0, xmm0
mov byte [esp + 0x15], ah
lea ecx, [esp + 0x11]
movups xmmword [esp + 0x3c], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x537370
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.004a2240
mov dh, 0x2c
mov byte [esp + 0x17], 0
mov dl, 0x5a
mov byte [esp + 0x10], dh
mov cl, 0x7f
mov byte [esp + 0x17], 0
xor cl, dh
xor dl, dh
mov al, 0x68
mov byte [esp + 0x13], dl
mov bl, 0x75
mov byte [esp + 0x12], cl
mov ah, 0x4d
mov ch, 0x40
xor al, dh
xor bl, dh
xor ah, dh
mov byte [esp + 0x11], al
xor ch, dh
mov byte [esp + 0x14], bl
lea edx, [esp + 0x11]
mov byte [esp + 0x16], ch
mov byte [esp + 0x15], ah
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x5373d0
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x11]
sub edx, ecx
cmp dword [esp + 0x50], 0x10
push edx
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x40]
cmovae ecx, ebx
push eax
call fcn.004a23e0
add esp, 8
test al, al
je 0x5374cb
mov dh, 0x61
mov byte [esp + 0x17], 0
mov cl, 0xd
mov byte [esp + 0x10], dh
mov dl, 0x35
mov byte [esp + 0x17], 0
xor cl, dh
mov dword [esp + 0x64], esi
mov al, 0x13
mov byte [esp + 0x12], cl
mov bl, 0x3b
mov dword [esp + 0x68], esi
mov ah, 0xf
mov ch, 0x51
xor al, dh
xor dl, dh
xor bl, dh
mov byte [esp + 0x13], dl
xor ah, dh
mov byte [esp + 0x11], al
xor ch, dh
mov byte [esp + 0x14], bl
mov byte [esp + 0x16], ch
xorps xmm0, xmm0
lea ecx, [esp + 0x11]
mov byte [esp + 0x15], ah
movups xmmword [esp + 0x54], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x537460
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.004a2240
mov ch, 0x1b
mov byte [esp + 0x16], 0
mov al, 0x2b
mov byte [esp + 0x10], ch
mov ah, 0x7d
mov byte [esp + 0x16], 0
xor al, ch
xor ah, ch
mov cl, 0x5f
mov byte [esp + 0x11], al
xor cl, ch
mov byte [esp + 0x15], ah
mov dl, 0x59
mov byte [esp + 0x12], cl
mov bl, 0x4b
lea eax, [esp + 0x11]
xor dl, ch
xor bl, ch
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x17], dl
mov byte [esp + 0x18], bl
call fcn.004a1aa0
lea ecx, [esp + 0x54]
call fcn.004a1ba0
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
cmp eax, 0x10
jb 0x5374ff
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x5374f5
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5376d2
push ecx
push ebx
call fcn.004a60c5
add esp, 8
mov ecx, dword [esp + 0x80]
cmp ecx, 0x10
jb 0x537538
mov edx, dword [esp + 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53752e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5376d2
push ecx
push edx
call fcn.004a60c5
add esp, 8
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 8]
xor ebx, ebx
cmp dword [ebp + 0x1c], 8
mov dword [esp + 0x20], ebx
cmovae ecx, dword [ebp + 8]
mov dword [esp + 0x24], ecx
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
cmp eax, ecx
je 0x53765e
nop word [eax + eax]
cmp dword [0x568304], 8
mov ecx, 0x5682f0
movzx eax, word [eax]
mov esi, 0x5682f0
cmovae ecx, dword [0x5682f0]
cmovae esi, dword [0x5682f0]
mov dword [esp + 0x1c], eax
mov eax, dword [0x568300]
lea ecx, [ecx + eax*2]
mov dword [esp + 0x28], ecx
cmp esi, ecx
je 0x5375f7
mov eax, dword [esp + 0x1c]
nop word [eax + eax]
cmp ax, word [esi]
jne 0x5375eb
cmp edi, dword [esp + 0x18]
je 0x5375c6
mov dword [edi], ebx
add edi, 4
mov dword [esp + 0x34], edi
jmp 0x5375e9
lea eax, [esp + 0x20]
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.004a59f0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
xor ebx, ebx
inc ebx
add esi, 2
mov dword [esp + 0x20], ebx
cmp esi, ecx
jne 0x5375b0
cmp word [esp + 0x1c], 0xa
mov esi, dword [esp + 0x18]
jne 0x537639
mov dword [esp + 0x28], 0xffffff3d
cmp edi, esi
je 0x53761e
mov dword [edi], 0xffffff3d
add edi, 4
mov dword [esp + 0x34], edi
jmp 0x537639
lea eax, [esp + 0x28]
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.004a59f0
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x24]
xor ebx, ebx
add eax, 2
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x10]
jne 0x537570
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
jmp 0x537660
xor ecx, ecx
mov ebx, ecx
cmp ebx, edi
je 0x5376af
mov esi, dword [esp + 0x2c]
nop word [eax + eax]
mov ecx, dword [ebx]
cmp ecx, 0xffffff3d
jne 0x537681
mov eax, 0xa
jmp 0x537698
cmp dword [0x568324], 8
mov eax, 0x568310
cmovae eax, dword [0x568310]
movzx eax, word [eax + ecx*2]
push eax
mov ecx, esi
call fcn.004a3aa0
add ebx, 4
cmp ebx, edi
jne 0x537670
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5376e2
sub esi, ecx
mov eax, ecx
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x5376d8
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5376d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push ecx
call fcn.004a60c5
add esp, 8
lea ecx, [ebp + 8]
call fcn.004a1c30
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a6087
mov esp, ebp
pop ebp
ret