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

Disassembly:
sub esp, 0x554
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push 1
mov dword [esp + 0x5c], ebx
mov byte [ebx + 0xe], 0
call fcn.00533340
cmp eax, 1
mov ecx, ebx
push 1
sete al
mov byte [ebx + 0xf], al
call fcn.00533340
test eax, eax
jne 0x534926
push 0x404
push eax
lea eax, [ebx + 0x2e08]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp byte [ebx + 0xf], 0
je 0x534956
push 2
mov ecx, ebx
call fcn.00533340
inc eax
mov dword [ebx + 0x80], eax
cmp dword [ebx + 0x2e04], eax
jb 0x53494e
mov dword [ebx + 0x2e04], 0
imul eax, eax, 0x101
jmp 0x53495b
mov eax, 0x176
mov dword [esp + 0x10], eax
xor esi, esi
push 4
mov ecx, ebx
call fcn.00533340
mov byte [esp + esi + 0x60], al
inc esi
cmp esi, 0x13
jb 0x534961
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x18], xmm0
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
nop dword [eax]
movzx eax, byte [esp + ecx + 0x60]
inc ecx
inc dword [esp + eax*4 + 0x18]
cmp ecx, 0x13
jb 0x534990
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + eax*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 ecx, edx
mov dword [esp + 0x74], edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0x34], edx
add edx, eax
lea ecx, [eax + ecx*2]
mov eax, ecx
add ecx, ecx
shl eax, 8
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, 7
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, 6
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, 5
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
mov eax, ecx
add ecx, ecx
shl eax, 4
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
lea eax, [ecx*8]
add ecx, ecx
mov dword [esp + 0x8c], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], edx
add ecx, eax
mov dword [esp + 0x9c], 0x8000
add edx, eax
lea eax, [ecx*4]
add ecx, ecx
mov dword [esp + 0x90], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x50]
add ecx, eax
add ecx, ecx
mov dword [esp + 0x50], edx
add edx, eax
mov dword [esp + 0x94], ecx
mov eax, ecx
sub eax, edx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x54]
add ecx, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x98], ecx
cmp ecx, 0x8000
jne 0x535710
xor ebp, ebp
mov edi, 1
mov esi, dword [esp + edi*4 + 0x18]
mov ecx, 6
sub ecx, edi
mov eax, ebp
shr eax, cl
shl esi, cl
mov dword [esp + edi*4 + 0x18], eax
lea eax, [esp + 0xc4]
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 0x534b24
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0x14], ecx
nop dword [eax]
movzx edi, byte [esp + ebp + 0x60]
test edi, edi
je 0x534bd5
mov edx, dword [esp + edi*4 + 0x18]
lea eax, [edx + 1]
mov dword [esp + edi*4 + 0x18], eax
cmp edi, 6
jb 0x534b82
mov byte [esp + edx + 0x114], cl
jmp 0x534bd5
mov ecx, 6
lea esi, [esp + 0x114]
sub ecx, edi
shl edx, cl
add edx, esi
mov esi, 1
shl esi, cl
add esi, edx
cmp edi, 4
jb 0x534bb2
mov ecx, dword [esp + 0x14]
movzx eax, cx
mov word [edx], ax
mov word [esi - 2], ax
jmp 0x534bd5
mov edi, dword [esp + 0x14]
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 0x534bb6
mov ecx, dword [esp + 0x14]
inc ebp
add ecx, 0x101
mov dword [esp + 0x14], ecx
cmp ebp, 0x13
jb 0x534b60
mov ebp, dword [esp + 0x10]
xor esi, esi
nop
mov edi, dword [ebx + 0x38]
mov ecx, 8
mov eax, dword [ebx + 0x3c]
sub ecx, edi
shr eax, cl
shr eax, 9
and eax, 0x7fff
mov ecx, eax
shr ecx, 9
cmp ecx, dword [esp + 0x74]
jb 0x534c88
mov edx, 7
cmp eax, dword [esp + 0x78]
jb 0x534c29
lea ecx, [esp + 0x78]
lea ecx, [ecx + 4]
inc edx
cmp eax, dword [ecx]
jae 0x534c21
mov ecx, 0xf
sub ecx, edx
shr eax, cl
sub eax, dword [esp + edx*4 + 0x84]
movzx ecx, byte [esp + eax + 0x114]
lea eax, [edi + edx]
mov dword [esp + 0x14], ecx
mov dword [ebx + 0x38], eax
cmp eax, 8
jb 0x534cd8
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jb 0x534c68
lea ecx, [ebx + 0x40]
call fcn.00410050
mov dl, al
jmp 0x534c6e
mov dl, byte [eax]
inc eax
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x3c]
add dword [ebx + 0x38], 0xfffffff8
shl ecx, 8
movzx eax, dl
or ecx, eax
cmp dword [ebx + 0x38], 8
mov dword [ebx + 0x3c], ecx
jae 0x534c54
jmp 0x534cd8
movzx eax, byte [esp + ecx + 0x114]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + ecx + 0xc4]
add eax, edi
mov dword [ebx + 0x38], eax
cmp eax, 8
jb 0x534cd8
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jb 0x534cba
lea ecx, [ebx + 0x40]
call fcn.00410050
mov dl, al
jmp 0x534cc0
mov dl, byte [eax]
inc eax
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x3c]
add dword [ebx + 0x38], 0xfffffff8
shl ecx, 8
movzx eax, dl
or ecx, eax
cmp dword [ebx + 0x38], 8
mov dword [ebx + 0x3c], ecx
jae 0x534ca6
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jae 0x534cfa
mov al, byte [esi + ebx + 0x2e08]
mov ecx, dword [esp + 0x14]
add al, cl
and al, 0xf
mov byte [esp + esi + 0x160], al
inc esi
jmp 0x534d4c
jne 0x534d19
test esi, esi
je 0x535710
push 2
mov ecx, ebx
call fcn.00533340
mov dl, byte [esp + esi + 0x15f]
add eax, 3
jmp 0x534d36
lea eax, [eax*4 - 0x41]
mov ecx, ebx
push eax
call fcn.00533340
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*8]
add eax, 0xffffff7b
xor dl, dl
add eax, esi
mov ecx, ebp
cmp eax, ebp
cmovbe ecx, eax
nop
mov byte [esp + esi + 0x160], dl
inc esi
cmp esi, ecx
jb 0x534d40
cmp esi, ebp
jb 0x534bf0
mov ecx, dword [ebx + 0x60]
cmp ecx, 4
ja 0x535710
mov eax, 0x20
shl ecx, 3
sub eax, dword [ebx + 0x38]
cmp eax, ecx
jb 0x535710
cmp byte [ebx + 0xf], 0
je 0x534fc2
cmp dword [ebx + 0x80], 0
mov dword [esp + 0x5c], 0
jbe 0x5356eb
lea eax, [esp + 0x160]
lea esi, [ebx + 0xbe8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
nop word [eax + eax]
mov ebx, dword [esp + 0x14]
xorps xmm0, xmm0
movups xmmword [esp + 0x18], xmm0
xor ecx, ecx
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
nop dword [eax]
movzx eax, byte [ebx + ecx]
inc ecx
inc dword [esp + eax*4 + 0x18]
cmp ecx, 0x101
jb 0x534dd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
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 ecx, [eax + ecx*2]
mov eax, dword [esp + 0x3c]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x40]
mov dword [esi], edx
mov ecx, edx
mov dword [esi + 0x20], edx
mov dword [esp + 0x40], edx
add edx, eax
lea ecx, [eax + ecx*2]
mov eax, ecx
add ecx, ecx
shl eax, 5
mov dword [esi + 4], eax
mov eax, ecx
sub eax, edx
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x44], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 4
mov dword [esi + 8], eax
mov eax, ecx
sub eax, edx
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], edx
add edx, eax
lea eax, [ecx*8]
add ecx, ecx
mov dword [esi + 0xc], eax
mov eax, ecx
sub eax, edx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x4c], edx
add edx, eax
lea eax, [ecx*4]
add ecx, ecx
mov dword [esi + 0x10], eax
mov eax, ecx
sub eax, edx
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x50]
add ecx, eax
add ecx, ecx
mov dword [esp + 0x50], edx
add edx, eax
mov dword [esi + 0x14], ecx
mov eax, ecx
sub eax, edx
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x54]
add ecx, eax
mov dword [esi + 0x18], ecx
mov dword [esp + 0x54], edx
mov dword [esi + 0x1c], 0x8000
cmp ecx, 0x8000
ja 0x535710
xor ebp, ebp
mov edi, 1
nop dword [eax]
mov esi, dword [esp + edi*4 + 0x18]
mov ecx, 9
sub ecx, edi
mov eax, ebp
shr eax, cl
mov dword [esp + edi*4 + 0x18], eax
mov eax, dword [esp + 0x10]
shl esi, cl
add eax, 0x38
push esi
add eax, ebp
push edi
push eax
call sub.msvcrt.dll_memset
inc edi
add esp, 0xc
add ebp, esi
cmp edi, 9
jbe 0x534ee0
mov ebx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x14]
xor ebp, ebp
nop dword [eax]
movzx edi, byte [eax + ebp]
test edi, edi
je 0x534f7e
mov esi, dword [esp + edi*4 + 0x18]
lea eax, [esi + 1]
mov dword [esp + edi*4 + 0x18], eax
cmp edi, 9
jb 0x534f42
mov word [ebx + esi*2 + 0x238], dx
jmp 0x534f7a
mov ecx, 0xa
lea eax, [ebx + 0x238]
sub ecx, edi
shl esi, cl
add eax, esi
mov esi, 1
shl esi, cl
add esi, eax
cmp edi, 7
jb 0x534f68
mov dword [eax], edx
mov dword [esi - 4], edx
jmp 0x534f7a
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 0x534f68
mov eax, dword [esp + 0x14]
inc ebp
add edx, 0x10001
cmp ebp, 0x101
jb 0x534f20
mov ebx, dword [esp + 0x58]
add eax, 0x101
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x10]
inc edx
add esi, 0x828
mov dword [esp + 0x5c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
cmp edx, dword [ebx + 0x80]
jb 0x534db0
jmp 0x5356eb
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x18], xmm0
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
nop dword [eax + eax]
movzx eax, byte [esp + ecx + 0x160]
inc dword [esp + eax*4 + 0x18]
movzx eax, byte [esp + ecx + 0x161]
add ecx, 2
inc dword [esp + eax*4 + 0x18]
cmp ecx, 0x12a
jb 0x534fe0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
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 ecx, [eax + ecx*2]
mov eax, dword [esp + 0x3c]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x84], edx
mov ecx, edx
mov dword [ebx + 0xa4], edx
mov dword [esp + 0x40], edx
add edx, eax
lea ecx, [eax + ecx*2]
mov eax, ecx
add ecx, ecx
shl eax, 5
mov dword [ebx + 0x88], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xa8], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x44], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 4
mov dword [ebx + 0x8c], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xac], eax
mov eax, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], edx
add edx, eax
lea eax, [ecx*8]
add ecx, ecx
mov dword [ebx + 0x90], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xb0], eax
mov eax, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x4c], edx
add edx, eax
lea eax, [ecx*4]
add ecx, ecx
mov dword [ebx + 0x94], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xb4], eax
mov eax, dword [esp + 0x50]
add ecx, eax
add ecx, ecx
mov dword [esp + 0x50], edx
add edx, eax
mov dword [ebx + 0x98], ecx
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xb8], eax
mov eax, dword [esp + 0x54]
add ecx, eax
mov dword [ebx + 0x9c], ecx
mov dword [esp + 0x54], edx
mov dword [ebx + 0xa0], 0x8000
cmp ecx, 0x8000
ja 0x535710
xor ebp, ebp
mov edi, 1
nop dword [eax]
mov esi, dword [esp + edi*4 + 0x18]
mov ecx, 9
sub ecx, edi
mov eax, ebp
shr eax, cl
shl esi, cl
mov dword [esp + edi*4 + 0x18], eax
lea eax, [ebx + 0xbc]
push esi
add eax, ebp
push edi
push eax
call sub.msvcrt.dll_memset
inc edi
add esp, 0xc
add ebp, esi
cmp edi, 9
jbe 0x535130
xor edx, edx
xor ebp, ebp
movzx edi, byte [esp + ebp + 0x160]
test edi, edi
je 0x5351c2
mov esi, dword [esp + edi*4 + 0x18]
lea eax, [esi + 1]
mov dword [esp + edi*4 + 0x18], eax
cmp edi, 9
jb 0x53518a
mov word [ebx + esi*2 + 0x2bc], dx
jmp 0x5351c2
mov ecx, 0xa
lea eax, [ebx + 0x2bc]
sub ecx, edi
shl esi, cl
add eax, esi
mov esi, 1
shl esi, cl
add esi, eax
cmp edi, 7
jb 0x5351b0
mov dword [eax], edx
mov dword [esi - 4], edx
jmp 0x5351c2
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 0x5351b0
inc ebp
add edx, 0x10001
cmp ebp, 0x12a
jb 0x535164
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x18], xmm0
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
nop word [eax + eax]
movzx eax, byte [esp + ecx + 0x28a]
inc dword [esp + eax*4 + 0x18]
movzx eax, byte [esp + ecx + 0x28b]
inc dword [esp + eax*4 + 0x18]
movzx eax, byte [esp + ecx + 0x28c]
inc dword [esp + eax*4 + 0x18]
movzx eax, byte [esp + ecx + 0x28d]
inc dword [esp + eax*4 + 0x18]
movzx eax, byte [esp + ecx + 0x28e]
inc dword [esp + eax*4 + 0x18]
movzx eax, byte [esp + ecx + 0x28f]
add ecx, 6
inc dword [esp + eax*4 + 0x18]
cmp ecx, 0x30
jb 0x5351f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
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 edx, [eax + ecx*2]
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x8fc], edx
mov ecx, edx
mov dword [ebx + 0x924], edx
mov dword [esp + 0x38], edx
add edx, eax
lea ecx, [eax + ecx*2]
mov eax, ecx
add ecx, ecx
shl eax, 7
mov dword [ebx + 0x900], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0x928], 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, 6
mov dword [ebx + 0x904], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0x92c], 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, 5
mov dword [ebx + 0x908], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0x930], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x44], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 4
mov dword [ebx + 0x90c], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0x934], eax
mov eax, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], edx
add edx, eax
lea eax, [ecx*8]
add ecx, ecx
mov dword [ebx + 0x910], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0x938], eax
mov eax, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x4c], edx
add edx, eax
lea eax, [ecx*4]
add ecx, ecx
mov dword [ebx + 0x914], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0x93c], eax
mov eax, dword [esp + 0x50]
add ecx, eax
mov dword [esp + 0x50], edx
add edx, eax
add ecx, ecx
mov eax, ecx
mov dword [ebx + 0x918], ecx
sub eax, edx
mov dword [ebx + 0x940], eax
mov eax, dword [esp + 0x54]
add ecx, eax
mov dword [ebx + 0x91c], ecx
mov dword [esp + 0x54], edx
mov dword [ebx + 0x920], 0x8000
cmp ecx, 0x8000
ja 0x535710
xor ebp, ebp
mov edi, 1
nop
mov esi, dword [esp + edi*4 + 0x18]
mov ecx, 7
sub ecx, edi
mov eax, ebp
shr eax, cl
shl esi, cl
mov dword [esp + edi*4 + 0x18], eax
lea eax, [ebx + 0x944]
push esi
add eax, ebp
push edi
push eax
call sub.msvcrt.dll_memset
inc edi
add esp, 0xc
add ebp, esi
cmp edi, 7
jbe 0x5353a0
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0x10], ecx
nop dword [eax + eax]
movzx edi, byte [esp + ebp + 0x28a]
test edi, edi
je 0x535457
mov edx, dword [esp + edi*4 + 0x18]
lea eax, [edx + 1]
mov dword [esp + edi*4 + 0x18], eax
cmp edi, 7
jb 0x535405
mov byte [edx + ebx + 0x9d4], cl
jmp 0x535457
mov ecx, 7
mov esi, 1
sub ecx, edi
shl edx, cl
add edx, 0x9d4
shl esi, cl
add edx, ebx
add esi, edx
cmp edi, 5
jb 0x535434
mov ecx, dword [esp + 0x10]
movzx eax, cx
mov word [edx], ax
mov word [esi - 2], ax
jmp 0x535457
mov edi, dword [esp + 0x10]
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 0x535438
mov ecx, dword [esp + 0x10]
inc ebp
add ecx, 0x101
mov dword [esp + 0x10], ecx
cmp ebp, 0x30
jb 0x5353e0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x18], xmm0
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
movzx eax, byte [esp + ecx + 0x2ba]
inc dword [esp + eax*4 + 0x18]
movzx eax, byte [esp + ecx + 0x2bb]
inc dword [esp + eax*4 + 0x18]
movzx eax, byte [esp + ecx + 0x2bc]
inc dword [esp + eax*4 + 0x18]
movzx eax, byte [esp + ecx + 0x2bd]
add ecx, 4
inc dword [esp + eax*4 + 0x18]
cmp ecx, 0x1c
jb 0x535484
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
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 edx, [eax + ecx*2]
mov eax, dword [esp + 0x38]
mov dword [ebx + 0xa7c], edx
mov ecx, edx
mov dword [ebx + 0xaa4], edx
mov dword [esp + 0x38], edx
add edx, eax
lea ecx, [eax + ecx*2]
mov eax, ecx
add ecx, ecx
shl eax, 7
mov dword [ebx + 0xa80], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xaa8], 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, 6
mov dword [ebx + 0xa84], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xaac], 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, 5
mov dword [ebx + 0xa88], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xab0], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x44], edx
add edx, eax
mov eax, ecx
add ecx, ecx
shl eax, 4
mov dword [ebx + 0xa8c], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xab4], eax
mov eax, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], edx
add edx, eax
lea eax, [ecx*8]
add ecx, ecx
mov dword [ebx + 0xa90], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xab8], eax
mov eax, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x4c], edx
add edx, eax
lea eax, [ecx*4]
add ecx, ecx
mov dword [ebx + 0xa94], eax
mov eax, ecx
sub eax, edx
mov dword [ebx + 0xabc], eax
mov eax, dword [esp + 0x50]
add ecx, eax
mov dword [esp + 0x50], edx
add edx, eax
add ecx, ecx
mov eax, ecx
mov dword [ebx + 0xa98], ecx
sub eax, edx
mov dword [ebx + 0xac0], eax
mov eax, dword [esp + 0x54]
add ecx, eax
mov dword [ebx + 0xa9c], ecx
mov dword [esp + 0x54], edx
mov dword [ebx + 0xaa0], 0x8000
cmp ecx, 0x8000
ja 0x535710
xor ebp, ebp
mov edi, 1
nop word [eax + eax]
mov esi, dword [esp + edi*4 + 0x18]
mov ecx, 7
sub ecx, edi
mov eax, ebp
shr eax, cl
shl esi, cl
mov dword [esp + edi*4 + 0x18], eax
lea eax, [ebx + 0xac4]
push esi
add eax, ebp
push edi
push eax
call sub.msvcrt.dll_memset
inc edi
add esp, 0xc
add ebp, esi
cmp edi, 7
jbe 0x535620
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0x10], ecx
nop dword [eax + eax]
movzx edi, byte [esp + ebp + 0x2ba]
test edi, edi
je 0x5356d7
mov edx, dword [esp + edi*4 + 0x18]
lea eax, [edx + 1]
mov dword [esp + edi*4 + 0x18], eax
cmp edi, 7
jb 0x535685
mov byte [edx + ebx + 0xb54], cl
jmp 0x5356d7
mov ecx, 7
mov esi, 1
sub ecx, edi
shl edx, cl
add edx, 0xb54
shl esi, cl
add edx, ebx
add esi, edx
cmp edi, 5
jb 0x5356b4
mov ecx, dword [esp + 0x10]
movzx eax, cx
mov word [edx], ax
mov word [esi - 2], ax
jmp 0x5356d7
mov edi, dword [esp + 0x10]
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 0x5356b8
mov ecx, dword [esp + 0x10]
inc ebp
add ecx, 0x101
mov dword [esp + 0x10], ecx
cmp ebp, 0x1c
jb 0x535660
lea edi, [ebx + 0x2e08]
mov byte [ebx + 0xe], 1
mov ecx, 0x101
lea esi, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x554
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x554
ret