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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
lea edx, [ecx + ecx*8]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], eax
lea edx, [edx + edx*2]
add edx, eax
add edx, ecx
test ecx, ecx
mov dword [esp + 0x94], edx
je 0x4f1918
lea ecx, [eax + 0x1c]
mov dword [esp + 0x90], ecx
movzx ecx, word [eax]
cmp cx, 8
je 0x4f190f
mov ebx, dword [0x6074a0]
lea edi, [esp + 0x122]
xor esi, esi
mov dword [esp + 0x28], 4
mov dword [esp + 0xc], 0
nop
mov word [esp + 0x120], cx
movzx ecx, word [eax + 0x1a]
mov word [edi + 0x18], cx
movsd xmm0, qword [eax + 0x12]
movsd qword [edi + 0x10], xmm0
movq xmm0, qword [eax + 2]
movsd xmm1, qword [eax + 0xa]
movsd qword [edi + 8], xmm1
movq qword [edi], xmm0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x120]
call fcn.004f08e0
movsd xmm2, qword [esp + 0x3c]
mov dword [esp + 8], esi
movq xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x44]
mov eax, dword [esp + 0x54]
movsd qword [esp + 0x6c], xmm2
movq qword [esp + 0x7c], xmm0
movsd qword [esp + 0x74], xmm1
mov dword [esp + 0x24], eax
movzx esi, word [esp + 0x6c]
test esi, esi
je 0x4f186b
mov edx, dword [esp + 0x14]
cmp esi, 1
je 0x4f1620
cmp esi, 6
jne 0x4f1680
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], esi
mov dword [esp + 0x60], esi
mov esi, dword [esp + 8]
lea ecx, [eax + eax*8]
lea edx, [edi + eax]
mov dword [esp + 0xd8], edi
mov dword [esp + 0x64], edi
lea ebx, [ecx + ecx*2]
add edx, ebx
test eax, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0xdc], edx
je 0x4f181b
add ebx, eax
add edi, 0x1c
mov ecx, ebx
mov ebx, dword [0x6074a0]
jmp 0x4f10b8
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
lea eax, [esi + esi*8]
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], 0
lea eax, [eax + eax*2]
add eax, esi
inc esi
mov dword [edx + eax + 0x18], ecx
movsd xmm0, qword [esp + 0x4c]
movsd qword [edx + eax + 0x10], xmm0
movq xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [edx + eax + 8], xmm1
movq qword [edx + eax], xmm0
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x5c]
add edi, 0x1c
add ecx, 0xffffffe4
je 0x4f182d
mov dword [esp + 0xd8], edi
movzx eax, word [edi - 0x1c]
cmp ax, 8
je 0x4f1827
mov word [esp + 0xb4], ax
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0xb6]
movzx eax, word [edi - 2]
mov word [ecx + 0x18], ax
mov eax, dword [0x6074b4]
movsd xmm0, qword [edi - 0xa]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [edi - 0x1a]
movsd xmm1, qword [edi - 0x12]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
movsd xmm2, qword [esp + 0xb4]
movq xmm0, qword [esp + 0xc4]
movsd xmm1, qword [esp + 0xbc]
mov word [esp + 0xb4], 0
movq qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm2
movzx eax, byte [eax]
mov eax, dword [ebx]
test eax, eax
jne 0x4f1159
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x4f1e1e
mov dword [ebx], eax
push 0x2c
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x4f1e1e
movaps xmm0, xmmword [0x5b1c00]
lea edx, [esp + 0x48]
mov dword [esp + 8], esi
mov dword [esp + 0x2c], edi
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 1
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x24], 0x10000
mov byte [eax + 0x28], 0
movss xmm0, dword [esp + 0x3c]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xcc], eax
mov eax, dword [edx + 8]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
movaps xmmword [esp + 0xe0], xmm0
movq xmm0, qword [edx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xa0], eax
movq qword [esp + 0x98], xmm0
lea edi, [esp + 0xb4]
push edi
call fcn.004f54f0
add esp, 4
mov ecx, edi
call fcn.004cbb60
push dword [esp + 0xcc]
push 0
mov eax, dword [0x6074a0]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [esp + 0x98]
mov eax, dword [esp + 0xa0]
movsd qword [esp + 0xfc], xmm0
movdqa xmm0, xmmword [esp + 0xe0]
mov dword [esp + 0x104], eax
movd eax, xmm0
cmp ax, 1
jne 0x4f1290
cmp dword [esp + 0xc], 0
mov edx, dword [esp + 0x14]
je 0x4f1315
mov eax, dword [esp + 0x34]
sub eax, edx
cmp eax, esi
jae 0x4f1376
lea ecx, [esp + 0x30]
push esi
call fcn.004cf1a0
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
jmp 0x4f137a
mov edi, dword [esp + 0xc]
movd dword [esp + 0x98], xmm0
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x104]
movq xmm0, qword [esp + 0xfc]
lea ecx, [esp + 0xa4]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x30], 0
test edi, edi
mov dword [ecx + 8], eax
movq qword [ecx], xmm0
je 0x4f1363
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
jbe 0x4f1396
mov eax, dword [0x6074a0]
test ecx, ecx
mov eax, dword [eax]
je 0x4f14e4
push ecx
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapReAlloc
mov ecx, dword [esp + 0x14]
mov esi, eax
test eax, eax
jne 0x4f13a0
jmp 0x4f1e5c
test esi, esi
je 0x4f147e
js 0x4f1e55
mov eax, dword [0x6074b4]
movzx eax, byte [eax]
mov eax, dword [0x6074a0]
mov eax, dword [eax]
test eax, eax
jne 0x4f134b
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x4f1e48
mov ecx, dword [0x6074a0]
mov dword [ecx], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edi, eax
test eax, eax
jne 0x4f1483
jmp 0x4f1e48
mov ebx, dword [0x6074a0]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x2c]
jmp 0x4f15c6
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
add eax, edx
push esi
push ebx
push eax
mov edi, edx
call sub.msvcrt.dll_memcpy
mov eax, edi
add esp, 0xc
add eax, esi
jmp 0x4f149c
test ecx, ecx
mov esi, edi
je 0x4f14f2
push ecx
push esi
lea eax, [esp + 0x44]
push eax
call fcn.00428910
add esp, 0xc
mov eax, dword [0x6074b4]
mov ebx, dword [esp + 0x3c]
movzx eax, byte [eax]
mov eax, dword [0x6074a0]
mov eax, dword [eax]
mov edi, dword [esp + 0x2c]
test eax, eax
jne 0x4f13df
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x4f1e2c
mov ecx, dword [0x6074a0]
mov dword [ecx], eax
push 0x2c
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x4f1e2c
mov edx, dword [esp + 0x14]
test ebx, ebx
mov ecx, eax
mov dword [eax], 1
mov ebx, dword [0x6074a0]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x1c], 0
mov word [ecx + 0x24], 0
sete byte [ecx + 0x26]
mov word [ecx + 0x27], 0x101
mov word [esp + 0x3c], 1
mov dword [esp + 0x40], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x44], edx
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
jne 0x4f1586
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.004cea00
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
jmp 0x4f158a
mov edi, 1
push esi
push ebx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x30], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x34], esi
mov eax, esi
test esi, esi
mov esi, dword [0x6074a0]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], eax
je 0x4f14bc
push ebx
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 0x10]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov ebx, esi
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
add edi, 0x1c
add ecx, 0xffffffe4
jne 0x4f10b8
jmp 0x4f182d
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov edi, 1
mov eax, dword [0x6074b4]
mov ebx, dword [0x6074a0]
movzx eax, byte [eax]
mov eax, dword [ebx]
test eax, eax
je 0x4f150c
mov esi, dword [esp + 8]
jmp 0x4f151f
call sub.KERNEL32.dll_GetProcessHeap
mov esi, dword [esp + 8]
test eax, eax
je 0x4f1e3a
mov dword [ebx], eax
push 0x2c
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x4f1e3a
movdqa xmm0, xmmword [0x5b1c00]
mov edi, dword [esp + 0x2c]
mov ecx, eax
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 1
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x24], 0x10000
mov byte [eax + 0x28], 0
mov word [esp + 0x3c], 0
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
je 0x4f1466
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
lea eax, [esi + esi*8]
mov dword [esp + 0x28], edx
lea eax, [eax + eax*2]
add eax, esi
inc esi
mov dword [edx + eax + 0x18], ecx
movsd xmm0, qword [esp + 0x4c]
movsd qword [edx + eax + 0x10], xmm0
movq xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [edx + eax + 8], xmm1
movq qword [edx + eax], xmm0
mov dword [esp + 0x20], esi
movq xmm0, qword [esp + 0xa8]
movsd xmm2, qword [esp + 0x98]
movsd xmm1, qword [esp + 0xa0]
cmp esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
movq qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm2
mov dword [esp + 0x54], eax
jne 0x4f1060
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.004cea00
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
jmp 0x4f1064
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
test ecx, ecx
mov dword [esp + 0x10], esi
je 0x4f17cd
mov eax, dword [esp + 0x34]
sub eax, edx
cmp eax, ebx
jae 0x4f1657
lea ecx, [esp + 0x30]
push ebx
call fcn.004cf1a0
add esp, 4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
lea eax, [ecx + edx]
push ebx
push esi
push eax
mov esi, edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, ebx
jmp 0x4f18b6
mov eax, dword [esp + 0x30]
movq xmm0, qword [esp + 0x7c]
movsd xmm2, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x74]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 8]
mov dword [esp + 0x30], 0
test eax, eax
movq qword [esp + 0xa8], xmm0
movsd qword [esp + 0xa0], xmm1
movsd qword [esp + 0x98], xmm2
je 0x4f173f
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x108]
call fcn.004f0b80
cmp esi, dword [esp + 0x1c]
jne 0x4f1703
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.004cea00
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
lea ecx, [esi + esi*8]
lea ecx, [ecx + ecx*2]
add ecx, esi
inc esi
mov dword [eax + ecx + 0x18], edx
movsd xmm0, qword [esp + 0x4c]
movsd qword [eax + ecx + 0x10], xmm0
movq xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [eax + ecx + 8], xmm1
movq qword [eax + ecx], xmm0
mov dword [esp + 0x20], esi
movq xmm0, qword [esp + 0x7c]
movsd xmm2, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x74]
cmp esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
movq qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm2
mov dword [esp + 0x54], eax
jne 0x4f1780
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.004cea00
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
lea eax, [esi + esi*8]
mov dword [esp + 0xc], 0
lea eax, [eax + eax*2]
add eax, esi
inc esi
mov dword [edx + eax + 0x18], ecx
mov dword [esp + 0x28], edx
movsd xmm0, qword [esp + 0x4c]
movsd qword [edx + eax + 0x10], xmm0
movq xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [edx + eax + 8], xmm1
movq qword [edx + eax], xmm0
mov dword [esp + 0x20], esi
jmp 0x4f18e6
test ebx, ebx
je 0x4f1895
js 0x4f1e9a
mov eax, dword [0x6074b4]
movzx eax, byte [eax]
mov eax, dword [0x6074a0]
mov eax, dword [eax]
test eax, eax
jne 0x4f1803
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x4f1e77
mov ecx, dword [0x6074a0]
mov dword [ecx], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov esi, eax
test eax, eax
jne 0x4f189a
jmp 0x4f1e77
mov eax, dword [esp + 0x58]
mov ebx, dword [0x6074a0]
jmp 0x4f1833
mov eax, dword [esp + 0x58]
jmp 0x4f1833
mov eax, dword [esp + 0x58]
mov edi, eax
sub eax, edi
mov ecx, 0x24924925
shr eax, 2
mul ecx
mov ecx, edi
call fcn.004cc220
cmp dword [esp + 0x60], 0
mov eax, dword [esp + 0x64]
lea edi, [esp + 0x122]
mov dword [esp + 8], esi
je 0x4f1866
push eax
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
movzx esi, word [esp + 0x6c]
push dword [esp + 0x24]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
cmp si, 1
je 0x4f18e2
movzx eax, si
cmp eax, 6
je 0x4f18e2
lea ecx, [esp + 0x6c]
call fcn.004cbb60
mov esi, dword [esp + 8]
jmp 0x4f18e6
mov esi, 1
push ebx
push dword [esp + 0x14]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x34], ebx
mov esi, ebx
test ebx, ebx
mov ebx, dword [0x6074a0]
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], esi
je 0x4f18d5
push dword [esp + 0x10]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 0x24]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
cmp eax, edx
je 0x4f1918
lea ecx, [eax + 0x1c]
mov dword [esp + 0x90], ecx
movzx ecx, word [eax]
cmp cx, 8
jne 0x4f0f70
mov ecx, eax
mov eax, edx
add ecx, 0x1c
jmp 0x4f191a
mov ecx, eax
sub eax, ecx
mov edx, 0x24924925
shr eax, 2
mul edx
call fcn.004cc220
cmp dword [esp + 0x8c], 0
je 0x4f194a
mov eax, dword [0x6074a0]
push dword [esp + 0x88]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 0x30]
movq xmm0, qword [esp + 0x34]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4f1a74
mov dword [esp + 0x114], eax
movq qword [esp + 0x118], xmm0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x114]
call fcn.004f0b80
mov edx, dword [esp + 0x20]
cmp edx, dword [esp + 0x1c]
jne 0x4f199b
lea ecx, [esp + 0x18]
call fcn.004cea00
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x54]
lea ecx, [edx + edx*8]
lea ecx, [ecx + ecx*2]
add ecx, edx
inc edx
mov dword [eax + ecx + 0x18], esi
movsd xmm0, qword [esp + 0x4c]
movsd qword [eax + ecx + 0x10], xmm0
movq xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [eax + ecx + 8], xmm1
movq qword [eax + ecx], xmm0
mov dword [esp + 0x20], edx
mov esi, dword [ebp + 8]
cmp edx, 1
je 0x4f1a84
test edx, edx
jne 0x4f1ae6
mov eax, dword [0x6074b4]
mov edi, esi
mov esi, dword [0x6074a0]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x4f1a10
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x4f1e69
mov dword [esi], eax
push 0x2c
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x4f1e69
movaps xmm0, xmmword [0x5b1c00]
mov esi, edi
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 1
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x24], 0x10000
mov byte [eax + 0x28], 0
mov word [edi], 0
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0
jne 0x4f1ad1
jmp 0x4f1e14
mov edx, dword [esp + 0x20]
mov esi, dword [ebp + 8]
cmp edx, 1
jne 0x4f19e3
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
cmp cx, 8
je 0x4f1e84
mov word [esi], cx
movsd xmm0, qword [eax + 2]
movsd xmm1, qword [eax + 0xa]
movsd qword [esi + 2], xmm0
movsd qword [esi + 0xa], xmm1
movsd xmm0, qword [eax + 0x12]
movsd qword [esi + 0x12], xmm0
movzx ecx, word [eax + 0x1a]
mov word [esi + 0x1a], cx
cmp dword [esp + 0x1c], 0
je 0x4f1e14
mov ecx, dword [0x6074a0]
push eax
push 0
push dword [ecx]
call sub.KERNEL32.dll_HeapFree
jmp 0x4f1e14
mov esi, dword [esp + 0x18]
lea eax, [edx + edx*8]
mov bl, 1
mov dword [esp + 0x84], edx
mov dword [esp + 0x64], 0
mov dword [esp + 0xe0], 1
mov dword [esp + 8], 1
mov dword [esp + 0x60], 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
lea eax, [eax + eax*2]
mov dword [esp + 0x10], ebx
mov bl, 1
mov dword [esp + 0xb0], eax
add eax, edx
mov dword [esp + 0x5c], ebx
lea ecx, [esi + eax]
mov dword [esp + 0x68], esi
lea edx, [esi + 0x18]
xor esi, esi
mov dword [esp + 0x58], ecx
mov cl, 1
mov dword [esp + 0xc], ecx
jmp 0x4f1b84
mov ebx, esi
mov dword [esp + 8], 0
mov esi, dword [esp + 0x14]
add edx, 0x1c
or si, word [edi + 0x1c]
add eax, 0xffffffe4
mov dword [esp + 0x14], esi
mov esi, ebx
je 0x4f1ca3
mov edi, dword [edx]
cmp byte [esp + 0xc], 0
je 0x4f1ba0
movzx ecx, byte [edi + 0x26]
mov dword [esp + 0xc], ecx
jmp 0x4f1ba8
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x2c]
add esi, dword [edi + 0x18]
mov ecx, 0xffffffff
cmovb esi, ecx
test ebx, ebx
je 0x4f1c10
cmp dword [edi + 0x10], 0
mov ebx, 0
je 0x4f1bd9
mov ebx, dword [esp + 0x28]
add ebx, dword [edi + 0x14]
cmovb ebx, ecx
mov dword [esp + 0x28], ebx
mov ebx, 1
cmp byte [esp + 0x10], 0
mov dword [esp + 0x2c], ebx
je 0x4f1c1d
movzx ebx, byte [edi + 0x27]
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x5c], 0
je 0x4f1c2c
movzx ebx, byte [edi + 0x28]
mov dword [esp + 0x5c], ebx
cmp dword [esp + 0xe0], 0
jne 0x4f1c3e
xor ebx, ebx
jmp 0x4f1c60
xor ebx, ebx
cmp byte [esp + 0x10], 0
mov dword [esp + 0x2c], ebx
jne 0x4f1be4
mov dword [esp + 0x10], 0
cmp byte [esp + 0x5c], 0
jne 0x4f1bf3
mov dword [esp + 0x5c], 0
cmp dword [esp + 0xe0], 0
je 0x4f1c05
cmp dword [edi], 0
mov ebx, 0
je 0x4f1c60
mov ecx, dword [esp + 0x64]
mov ebx, 0xffffffff
add ecx, dword [edi + 4]
cmovb ecx, ebx
mov ebx, 1
mov dword [esp + 0x64], ecx
cmp dword [esp + 8], 0
mov dword [esp + 0xe0], ebx
je 0x4f1b60
cmp dword [edi + 8], 0
je 0x4f1c9c
mov ebx, esi
mov esi, dword [esp + 0x60]
xor ecx, ecx
add esi, dword [edi + 0xc]
cmovb esi, dword [esp + 0x24]
setae cl
mov dword [esp + 8], ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x24], esi
jmp 0x4f1b6a
mov ebx, esi
jmp 0x4f1b62
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x24], 0
xor ebx, ebx
add ecx, dword [esp + 0x84]
nop word cs:[eax + eax]
nop dword [eax]
test ecx, ecx
je 0x4f1d09
mov eax, dword [edi + 0x18]
or bx, word [eax + 0x1e]
mov edx, ebx
mov ebx, dword [esp + 0x24]
or bx, word [eax + 0x22]
cmp dword [eax + 8], 0
mov dword [esp + 0x24], ebx
je 0x4f1d03
mov ebx, edx
add edi, 0x1c
add ecx, 0xffffffe4
cmp dword [eax + 0xc], 0
mov edx, dword [esp + 0x58]
je 0x4f1cd0
jmp 0x4f1d09
mov ebx, edx
mov edx, dword [esp + 0x58]
imul eax, dword [esp + 0x84], 0xffffffe4
mov dword [esp + 0x68], esi
xor edi, edi
xor esi, esi
nop dword [eax]
test eax, eax
je 0x4f1d41
mov ecx, dword [edx - 4]
or si, word [ecx + 0x20]
or di, word [ecx + 0x24]
cmp dword [ecx + 8], 0
je 0x4f1d41
add edx, 0xffffffe4
add eax, 0x1c
cmp dword [ecx + 0xc], 0
je 0x4f1d20
mov eax, dword [0x6074b4]
movzx eax, byte [eax]
mov eax, dword [0x6074a0]
mov eax, dword [eax]
test eax, eax
jne 0x4f1d69
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x4f1e69
mov ecx, dword [0x6074a0]
mov dword [ecx], eax
push 0x2c
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x4f1e69
mov ecx, dword [esp + 0xe0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov word [eax + 0x1c], cx
mov ecx, dword [esp + 0x24]
mov word [eax + 0x1e], bx
mov word [eax + 0x20], si
mov esi, dword [ebp + 8]
mov word [eax + 0x22], cx
mov ecx, dword [esp + 0xc]
mov word [eax + 0x24], di
mov byte [eax + 0x26], cl
mov ecx, dword [esp + 0x10]
mov byte [eax + 0x27], cl
mov ecx, dword [esp + 0x5c]
mov byte [eax + 0x28], cl
mov word [esi], 6
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
mov dword [esp + 0x46], ecx
movsd qword [esp + 0x3e], xmm0
movsd xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x42]
movsd qword [esi + 2], xmm0
movsd qword [esi + 8], xmm1
mov dword [esi + 0x18], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2c
push 4
call fcn.0041a8c0
add esp, 8
jmp 0x4f1e9f
push 0x2c
push 4
call fcn.0041a8c0
add esp, 8
jmp 0x4f1e9f
push 0x2c
push 4
call fcn.0041a8c0
add esp, 8
jmp 0x4f1e9f
push esi
push 1
call fcn.0041a8c0
add esp, 8
jmp 0x4f1e9f
call fcn.0041a880
jmp 0x4f1e9f
push ecx
push 1
call fcn.0041a8c0
add esp, 8
jmp 0x4f1e9f
push 0x2c
push 4
call fcn.0041a8c0
add esp, 8
jmp 0x4f1e9f
push ebx
push 1
call fcn.0041a8c0
add esp, 8
jmp 0x4f1e9f
push 0x5b440c
push 0x2b
push 0x5b1f48
call fcn.004251d0
add esp, 0xc
jmp 0x4f1e9f
call fcn.0041a880
ud2