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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x150], esi
call fcn.004f9de0
mov ebx, eax
mov byte [ebp - 0x12d], 0
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x140], ebx
push eax
mov dword [ebp - 0x12c], 0x114
call dword [0x648e54]
cmp dword [ebp - 0x128], 5
ja 0x50a7ad
jne 0x50a7b4
cmp dword [ebp - 0x124], esi
jbe 0x50a7b4
mov byte [ebp - 0x12d], 1
cmp byte [ebx + 2], 0x80
jne 0x50b4ea
push 4
push 0x1000
push 0x8000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x158], eax
test eax, eax
je 0x50b4ea
mov eax, 0x8000
test edi, edi
mov esi, 0x10000
cmovne esi, eax
push esi
call fcn.00479f2b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x144], ebx
test ebx, ebx
je 0x50b4be
push esi
push 0
push ebx
call fcn.005c9220
mov ecx, dword [ebp - 0x160]
add esp, 0xc
call fcn.004f9f00
test eax, eax
jne 0x50a851
push eax
lea eax, [ebp - 0x178]
push eax
push 0
push 0
push 0
push 0
push 0x70140
push dword [ebp - 0x140]
call fcn.0050c9a0
add esp, 0x20
mov dword [ebp - 0x150], eax
jmp 0x50b4b3
test edi, edi
lea eax, [ebx + 0x8000]
mov ecx, edi
mov edx, 0x38
mov edi, dword [ebp - 0x158]
cmove ecx, eax
mov al, byte [ebp - 0x12d]
mov dword [ebp - 0x14c], ecx
test al, al
mov ecx, 0xff
cmove edx, ecx
xor esi, esi
test al, al
mov dword [ebp - 0x13c], edx
mov ecx, 0xe3
mov dword [ebp - 0x174], esi
cmove ecx, esi
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], esi
test al, al
je 0x50aa8f
push 4
push 0x8000
push edi
push dword [ebp - 0x140]
call fcn.0051d0a0
add esp, 0x10
test eax, eax
jne 0x50aa87
push edi
call fcn.00515840
add esp, 4
test eax, eax
je 0x50aa87
mov esi, dword [ebp - 0x140]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x164], 1
movzx eax, word [esi + 6]
push eax
push 0x8000
push edi
call fcn.0051d280
mov edi, dword [ebp - 0x10]
add esp, 0x10
mov eax, dword [ebp - 0x138]
cmp eax, dword [edi + 0x50]
jb 0x50ac93
mov dword [ebx], 1
movups xmm0, xmmword [edi + 0x38]
movups xmmword [ebx + 8], xmm0
movzx eax, word [esi + 6]
push dword [edi + 0x2c]
cdq
push dword [edi + 0x28]
push edx
push eax
call fcn.0058c440
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x140]
mov dword [ebx + 0x1c], edx
mov esi, dword [edi + 0x30]
sub esi, dword [edi + 0x28]
movzx eax, word [eax + 6]
mov ecx, dword [edi + 0x34]
sbb ecx, dword [edi + 0x2c]
add esi, 1
cdq
push edx
push eax
adc ecx, 0
push ecx
push esi
call fcn.0058c440
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov eax, dword [edi + 0x50]
mov edi, dword [ebp - 0xc]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x50], 0
jbe 0x50ac93
lea eax, [ebx + 0x38]
xor ebx, ebx
mov dword [ebp - 0x148], eax
nop dword [eax]
mov ecx, edi
mov edx, 0x5fd1f0
mov esi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x50a9b6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x50a9a0
jmp 0x50aa6c
mov esi, dword [ebp - 0x148]
mov eax, dword [ebp - 0x140]
mov dword [esi - 8], 1
push dword [edi + 0x24]
movzx eax, word [eax + 6]
push dword [edi + 0x20]
cdq
push edx
push eax
call fcn.0058c440
mov dword [esi], eax
mov eax, dword [ebp - 0x140]
mov dword [esi + 4], edx
mov esi, dword [edi + 0x28]
sub esi, dword [edi + 0x20]
movzx eax, word [eax + 6]
mov ecx, dword [edi + 0x2c]
sbb ecx, dword [edi + 0x24]
add esi, 1
cdq
push edx
push eax
adc ecx, 0
push ecx
push esi
call fcn.0058c440
mov ecx, dword [ebp - 0x148]
inc dword [ebp - 0x134]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
movups xmm0, xmmword [edi]
movups xmmword [ecx + 0x18], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ecx + 0x28], xmm0
mov eax, dword [edi + 0x30]
mov dword [ecx + 0x38], eax
mov eax, dword [edi + 0x34]
mov dword [ecx + 0x3c], eax
movups xmm0, xmmword [edi + 0x38]
movups xmmword [ecx + 0x40], xmm0
movups xmm0, xmmword [edi + 0x48]
movups xmmword [ecx + 0x50], xmm0
movups xmm0, xmmword [edi + 0x58]
movups xmmword [ecx + 0x60], xmm0
movups xmm0, xmmword [edi + 0x68]
movups xmmword [ecx + 0x70], xmm0
movq xmm0, qword [edi + 0x78]
movq qword [ecx + 0x80], xmm0
add ecx, 0x90
mov dword [ebp - 0x148], ecx
mov eax, dword [ebp - 0x10]
inc ebx
add edi, dword [eax + 0x54]
cmp ebx, dword [eax + 0x50]
jb 0x50a990
mov ebx, dword [ebp - 0x144]
jmp 0x50ac93
mov edx, dword [ebp - 0x13c]
mov dword [ebx], esi
lea eax, [ebx + 0x38]
mov dword [ebp - 0x168], eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x16c], eax
mov eax, edx
dec edx
mov dword [ebp - 0x13c], edx
test eax, eax
je 0x50ac93
push dword [ebp - 0x140]
mov eax, esi
xor esi, esi
push 1
push edi
push esi
push eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x154], esi
call fcn.004faf40
add esp, 0x14
test eax, eax
je 0x50ac93
mov edx, dword [ebp - 0x158]
mov eax, 0xaa55
cmp word [edx + 0x1fe], ax
jne 0x50ac93
mov ecx, dword [ebp - 0x16c]
lea esi, [edx + 0x1be]
mov eax, dword [ebp - 0x168]
mov edi, eax
add dword [ebp - 0x134], 4
mov dword [ebp - 0x148], ecx
sub ecx, 0xffffff80
add eax, 0x240
mov dword [ebp - 0x138], 4
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x15c], 0
jne 0x50ab70
mov al, byte [esi + 4]
mov ecx, dword [esi + 8]
cmp al, 5
je 0x50ab4b
cmp al, 0xf
jne 0x50ab57
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x174], ecx
cmp byte [ebp - 0x12d], 0
mov eax, dword [edx + 0x1b8]
je 0x50ab6b
mov dword [ebx + 8], eax
jmp 0x50aba5
mov dword [ebx + 4], eax
jmp 0x50aba5
movzx eax, byte [esi + 4]
push eax
call fcn.004f7d50
add esp, 4
test eax, eax
je 0x50ab92
mov ecx, dword [esi + 8]
add ecx, dword [ebp - 0x174]
mov dword [ebp - 0x154], ecx
jmp 0x50aba5
cmp byte [esi + 4], 0
je 0x50aba3
mov ecx, dword [esi + 8]
add ecx, dword [ebp - 0x15c]
jmp 0x50aba5
xor ecx, ecx
cmp byte [ebp - 0x12d], 0
mov eax, dword [ebp - 0x140]
push 0
push ecx
je 0x50ac07
mov dword [edi - 8], 0
movzx eax, word [eax + 6]
cdq
push edx
push eax
call fcn.0058c440
mov dword [edi], eax
mov eax, dword [ebp - 0x140]
mov dword [edi + 4], edx
movzx eax, word [eax + 6]
cdq
push edx
push eax
push 0
push dword [esi + 0xc]
call fcn.0058c440
mov ecx, dword [ebp - 0x148]
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
movzx eax, byte [esi + 4]
mov byte [edi + 0x18], al
movzx eax, byte [esi]
mov byte [edi + 0x19], al
mov eax, dword [esi + 8]
mov dword [edi + 0x1c], eax
jmp 0x50ac54
movzx eax, word [eax + 6]
cdq
push edx
push eax
call fcn.0058c440
mov ecx, dword [ebp - 0x148]
mov dword [ecx - 8], eax
mov eax, dword [ebp - 0x140]
mov dword [ecx - 4], edx
movzx eax, word [eax + 6]
cdq
push edx
push eax
push 0
push dword [esi + 0xc]
call fcn.0058c440
mov ecx, dword [ebp - 0x148]
mov dword [ecx], eax
mov dword [ecx + 4], edx
movzx eax, byte [esi + 4]
mov byte [ecx + 0x10], al
movzx eax, byte [esi]
mov byte [ecx + 0x11], al
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x158]
add ecx, 0x20
add edi, 0x90
mov dword [ebp - 0x148], ecx
add esi, 0x10
sub dword [ebp - 0x138], 1
jne 0x50ab34
mov esi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x13c]
mov edi, dword [ebp - 0x158]
test esi, esi
jne 0x50aaa1
mov cl, byte [ebp - 0x12d]
mov eax, dword [ebp - 0x134]
test cl, cl
je 0x50aca8
mov dword [ebx + 4], eax
jmp 0x50acaa
mov dword [ebx], eax
test eax, eax
je 0x50ad8c
cmp dword [ebp - 0x170], 0
mov edi, dword [ebp - 0x14c]
mov esi, edi
mov dword [ebp - 0x134], esi
jne 0x50af45
mov ecx, dword [ebp - 0x160]
call fcn.004f9de0
mov edi, eax
cmp byte [edi + 2], 0x80
jne 0x50ad86
mov eax, dword [ebp - 0x14c]
xor esi, esi
mov dword [ebp - 0x134], eax
test eax, eax
jne 0x50ad12
push 0x8000
call fcn.00479f2b
add esp, 4
mov dword [ebp - 0x134], eax
test eax, eax
je 0x50ad86
mov esi, 1
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call dword [0x648e54]
cmp dword [ebp - 0x128], 5
ja 0x50ad44
jne 0x50ad3d
cmp dword [ebp - 0x124], 0
ja 0x50ad44
mov eax, 0x7400c
jmp 0x50ad49
mov eax, 0x70050
push 0
lea ecx, [ebp - 0x174]
push ecx
push 0x8000
push dword [ebp - 0x134]
push 0
push 0
push eax
push edi
call fcn.0050c9a0
add esp, 0x20
test eax, eax
jne 0x50af33
test esi, esi
je 0x50ad86
push eax
push dword [ebp - 0x134]
call fcn.0058bb51
add esp, 8
mov cl, byte [ebp - 0x12d]
cmp dword [ebp - 0x164], 0
je 0x50b4b3
mov esi, dword [ebp - 0x140]
lea eax, [ebp - 0x178]
push 0
push eax
push 0
push 0
push 0x8000
test cl, cl
mov edx, 0x7c010
mov eax, 0x7c054
push ebx
cmove eax, edx
push eax
push esi
call fcn.0050c9a0
mov edi, dword [ebp - 0x158]
add esp, 0x20
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x150], eax
je 0x50ae34
push esi
push 1
push edi
push 0
push 0
call fcn.004faf40
add esp, 0x14
test eax, eax
je 0x50ae34
mov ecx, dword [ebp - 0x160]
call fcn.004f2e40
cmp dword [edi + 0x1b8], eax
je 0x50ae34
mov ecx, dword [ebp - 0x160]
call fcn.004f2e40
test eax, eax
je 0x50ae34
mov ecx, dword [ebp - 0x160]
call fcn.004f2e40
push esi
push 1
push edi
push 0
push 0
mov dword [edi + 0x1b8], eax
call fcn.004fafb0
add esp, 0x14
mov cl, byte [ebp - 0x12d]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x16c], edx
test cl, cl
je 0x50ae57
cmp dword [ebx], 1
je 0x50b4b3
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x150], esi
lea esi, [ebx + 0x23]
mov dword [ebp - 0x164], esi
lea esi, [ebx + 0x4c]
mov dword [ebp - 0x13c], esi
test cl, cl
lea ecx, [ebx + 4]
jne 0x50ae7e
mov ecx, ebx
cmp edx, dword [ecx]
jae 0x50b4b3
push dword [ebp - 0x140]
mov esi, eax
xor eax, eax
push 1
push edi
push eax
push esi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x168], eax
call fcn.004faf40
add esp, 0x14
test eax, eax
je 0x50b4b3
mov eax, dword [ebp - 0x164]
xor ebx, ebx
mov ecx, dword [ebp - 0x13c]
mov edx, eax
add dword [ebp - 0x16c], 4
add edi, 0x1be
add dword [ebp - 0x13c], 0x240
sub eax, 0xffffff80
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x15c], 4
mov dword [ebp - 0x164], eax
nop dword [eax]
mov al, byte [edi + 4]
test al, al
je 0x50b450
test esi, esi
jne 0x50b395
mov esi, dword [edi + 8]
cmp al, 5
je 0x50af22
cmp al, 0xf
jne 0x50b3cf
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x138], esi
jmp 0x50b3cf
mov cl, byte [ebp - 0x12d]
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x14c]
test cl, cl
je 0x50afd4
mov edx, dword [ebx]
mov eax, edx
cmp edx, 1
je 0x50af80
cmp dword [ebx + 8], 0
jne 0x50af80
cmp dword [edi], 1
jne 0x50af78
push 0
call fcn.005cc714
mov cl, byte [ebp - 0x12d]
add esp, 4
mov dword [ebx + 8], eax
mov eax, dword [ebx]
jmp 0x50af80
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, edx
cmp eax, dword [edi]
je 0x50afa6
xor eax, eax
cmp dword [ebx + 4], eax
jbe 0x50ad99
lea edx, [ebx + 0x4c]
mov byte [edx], 1
lea edx, [edx + 0x90]
inc eax
cmp eax, dword [ebx + 4]
jb 0x50af92
jmp 0x50ad99
cmp eax, 1
jne 0x50afe0
xor eax, eax
cmp dword [ebx + 4], eax
jbe 0x50ad99
lea edx, [ebx + 0x4c]
nop dword [eax]
mov byte [edx], 1
lea edx, [edx + 0x90]
inc eax
cmp eax, dword [ebx + 4]
jb 0x50afc0
jmp 0x50ad99
cmp dword [ebx + 4], 0
jne 0x50afe0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
lea eax, [ebx + 0x4c]
mov dword [ebp - 0x15c], 4
mov dword [ebp - 0x170], eax
lea edi, [ebx + 0x18]
mov edx, ebx
mov dword [ebp - 0x150], 4
sub edx, dword [ebp - 0x134]
mov eax, 0xffffffb4
add esi, 0x10
mov dword [ebp - 0x138], edx
sub eax, ebx
mov ebx, dword [ebp - 0x170]
mov dword [ebp - 0x164], eax
test cl, cl
je 0x50b057
mov ecx, dword [ebp - 0x14c]
add eax, ebx
add ecx, 0x30
add eax, ecx
push eax
lea eax, [ebx - 0x1c]
push eax
call fcn.0050b600
mov cl, byte [ebp - 0x12d]
add esp, 8
mov edx, dword [ebp - 0x138]
test eax, eax
jne 0x50b08a
mov byte [ebx], 1
jmp 0x50b08a
mov eax, dword [edi - 0x10]
cmp eax, dword [esi - 8]
jne 0x50b086
mov eax, dword [edi - 0xc]
cmp eax, dword [esi - 4]
jne 0x50b086
mov eax, dword [edx + esi]
cmp eax, dword [esi]
jne 0x50b086
mov eax, dword [edx + esi + 4]
cmp eax, dword [esi + 4]
jne 0x50b086
mov al, byte [edi + 8]
cmp al, byte [esi + 0x10]
jne 0x50b086
mov eax, dword [edi]
cmp eax, dword [esi + 8]
je 0x50b08a
mov byte [edi + 0xb], 1
mov eax, dword [ebp - 0x164]
add ebx, 0x90
add esi, 0x20
add edi, 0x20
sub dword [ebp - 0x15c], 1
jne 0x50b024
mov ebx, dword [ebp - 0x144]
lea eax, [ebx + 4]
test cl, cl
jne 0x50b0b8
mov eax, ebx
mov esi, dword [eax]
mov eax, dword [ebp - 0x14c]
add eax, 4
mov dword [ebp - 0x170], esi
test cl, cl
cmove eax, dword [ebp - 0x134]
mov edx, dword [eax]
mov dword [ebp - 0x154], edx
cmp esi, 4
jbe 0x50ad99
mov edx, 4
nop dword [eax + eax]
cmp edx, 4
je 0x50b28d
mov ecx, dword [ebp - 0x144]
lea eax, [edx + edx*8]
lea esi, [edx + 1]
shl eax, 4
shl esi, 5
add eax, 0x50
xor edi, edi
add esi, ecx
add eax, ecx
mov ebx, edx
mov dword [ebp - 0x13c], eax
nop dword [eax]
cmp byte [ebp - 0x12d], 0
je 0x50b12d
mov cl, byte [eax]
jmp 0x50b12f
mov cl, byte [esi]
test cl, cl
je 0x50b149
movzx eax, cl
push eax
call fcn.004f7d50
add esp, 4
test eax, eax
je 0x50b15e
mov eax, dword [ebp - 0x13c]
inc edi
add eax, 0x90
inc ebx
mov dword [ebp - 0x13c], eax
add esi, 0x20
cmp edi, 4
jb 0x50b120
cmp edi, 4
jne 0x50b17d
mov ebx, dword [ebp - 0x144]
or edi, 0xffffffff
mov edx, dword [ebp - 0x150]
mov cl, byte [ebp - 0x12d]
jmp 0x50b292
mov edi, 4
cmp dword [ebp - 0x154], edi
jbe 0x50b25c
mov esi, dword [ebp - 0x134]
mov eax, 0x240
mov edx, dword [ebp - 0x144]
add esi, 0xa0
mov dword [ebp - 0x138], eax
nop dword [eax + eax]
cmp byte [ebp - 0x12d], 0
jne 0x50b20b
mov ecx, ebx
shl ecx, 5
add ecx, 8
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [esi - 0x18]
jne 0x50b23b
mov eax, dword [ecx + 4]
cmp eax, dword [esi - 0x14]
jne 0x50b23b
mov eax, dword [ecx + 8]
cmp eax, dword [esi - 0x10]
jne 0x50b23b
mov eax, dword [ecx + 0xc]
cmp eax, dword [esi - 0xc]
jne 0x50b23b
mov al, byte [ecx + 0x18]
cmp al, byte [esi]
jne 0x50b23b
mov eax, dword [ecx + 0x10]
cmp eax, dword [esi - 8]
jne 0x50b23b
mov ebx, dword [ebp - 0x144]
and edi, 0xfffffffc
mov edx, dword [ebp - 0x150]
mov cl, byte [ebp - 0x12d]
jmp 0x50b292
mov ecx, dword [ebp - 0x14c]
add ecx, 0x30
add eax, ecx
mov ecx, dword [ebp - 0x144]
push eax
lea eax, [ebx + ebx*8]
add ecx, 0x30
shl eax, 4
add eax, ecx
push eax
call fcn.0050b600
add esp, 8
test eax, eax
jne 0x50b1f1
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x138]
inc edi
add eax, 0x90
add esi, 0x20
mov dword [ebp - 0x138], eax
cmp edi, dword [ebp - 0x154]
jb 0x50b1b0
mov cl, byte [ebp - 0x12d]
mov edx, dword [ebp - 0x150]
mov ebx, dword [ebp - 0x144]
test cl, cl
je 0x50b36c
lea eax, [edx + edx*8]
add eax, eax
mov byte [ebx + eax*8 + 0xdc], 1
mov byte [ebx + eax*8 + 0x4c], 1
jmp 0x50b37b
mov edi, 4
cmp edi, dword [ebp - 0x154]
jae 0x50b262
lea ecx, [edi + edi*8]
mov dword [ebp - 0x138], 4
lea eax, [edx + edx*8]
shl ecx, 4
lea esi, [edx + 1]
shl eax, 4
inc edi
shl esi, 5
add esi, dword [ebp - 0x144]
add ebx, 0x4c
shl edi, 5
add ebx, eax
add edi, dword [ebp - 0x134]
mov dword [ebp - 0x13c], ecx
cmp byte [ebp - 0x12d], 0
je 0x50b301
mov eax, dword [ebp - 0x14c]
add eax, 0x30
add eax, ecx
push eax
lea eax, [ebx - 0x1c]
push eax
call fcn.0050b600
mov ecx, dword [ebp - 0x13c]
add esp, 8
test eax, eax
jne 0x50b333
mov byte [ebx], 1
jmp 0x50b333
mov eax, dword [esi - 0x18]
cmp eax, dword [edi - 0x18]
jne 0x50b32f
mov eax, dword [esi - 0x14]
cmp eax, dword [edi - 0x14]
jne 0x50b32f
mov eax, dword [esi - 0x10]
cmp eax, dword [edi - 0x10]
jne 0x50b32f
mov eax, dword [esi - 0xc]
cmp eax, dword [edi - 0xc]
jne 0x50b32f
mov al, byte [esi]
cmp al, byte [edi]
jne 0x50b32f
mov eax, dword [esi - 8]
cmp eax, dword [edi - 8]
je 0x50b333
mov byte [esi + 3], 1
add ecx, 0x90
add ebx, 0x90
add edi, 0x20
mov dword [ebp - 0x13c], ecx
add esi, 0x20
sub dword [ebp - 0x138], 1
jne 0x50b2d1
mov ebx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x150]
mov cl, byte [ebp - 0x12d]
jmp 0x50b37b
mov eax, edx
shl eax, 5
mov byte [eax + ebx + 0x43], 1
mov byte [eax + ebx + 0x23], 1
add edx, 4
mov dword [ebp - 0x150], edx
cmp edx, dword [ebp - 0x170]
jb 0x50b0f0
jmp 0x50ad99
movzx eax, al
push eax
call fcn.004f7d50
mov ecx, dword [edi + 8]
add esp, 4
mov edx, dword [ebp - 0x148]
test eax, eax
je 0x50b3c7
mov eax, dword [ebp - 0x138]
lea ebx, [ecx + eax]
mov dword [ebp - 0x168], ebx
mov esi, ebx
mov ebx, dword [ebp - 0x154]
jmp 0x50b3c9
add esi, ecx
mov ecx, dword [ebp - 0x14c]
cmp byte [ebp - 0x12d], 0
jne 0x50b3df
cmp byte [edx], 0
jne 0x50b3e4
jmp 0x50b44a
cmp byte [ecx], 0
je 0x50b44a
movups xmm0, xmmword [edi]
mov ecx, dword [ebp - 0x160]
movups xmmword [ebp - 0x14], xmm0
call fcn.004f9e30
mov ecx, dword [ebp - 0x160]
push eax
push 0
push esi
call fcn.004f9d50
push eax
push edi
call fcn.00542f90
add esp, 0x14
lea edx, [ebp - 0x14]
mov eax, edi
mov esi, 0xc
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x50b433
add edx, 4
add eax, 4
sub esi, 4
jae 0x50b420
jmp 0x50b438
mov ebx, 1
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x154], ebx
mov esi, dword [ebp - 0x134]
add edx, 0x20
add ecx, 0x90
add edi, 0x10
mov dword [ebp - 0x148], edx
sub dword [ebp - 0x15c], 1
mov dword [ebp - 0x14c], ecx
jne 0x50af00
mov edi, dword [ebp - 0x158]
test ebx, ebx
mov ebx, dword [ebp - 0x144]
je 0x50b499
push dword [ebp - 0x140]
push 1
push edi
push 0
push esi
call fcn.004fafb0
add esp, 0x14
mov eax, dword [ebp - 0x168]
mov cl, byte [ebp - 0x12d]
mov edx, dword [ebp - 0x16c]
test eax, eax
jne 0x50ae75
push 0x28
push ebx
call fcn.0058bb51
add esp, 8
push 0x8000
push 0
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x150]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 8