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

Disassembly:
sub esp, 0x2e4
mov eax, dword [esp + 0x2e8]
push ebx
push ebp
mov ebp, ecx
mov byte [eax], 1
lea ebx, [ebp + 0x18]
mov ecx, dword [ebx + 4]
mov eax, 1
and ecx, 0xfffffff8
mov dword [esp + 8], ebp
shl eax, cl
mov dword [ebx + 4], ecx
dec eax
and dword [ebx], eax
mov ecx, ebx
push 1
call fcn.00537010
test eax, eax
je 0x537161
mov ecx, ebp
mov byte [ebp + 0xe], 0
call fcn.00536e50
pop ebp
pop ebx
add esp, 0x2e4
ret 4
push 1
mov ecx, ebx
mov word [ebp + 0xfc8], 0
mov byte [ebp + 0xe], 1
mov dword [ebp + 0xfc0], 0
mov dword [ebp + 0xfc4], 0
call fcn.00537010
test eax, eax
jne 0x5371a4
push 0x194
push eax
lea eax, [ebp + 0xdd8]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
xor esi, esi
push 4
mov ecx, ebx
call fcn.00537010
mov dword [esp + 0x54], eax
cmp eax, 0xf
jne 0x5371e7
push 4
mov ecx, ebx
call fcn.00537010
test eax, eax
je 0x5371e3
add eax, 2
je 0x5371e0
nop dword [eax + eax]
dec eax
cmp esi, 0x14
jae 0x5371e0
mov byte [esp + esi + 0x58], 0
inc esi
test eax, eax
jne 0x5371d0
dec esi
jmp 0x5371eb
mov eax, dword [esp + 0x54]
mov byte [esp + esi + 0x58], al
inc esi
cmp esi, 0x14
jb 0x5371a7
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
movups xmmword [esp + 0x20], xmm0
movups xmmword [esp + 0x30], xmm0
movups xmmword [esp + 0x40], xmm0
nop word [eax + eax]
movzx eax, byte [esp + ecx + 0x58]
inc dword [esp + eax*4 + 0x10]
movzx eax, byte [esp + ecx + 0x59]
inc dword [esp + eax*4 + 0x10]
movzx eax, byte [esp + ecx + 0x5a]
inc dword [esp + eax*4 + 0x10]
movzx eax, byte [esp + ecx + 0x5b]
inc dword [esp + eax*4 + 0x10]
movzx eax, byte [esp + ecx + 0x5c]
add ecx, 5
inc dword [esp + eax*4 + 0x10]
cmp ecx, 0x14
jb 0x537210
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x20]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x24]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x28]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x2c]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x30]
mov ecx, edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x30], edx
add edx, eax
lea ecx, [eax + ecx*2]
mov eax, ecx
add ecx, ecx
shl eax, 8
mov dword [esp + 0x74], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x34], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 7
mov dword [esp + 0x78], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x38], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 6
mov dword [esp + 0x7c], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x3c], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 5
mov dword [esp + 0x80], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x40], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 4
mov dword [esp + 0x84], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x44], edx
add edx, eax
lea eax, [ecx*8]
add ecx, ecx
mov dword [esp + 0x88], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], edx
add edx, eax
mov dword [esp + 0x98], 0x8000
lea eax, [ecx*4]
add ecx, ecx
mov dword [esp + 0x8c], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x4c]
add ecx, eax
add ecx, ecx
mov dword [esp + 0x4c], edx
add edx, eax
mov dword [esp + 0x90], ecx
mov eax, ecx
sub eax, edx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x50]
add ecx, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x94], ecx
cmp ecx, 0x8000
jne 0x537f9c
xor ebp, ebp
mov edi, 1
nop dword [eax + eax]
mov esi, dword [esp + edi*4 + 0x14]
mov ecx, 6
sub ecx, edi
mov eax, ebp
shr eax, cl
shl esi, cl
mov dword [esp + edi*4 + 0x14], eax
lea eax, [esp + 0xc0]
push esi
add eax, ebp
push edi
push eax
call sub.msvcrt.dll_memset
inc edi
add esp, 0xc
add ebp, esi
cmp edi, 6
jbe 0x5373d0
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0x58], ecx
nop dword [eax]
movzx edi, byte [esp + ebp + 0x5c]
test edi, edi
je 0x537485
mov edx, dword [esp + edi*4 + 0x14]
lea eax, [edx + 1]
mov dword [esp + edi*4 + 0x14], eax
cmp edi, 6
jb 0x537432
mov byte [esp + edx + 0x110], cl
jmp 0x537485
mov ecx, 6
lea esi, [esp + 0x110]
sub ecx, edi
shl edx, cl
add edx, esi
mov esi, 1
shl esi, cl
add esi, edx
cmp edi, 4
jb 0x537462
mov ecx, dword [esp + 0x58]
movzx eax, cx
mov word [edx], ax
mov word [esi - 2], ax
jmp 0x537485
mov edi, dword [esp + 0x58]
movzx eax, di
mov ecx, eax
mov word [edx], ax
mov word [edx + 2], cx
mov word [edx + 4], cx
mov word [edx + 6], cx
add edx, 8
cmp edx, esi
jne 0x537466
mov ecx, dword [esp + 0x58]
inc ebp
add ecx, 0x101
mov dword [esp + 0x58], ecx
cmp ebp, 0x14
jb 0x537410
xor edi, edi
nop dword [eax + eax]
mov edx, dword [ebx + 4]
cmp edx, 0xf
jae 0x53750d
lea eax, [edx + 8]
mov dword [ebx + 4], eax
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jb 0x5374c2
lea ecx, [ebx + 8]
call fcn.00410050
mov dl, al
jmp 0x5374c8
mov dl, byte [eax]
inc eax
mov dword [ebx + 8], eax
mov ecx, dword [ebx]
shl ecx, 8
movzx eax, dl
mov edx, dword [ebx + 4]
or ecx, eax
mov dword [ebx], ecx
cmp edx, 0xf
jae 0x53750d
lea eax, [edx + 8]
mov dword [ebx + 4], eax
mov edx, eax
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jb 0x5374f9
lea ecx, [ebx + 8]
call fcn.00410050
mov edx, dword [ebx + 4]
jmp 0x537501
mov cl, byte [eax]
inc eax
mov dword [ebx + 8], eax
mov al, cl
mov ecx, dword [ebx]
shl ecx, 8
movzx eax, al
or ecx, eax
mov dword [ebx], ecx
mov ebp, dword [ebx]
lea ecx, [edx - 0xf]
mov eax, ebp
shr eax, cl
mov ecx, eax
shr ecx, 9
cmp ecx, dword [esp + 0x70]
jb 0x53754c
mov esi, 7
cmp eax, dword [esp + 0x74]
jb 0x537538
lea ecx, [esp + 0x74]
lea ecx, [ecx + 4]
inc esi
cmp eax, dword [ecx]
jae 0x537530
mov ecx, 0xf
sub edx, esi
sub ecx, esi
shr eax, cl
sub eax, dword [esp + esi*4 + 0x80]
jmp 0x537558
movzx eax, byte [esp + ecx + 0xc0]
sub edx, eax
mov eax, ecx
mov ecx, edx
mov dword [ebx + 4], edx
mov esi, 1
shl esi, cl
dec esi
and esi, ebp
mov dword [ebx], esi
mov cl, byte [esp + eax + 0x110]
movzx ebp, cl
cmp ebp, 0x10
jae 0x537591
mov ebp, dword [esp + 0x10]
mov al, byte [edi + ebp + 0xdd8]
add al, cl
and al, 0xf
mov byte [esp + edi + 0x160], al
inc edi
jmp 0x5375e0
mov esi, ebp
mov ecx, ebx
and esi, 1
shl esi, 2
lea eax, [esi + 3]
push eax
call fcn.00537010
add eax, edi
mov ecx, 0x194
lea eax, [eax + esi*2]
add eax, 3
cmp eax, 0x194
cmova eax, ecx
xor cl, cl
cmp ebp, 0x12
jae 0x5375d0
test edi, edi
je 0x537f9c
mov cl, byte [esp + edi + 0x15f]
nop
mov byte [esp + edi + 0x160], cl
inc edi
cmp edi, eax
jb 0x5375d0
mov ebp, dword [esp + 0x10]
cmp edi, 0x194
jb 0x5374a0
mov eax, dword [ebp + 0x40]
cmp eax, 4
ja 0x537f9c
shl eax, 3
cmp dword [ebp + 0x1c], eax
jb 0x537f9c
xorps xmm0, xmm0
mov byte [ebp + 0xfc8], 1
movups xmmword [esp + 0x14], xmm0
xor ecx, ecx
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x34], xmm0
movups xmmword [esp + 0x44], xmm0
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [esp + ecx + 0x160]
inc ecx
inc dword [esp + eax*4 + 0x14]
cmp ecx, 0x12b
jb 0x537630
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x20]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x24]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x28]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x2c]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x30]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x34]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x38]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x74], edx
mov ecx, edx
mov dword [ebp + 0x94], edx
mov dword [esp + 0x3c], edx
add edx, eax
lea ecx, [eax + ecx*2]
mov eax, ecx
add ecx, ecx
shl eax, 5
mov dword [ebp + 0x78], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0x98], eax
mov eax, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x40], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 4
mov dword [ebp + 0x7c], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0x9c], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x44], edx
add edx, eax
lea eax, [ecx*8]
add ecx, ecx
mov dword [ebp + 0x80], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xa0], eax
mov eax, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], edx
add edx, eax
lea eax, [ecx*4]
add ecx, ecx
mov dword [ebp + 0x84], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xa4], eax
mov eax, dword [esp + 0x4c]
add ecx, eax
add ecx, ecx
mov dword [esp + 0x4c], edx
add edx, eax
mov dword [ebp + 0x88], ecx
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xa8], eax
mov eax, dword [esp + 0x50]
add ecx, eax
mov dword [ebp + 0x8c], ecx
mov dword [esp + 0x50], edx
mov dword [ebp + 0x90], 0x8000
cmp ecx, 0x8000
ja 0x537f9c
xor ebx, ebx
mov edi, 1
mov esi, dword [esp + edi*4 + 0x14]
mov ecx, 9
sub ecx, edi
mov eax, ebx
shr eax, cl
shl esi, cl
mov dword [esp + edi*4 + 0x14], eax
lea eax, [ebx + 0xac]
push esi
add eax, ebp
push edi
push eax
call sub.msvcrt.dll_memset
inc edi
add esp, 0xc
add ebx, esi
cmp edi, 9
jbe 0x537762
xor edx, edx
xor ebx, ebx
nop word [eax + eax]
movzx edi, byte [esp + ebx + 0x160]
test edi, edi
je 0x537802
mov esi, dword [esp + edi*4 + 0x14]
lea eax, [esi + 1]
mov dword [esp + edi*4 + 0x14], eax
cmp edi, 9
jb 0x5377c6
mov word [ebp + esi*2 + 0x2ac], dx
jmp 0x537802
mov ecx, 0xa
sub ecx, edi
shl esi, cl
lea eax, [esi + 0x2ac]
mov esi, 1
add eax, ebp
shl esi, cl
add esi, eax
cmp edi, 7
jb 0x5377f0
mov dword [eax], edx
mov dword [esi - 4], edx
jmp 0x537802
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
add eax, 0x10
cmp eax, esi
jne 0x5377f0
inc ebx
add edx, 0x10001
cmp ebx, 0x12b
jb 0x5377a0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x34], xmm0
movups xmmword [esp + 0x44], xmm0
nop word [eax + eax]
movzx eax, byte [esp + ecx + 0x28b]
inc dword [esp + eax*4 + 0x14]
movzx eax, byte [esp + ecx + 0x28c]
inc dword [esp + eax*4 + 0x14]
movzx eax, byte [esp + ecx + 0x28d]
inc dword [esp + eax*4 + 0x14]
movzx eax, byte [esp + ecx + 0x28e]
inc dword [esp + eax*4 + 0x14]
movzx eax, byte [esp + ecx + 0x28f]
inc dword [esp + eax*4 + 0x14]
movzx eax, byte [esp + ecx + 0x290]
add ecx, 6
inc dword [esp + eax*4 + 0x14]
cmp ecx, 0x3c
jb 0x537830
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x20]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x24]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x28]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x2c]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x30]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x9e0], edx
mov ecx, edx
mov dword [ebp + 0xa08], edx
mov dword [esp + 0x34], edx
add edx, eax
lea ecx, [eax + ecx*2]
mov eax, ecx
add ecx, ecx
shl eax, 7
mov dword [ebp + 0x9e4], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xa0c], eax
mov eax, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x38], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 6
mov dword [ebp + 0x9e8], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xa10], eax
mov eax, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x3c], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 5
mov dword [ebp + 0x9ec], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xa14], eax
mov eax, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x40], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 4
mov dword [ebp + 0x9f0], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xa18], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x44], edx
add edx, eax
lea eax, [ecx*8]
add ecx, ecx
mov dword [ebp + 0x9f4], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xa1c], eax
mov eax, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], edx
add edx, eax
lea eax, [ecx*4]
add ecx, ecx
mov dword [ebp + 0x9f8], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xa20], eax
mov eax, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x4c], edx
add edx, eax
add ecx, ecx
mov eax, ecx
mov dword [ebp + 0x9fc], ecx
sub eax, edx
mov dword [ebp + 0xa24], eax
mov eax, dword [esp + 0x50]
add ecx, eax
mov dword [ebp + 0xa00], ecx
mov dword [esp + 0x50], edx
mov dword [ebp + 0xa04], 0x8000
cmp ecx, 0x8000
ja 0x537f9c
xor ebx, ebx
mov edi, 1
nop
mov esi, dword [esp + edi*4 + 0x14]
mov ecx, 7
sub ecx, edi
mov eax, ebx
shr eax, cl
shl esi, cl
mov dword [esp + edi*4 + 0x14], eax
lea eax, [ebx + 0xa28]
push esi
add eax, ebp
push edi
push eax
call sub.msvcrt.dll_memset
inc edi
add esp, 0xc
add ebx, esi
cmp edi, 7
jbe 0x5379e0
mov ecx, dword [esp + 0x10]
xor ebx, ebx
xor ebp, ebp
nop dword [eax + eax]
movzx edi, byte [esp + ebp + 0x28b]
test edi, edi
je 0x537a92
mov edx, dword [esp + edi*4 + 0x14]
lea eax, [edx + 1]
mov dword [esp + edi*4 + 0x14], eax
cmp edi, 7
jb 0x537a45
mov byte [edx + ecx + 0xab8], bl
jmp 0x537a92
mov eax, dword [esp + 0x10]
mov ecx, 7
sub ecx, edi
add eax, 0xab8
shl edx, cl
mov esi, 1
add edx, eax
shl esi, cl
add esi, edx
cmp edi, 5
jb 0x537a73
movzx eax, bx
mov word [edx], ax
mov word [esi - 2], ax
jmp 0x537a8e
movzx eax, bx
mov ecx, eax
mov word [edx], ax
mov word [edx + 2], cx
mov word [edx + 4], cx
mov word [edx + 6], cx
add edx, 8
cmp edx, esi
jne 0x537a73
mov ecx, dword [esp + 0x10]
inc ebp
add ebx, 0x101
cmp ebp, 0x3c
jb 0x537a20
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x34], xmm0
movups xmmword [esp + 0x44], xmm0
nop word [eax + eax]
movzx eax, byte [esp + ecx + 0x2c7]
inc ecx
inc dword [esp + eax*4 + 0x14]
cmp ecx, 0x11
jb 0x537ac0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x20]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x24]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x28]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x2c]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x30]
mov dword [ebp + 0xb6c], edx
mov ecx, edx
mov dword [ebp + 0xb98], edx
mov dword [esp + 0x30], edx
add edx, eax
lea ecx, [eax + ecx*2]
mov eax, ecx
add ecx, ecx
shl eax, 8
mov dword [ebp + 0xb70], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xb9c], eax
mov eax, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x34], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 7
mov dword [ebp + 0xb74], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xba0], eax
mov eax, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x38], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 6
mov dword [ebp + 0xb78], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xba4], eax
mov eax, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x3c], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 5
mov dword [ebp + 0xb7c], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xba8], eax
mov eax, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x40], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 4
mov dword [ebp + 0xb80], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xbac], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x44], edx
add edx, eax
lea eax, [ecx*8]
add ecx, ecx
mov dword [ebp + 0xb84], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xbb0], eax
mov eax, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], edx
add edx, eax
lea eax, [ecx*4]
add ecx, ecx
mov dword [ebp + 0xb88], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xbb4], eax
mov eax, dword [esp + 0x4c]
add ecx, eax
add ecx, ecx
mov dword [esp + 0x4c], edx
add edx, eax
mov dword [ebp + 0xb8c], ecx
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xbb8], eax
mov eax, dword [esp + 0x50]
add ecx, eax
mov dword [ebp + 0xb90], ecx
mov dword [esp + 0x50], edx
mov dword [ebp + 0xb94], 0x8000
cmp ecx, 0x8000
ja 0x537f9c
xor ebx, ebx
mov edi, 1
mov esi, dword [esp + edi*4 + 0x14]
mov ecx, 6
sub ecx, edi
mov eax, ebx
shr eax, cl
shl esi, cl
mov dword [esp + edi*4 + 0x14], eax
lea eax, [ebp + 0xbbc]
push esi
add eax, ebx
push edi
push eax
call sub.msvcrt.dll_memset
inc edi
add esp, 0xc
add ebx, esi
cmp edi, 6
jbe 0x537c50
xor ebx, ebx
xor ebp, ebp
movzx edi, byte [esp + ebp + 0x2c7]
test edi, edi
je 0x537cf2
mov edx, dword [esp + edi*4 + 0x14]
lea eax, [edx + 1]
mov dword [esp + edi*4 + 0x14], eax
mov eax, dword [esp + 0x10]
cmp edi, 6
jb 0x537cad
mov byte [edx + eax + 0xc0c], bl
jmp 0x537cf2
mov ecx, 6
add eax, 0xc0c
sub ecx, edi
mov esi, 1
shl edx, cl
add edx, eax
shl esi, cl
add esi, edx
cmp edi, 4
jb 0x537cd7
movzx eax, bx
mov word [edx], ax
mov word [esi - 2], ax
jmp 0x537cf2
movzx eax, bx
mov ecx, eax
mov word [edx], ax
mov word [edx + 2], cx
mov word [edx + 4], cx
mov word [edx + 6], cx
add edx, 8
cmp edx, esi
jne 0x537cd7
inc ebp
add ebx, 0x101
cmp ebp, 0x11
jb 0x537c84
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x34], xmm0
movups xmmword [esp + 0x44], xmm0
nop word [eax + eax]
movzx eax, byte [esp + ecx + 0x2d8]
inc dword [esp + eax*4 + 0x14]
movzx eax, byte [esp + ecx + 0x2d9]
inc dword [esp + eax*4 + 0x14]
movzx eax, byte [esp + ecx + 0x2da]
inc dword [esp + eax*4 + 0x14]
movzx eax, byte [esp + ecx + 0x2db]
add ecx, 4
inc dword [esp + eax*4 + 0x14]
cmp ecx, 0x1c
jb 0x537d20
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x20]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x24]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x28]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x2c]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x30]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x34]
mov dword [ebp + 0xc58], edx
mov ecx, edx
mov dword [ebp + 0xc80], edx
mov dword [esp + 0x34], edx
add edx, eax
lea ecx, [eax + ecx*2]
mov eax, ecx
add ecx, ecx
shl eax, 7
mov dword [ebp + 0xc5c], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xc84], eax
mov eax, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x38], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 6
mov dword [ebp + 0xc60], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xc88], eax
mov eax, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x3c], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 5
mov dword [ebp + 0xc64], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xc8c], eax
mov eax, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x40], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 4
mov dword [ebp + 0xc68], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xc90], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x44], edx
add edx, eax
lea eax, [ecx*8]
add ecx, ecx
mov dword [ebp + 0xc6c], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xc94], eax
mov eax, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], edx
add edx, eax
lea eax, [ecx*4]
add ecx, ecx
mov dword [ebp + 0xc70], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xc98], eax
mov eax, dword [esp + 0x4c]
add ecx, eax
add ecx, ecx
mov dword [esp + 0x4c], edx
add edx, eax
mov dword [ebp + 0xc74], ecx
mov eax, ecx
sub eax, edx
mov dword [ebp + 0xc9c], eax
mov eax, dword [esp + 0x50]
add ecx, eax
mov dword [ebp + 0xc78], ecx
mov dword [esp + 0x50], edx
mov dword [ebp + 0xc7c], 0x8000
cmp ecx, 0x8000
ja 0x537f9c
xor ebx, ebx
mov edi, 1
nop word [eax + eax]
mov esi, dword [esp + edi*4 + 0x14]
mov ecx, 7
sub ecx, edi
mov eax, ebx
shr eax, cl
shl esi, cl
mov dword [esp + edi*4 + 0x14], eax
lea eax, [ebp + 0xca0]
push esi
add eax, ebx
push edi
push eax
call sub.msvcrt.dll_memset
inc edi
add esp, 0xc
add ebx, esi
cmp edi, 7
jbe 0x537ec0
xor ebx, ebx
xor ebp, ebp
movzx edi, byte [esp + ebp + 0x2d8]
test edi, edi
je 0x537f62
mov edx, dword [esp + edi*4 + 0x14]
lea eax, [edx + 1]
mov dword [esp + edi*4 + 0x14], eax
mov eax, dword [esp + 0x10]
cmp edi, 7
jb 0x537f1d
mov byte [edx + eax + 0xd30], bl
jmp 0x537f62
mov ecx, 7
add eax, 0xd30
sub ecx, edi
mov esi, 1
shl edx, cl
add edx, eax
shl esi, cl
add esi, edx
cmp edi, 5
jb 0x537f47
movzx eax, bx
mov word [edx], ax
mov word [esi - 2], ax
jmp 0x537f62
movzx eax, bx
mov ecx, eax
mov word [edx], ax
mov word [edx + 2], cx
mov word [edx + 4], cx
mov word [edx + 6], cx
add edx, 8
cmp edx, esi
jne 0x537f47
inc ebp
add ebx, 0x101
cmp ebp, 0x1c
jb 0x537ef4
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x160]
mov ecx, 0x65
lea edi, [eax + 0xdd8]
mov byte [eax + 0xfc9], 1
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2e4
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2e4
ret 4