Function at 0x437dd0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov eax, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov esi, dword [edx]
mov edi, dword [edx + 8]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0xa0], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x118], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x84], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x138], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x134], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x140], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x13c], eax
mov eax, dword [edx + 0x38]
mov dword [esp + 0x88], eax
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x94], eax
movzx eax, byte [0xfd520c]
cmp al, 2
jne 0x438085
lea ecx, [esp + 0x58]
mov edx, esi
mov dword [esp + 0x44], esi
push 0
push 0x10001
push 0x1000
push 0x800
mov dword [esp + 0x9c], ebx
push ebx
mov dword [esp + 0x20], edi
push edi
mov edi, dword [esp + 0xb8]
push edi
call fcn.00439560
add esp, 0x1c
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x148], eax
mov dword [esp + 0x144], ecx
or eax, ecx
mov ecx, dword [esp + 0x60]
je 0x43806d
mov eax, dword [esp + 0x74]
movq xmm0, qword [esp + 0x78]
mov esi, dword [esp + 0x44]
test edi, edi
mov dword [esp + 0x9c], eax
je 0x438017
cmp byte [esi], 0
je 0x438017
mov dword [esp + 0xcc], esi
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x8c], 0
mov dword [esp + 0xd0], edi
je 0x438017
mov edi, dword [esp + 0xc]
cmp byte [edi], 0
mov edi, dword [esp + 0x8c]
je 0x438017
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x44], eax
movdqa xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x58], 0
lea edx, [esp + 0xe8]
mov dword [esp + 0xe8], ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xec], edi
push 0x43a690
push 0x43a680
lea edi, [esp + 0x60]
push edi
call fcn.00439a90
add esp, 0xc
mov ecx, dword [esp + 0x58]
mov eax, 2
cmp ecx, 0x80
jb 0x437fba
mov eax, 3
cmp ecx, 0x100
jb 0x437fba
mov eax, 4
cmp ecx, 0x10000
jae 0x4383cc
mov dword [esp + 0x58], eax
lea ecx, [esp + 0xcc]
lea edx, [esp + 0xe8]
push 0x43a690
push 0x43a680
push edi
call fcn.00439a90
add esp, 0xc
mov ebx, dword [esp + 0x58]
test ebx, ebx
js 0x4383cc
mov dword [esp + 0x8c], esi
je 0x43808f
movzx eax, byte [0xfd520d]
xor ecx, ecx
mov edx, ebx
call fcn.00494530
mov esi, eax
test eax, eax
jne 0x438094
jmp 0x4383cc
test edx, edx
je 0x43803c
push ecx
push 0
push dword [0xfd5200]
movdqa xmmword [esp + 0xac], xmm0
call dword [sym.imp.KERNEL32.dll_HeapFree]
movdqa xmm0, xmmword [esp + 0xa0]
movd eax, xmm0
mov ecx, 0xf91d66
mov edx, 0xf
test eax, eax
je 0x43806d
push dword [esp + 0x9c]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, 0xf
mov ecx, 0xf91d66
mov eax, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004e8de0
jmp 0x437e70
mov esi, 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x11c], 0
lea eax, [esp + 0x11c]
lea ecx, [esp + 0xcc]
lea edx, [esp + 0xe8]
push 0x43a690
push 0x43a680
push eax
call fcn.00439a90
add esp, 0xc
test ebx, ebx
mov ebx, dword [esp + 0x11c]
jne 0x4380f3
lea ecx, [esp + 0x58]
call fcn.00433600
mov esi, dword [esp + 0x5c]
mov byte [esi], 0x30
mov esi, 1
cmp ebx, 0x80
mov dword [esp + 0x60], 1
jb 0x43816e
cmp ebx, 0x100
jae 0x438117
mov cl, 0x81
jmp 0x43814a
cmp ebx, 0x10000
jae 0x4383cc
cmp dword [esp + 0x58], 1
jne 0x438133
lea ecx, [esp + 0x58]
call fcn.00433600
mov eax, dword [esp + 0x5c]
mov esi, 2
mov cl, bh
mov byte [eax + 1], 0x82
mov dword [esp + 0x60], 2
cmp esi, dword [esp + 0x58]
jne 0x438162
mov byte [esp + 0xc], cl
lea ecx, [esp + 0x58]
call fcn.00433600
movzx ecx, byte [esp + 0xc]
mov eax, dword [esp + 0x5c]
mov byte [eax + esi], cl
inc esi
mov dword [esp + 0x60], esi
cmp esi, dword [esp + 0x58]
jne 0x43817d
lea ecx, [esp + 0x58]
call fcn.00433600
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0xcc]
lea edx, [esp + 0xe8]
mov byte [eax + esi], bl
inc esi
mov dword [esp + 0x60], esi
push 0x434060
push 0x434030
push edi
call fcn.00439a90
add esp, 0xc
mov esi, dword [esp + 0x60]
cmp dword [esp + 0x64], esi
jne 0x4383cc
mov ebx, dword [esp + 0x5c]
cmp dword [esp + 0x58], esi
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
movdqa xmm0, xmmword [esp + 0xa0]
mov eax, dword [esp + 0x44]
jbe 0x438234
test esi, esi
je 0x43820b
push esi
push ebx
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebx, eax
test eax, eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
movdqa xmm0, xmmword [esp + 0xa0]
mov eax, dword [esp + 0x44]
jne 0x438234
jmp 0x4383cc
push ebx
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
movdqa xmm0, xmmword [esp + 0xa0]
mov eax, dword [esp + 0x44]
mov ebx, 1
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov edi, dword [esp + 0x114]
mov dword [esp + 0xc0], eax
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], eax
je 0x4383a1
mov eax, dword [esp + 0x20]
mov ecx, 0xf
cmp byte [eax], 0
je 0x4383b0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ebx
lea ecx, [eax + 3]
mov edi, ecx
and edi, 0xfffffffc
cmp edi, 0x7ffffffd
jae 0x4383cc
mov ebx, 4
test edi, edi
mov eax, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0xc], ecx
je 0x4382d5
mov ecx, 8
mov edx, edi
call fcn.00494530
test eax, eax
je 0x4383cc
movdqa xmm0, xmmword [esp + 0xa0]
mov ecx, dword [esp + 0xc]
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
xor edx, edx
shr esi, 2
mov dword [esp + 0x40], esi
mov eax, ecx
and eax, 3
cmovne ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0xc]
setne dl
shr eax, 2
add edx, eax
cmp edx, esi
ja 0x4384b4
mov eax, edx
cmp ecx, 4
jb 0x43832d
push edi
push 0
push dword [esp + 0x20]
mov esi, eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x18]
movdqa xmm0, xmmword [esp + 0xac]
mov eax, esi
add esp, 0xc
test eax, eax
je 0x4383ba
mov dword [esp + 0x3c], eax
dec eax
cmp eax, dword [esp + 0x40]
jae 0x4383be
mov cl, 1
xor eax, eax
xor edi, edi
mov byte [esp + 0x1c], cl
mov ecx, dword [esp + 0x30]
mov esi, 0
sub ecx, eax
cmovb ecx, esi
jbe 0x4384a2
lea edx, [edi + 1]
dec ebx
mov dword [esp + 0x10], edx
xor edx, edx
mov esi, dword [esp + 0x20]
shl edx, 8
movzx esi, byte [esi + eax]
inc eax
or edx, esi
sub ebx, 1
jb 0x438380
dec ecx
jne 0x438368
jmp 0x4383ce
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
not edi
mov ebx, 4
add edi, esi
mov dword [ecx + edi*4], edx
mov edi, dword [esp + 0x10]
cmp edi, esi
setb cl
jne 0x438346
jmp 0x4383d3
mov ecx, 0xf
mov edi, 0xf91d66
jmp 0x4384f8
mov edi, 0xf91d75
jmp 0x4384f8
xor eax, eax
jmp 0x4383e0
mov eax, dword [esp + 0x30]
dec ebx
dec eax
cmp ebx, eax
ja 0x4384b4
ud2
movzx ecx, byte [esp + 0x1c]
test cl, 1
mov ecx, dword [esp + 0xc]
jne 0x4384b4
cmp eax, dword [esp + 0x30]
jne 0x4384b4
cmp ecx, 0x403
jbe 0x43840a
mov ebx, dword [esp + 0x4c]
mov ecx, 8
mov edi, 0xf91d94
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
jmp 0x438459
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
cmp ecx, 0x10
jae 0x438435
mov esi, ecx
mov edx, dword [esp + 0x38]
mov ecx, 0xf
mov edi, 0xf91d66
cmp esi, 4
mov esi, dword [esp + 0x34]
jae 0x438459
jmp 0x4384f8
mov esi, dword [esp + 0x40]
push esi
push eax
mov edi, eax
call fcn.004e4430
add esp, 8
test eax, eax
je 0x43847f
mov esi, dword [esp + 0x34]
mov eax, edi
mov ecx, 0x10
mov edi, 0xf91d84
mov dword [esp + 0x44], ecx
push eax
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x44]
movdqa xmm0, xmmword [esp + 0xa0]
mov edx, dword [esp + 0x38]
jmp 0x4384f8
push esi
push 3
push edi
call fcn.004e45a0
add esp, 0xc
test eax, eax
je 0x438561
mov ecx, 0xf
mov edi, 0xf91d66
jmp 0x438400
movzx ecx, byte [esp + 0x1c]
test cl, 1
mov ecx, dword [esp + 0xc]
je 0x4383e0
mov edi, 0xf91d66
cmp ecx, 4
jae 0x4384cc
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
jmp 0x4384f3
push dword [esp + 0x18]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movdqa xmm0, xmmword [esp + 0xa0]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
mov ecx, 0xf
mov eax, dword [esp + 0x28]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax], 0
mov eax, dword [esp + 0x54]
test edx, edx
je 0x438528
push eax
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movdqa xmm0, xmmword [esp + 0xa0]
movd eax, xmm0
test eax, eax
je 0x438545
push dword [esp + 0x9c]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
je 0x43807d
push ebx
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x43807d
mov edi, dword [esp + 0x18]
push dword [edi + 4]
push dword [edi]
call fcn.004e58f0
add esp, 8
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x40]
mov ecx, edi
mov esi, eax
call fcn.00439bb0
mov dword [esp + 0xe8], esi
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xf0], eax
mov edx, esi
mov dword [esp + 0xec], ecx
shr edx, 1
sub esi, edx
cmp esi, eax
jne 0x4385c7
test eax, 0x1ff
mov dword [esp + 0x20], eax
je 0x438600
mov dword [esp + 0x44], 0x25
mov edi, 0xf92718
jmp 0x4385d4
mov edi, 0xf92190
mov dword [esp + 0x44], 0x16
mov esi, dword [esp + 0x34]
push dword [esp + 0x18]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x38]
movdqa xmm0, xmmword [esp + 0xa0]
mov ecx, dword [esp + 0x44]
jmp 0x4384f8
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0xec]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x110], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x20]
and ecx, 0x7fc
mov dword [esp + 0x68], edx
mov dword [esp + 0x3c], ecx
je 0x438667
mov edx, dword [esp + 0x3c]
mov ecx, 8
call fcn.00494530
test eax, eax
mov dword [esp + 0x30], eax
jne 0x43866f
jmp 0x4383cc
mov dword [esp + 0x30], 4
xor eax, eax
cmp dword [esp + 0xc], 0x20
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
jb 0x4386bc
mov eax, edi
xor ecx, ecx
pcmpeqd xmm0, xmm0
and eax, 0x1f8
movdqu xmm1, xmmword [esi + ecx*4]
movdqu xmm2, xmmword [esi + ecx*4 + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [ebx + ecx*4], xmm1
movdqu xmmword [ebx + ecx*4 + 0x10], xmm2
add ecx, 8
cmp eax, ecx
jne 0x438691
mov edi, dword [esp + 0x40]
jmp 0x4386c5
mov ecx, dword [esi + eax*4]
not ecx
mov dword [ebx + eax*4], ecx
inc eax
cmp edi, eax
jne 0x4386bc
mov esi, dword [esp + 0x20]
mov eax, edi
or byte [ebx], 1
shl eax, 5
sub esi, eax
je 0x4386eb
push edi
push dword [esp + 0x1c]
push ebx
push ebx
call fcn.004e46c0
add esp, 0x10
inc esi
jne 0x4386d9
mov esi, edi
push edi
push dword [esp + 0x1c]
push ebx
push ebx
call fcn.004e46c0
add esp, 0x10
dec esi
jne 0x4386ed
push edi
lea esi, [esp + 0x64]
push esi
mov esi, dword [esp + 0x20]
push esi
push ebx
push ebx
push ebx
call fcn.004d4200
add esp, 0x18
push edi
lea eax, [esp + 0x64]
push eax
push esi
push ebx
push ebx
push ebx
call fcn.004d4200
add esp, 0x18
push edi
lea eax, [esp + 0x64]
push eax
push esi
push ebx
push ebx
push ebx
call fcn.004d4200
add esp, 0x18
push edi
lea eax, [esp + 0x64]
push eax
push esi
push ebx
push ebx
push ebx
call fcn.004d4200
add esp, 0x18
push edi
lea eax, [esp + 0x64]
push eax
push esi
push ebx
push ebx
push ebx
call fcn.004d4200
add esp, 0x18
cmp dword [esp + 0x24], 0
je 0x438899
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], 0xf
cmp byte [eax], 0
je 0x4388a8
mov eax, dword [esp + 0x24]
lea edi, [eax + 3]
mov dword [esp + 0x1c], edi
and edi, 0xfffffffc
cmp edi, 0x7ffffffd
jae 0x4383cc
mov ebx, 4
test edi, edi
mov dword [esp + 0x10], 4
je 0x4387c0
mov ecx, 8
mov edx, edi
call fcn.00494530
test eax, eax
mov dword [esp + 0x10], eax
je 0x4383cc
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov eax, esi
shr edx, 2
mov esi, esi
and eax, 3
mov dword [esp + 0x14], edx
setne cl
cmovne ebx, eax
shr esi, 2
add ecx, esi
cmp ecx, edx
mov dword [esp + 0x90], ecx
ja 0x4388e2
cmp dword [esp + 0x1c], 4
jb 0x438808
push edi
push 0
push dword [esp + 0x18]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esp + 0x90], 0
je 0x4388af
mov eax, dword [esp + 0x90]
dec eax
cmp eax, dword [esp + 0x14]
jae 0x4388d4
xor eax, eax
xor edi, edi
mov byte [esp + 0x98], 1
mov ecx, dword [esp + 0x24]
mov edx, 0
sub ecx, eax
cmovb ecx, edx
jbe 0x43888d
lea edx, [edi + 1]
dec ebx
mov dword [esp + 0x2c], edx
xor edx, edx
mov esi, dword [esp + 0x50]
shl edx, 8
movzx esi, byte [esi + eax]
inc eax
or edx, esi
sub ebx, 1
jb 0x438866
dec ecx
jne 0x43884e
jmp 0x43888d
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x10]
not edi
mov ebx, 4
add edi, esi
mov dword [ecx + edi*4], edx
mov edi, dword [esp + 0x2c]
cmp edi, esi
setb byte [esp + 0x98]
jne 0x438834
test byte [esp + 0x98], 1
je 0x4388b1
jmp 0x4388e2
mov dword [esp + 0xc], 0xf
mov edi, 0xf91d66
jmp 0x438900
mov edi, 0xf91d75
jmp 0x438900
xor eax, eax
cmp eax, dword [esp + 0x24]
jne 0x4388e2
cmp dword [esp + 0x1c], 0x403
jbe 0x438950
mov dword [esp + 0xc], 8
mov edi, 0xf91d94
jmp 0x4388ee
mov eax, dword [esp + 0x24]
dec ebx
dec eax
cmp ebx, eax
jbe 0x4383cc
cmp dword [esp + 0x1c], 4
mov edi, 0xf91d66
jb 0x438900
push dword [esp + 0x10]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax], 0
mov ebx, dword [esp + 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x18]
push 0
push dword [0xfd5200]
call esi
push dword [esp + 0x30]
push 0
push dword [0xfd5200]
call esi
mov esi, dword [esp + 0x34]
movdqa xmm0, xmmword [esp + 0xa0]
mov edx, dword [esp + 0x38]
jmp 0x438508
cmp dword [esp + 0x1c], 0x10
jae 0x43896d
mov dword [esp + 0xc], 0xf
cmp dword [esp + 0x1c], 4
mov edi, 0xf91d66
jae 0x4388ee
jmp 0x438900
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.004e4430
add esp, 8
test eax, eax
je 0x438993
mov dword [esp + 0xc], 0x10
mov edi, 0xf91d84
jmp 0x4388ee
push dword [esp + 0x14]
push 3
push dword [esp + 0x18]
call fcn.004e45a0
add esp, 0xc
test eax, eax
je 0x4389bb
mov dword [esp + 0xc], 0xf
mov edi, 0xf91d66
jmp 0x4388ee
mov esi, dword [esp + 0x10]
push dword [esi + 4]
push dword [esi]
call fcn.004e58f0
add esp, 8
mov ebx, edx
mov edx, dword [esp + 0x14]
mov ecx, esi
mov edi, eax
call fcn.00439bb0
cmp dword [esp + 0x20], eax
mov dword [esp + 0xe8], edi
mov dword [esp + 0xf0], eax
mov dword [esp + 0xec], ebx
jne 0x438a5c
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xec]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], edx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x20]
and ecx, 0x7fc
mov dword [esp + 0x68], edx
mov dword [esp + 0xc], ecx
je 0x438a80
mov edx, dword [esp + 0xc]
mov ecx, 8
call fcn.00494530
test eax, eax
je 0x4383cc
mov edi, eax
jmp 0x438a85
push dword [esp + 0x10]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, 0xf92190
mov dword [esp + 0xc], 0x16
jmp 0x438900
mov edi, 4
xor eax, eax
cmp dword [esp + 0x1c], 0x20
jb 0x438ac8
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
xor ecx, ecx
pcmpeqd xmm0, xmm0
and eax, 0x1f8
movdqu xmm1, xmmword [edx + ecx*4]
movdqu xmm2, xmmword [edx + ecx*4 + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [edi + ecx*4], xmm1
movdqu xmmword [edi + ecx*4 + 0x10], xmm2
add ecx, 8
cmp eax, ecx
jne 0x438aa1
jmp 0x438ad5
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + eax*4]
not ecx
mov dword [edi + eax*4], ecx
inc eax
cmp dword [esp + 0x14], eax
jne 0x438ac8
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
or byte [edi], 1
shl eax, 5
sub esi, eax
je 0x438b02
push dword [esp + 0x14]
push dword [esp + 0x14]
push edi
push edi
call fcn.004e46c0
add esp, 0x10
inc esi
jne 0x438aed
mov esi, dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push edi
push edi
call fcn.004e46c0
add esp, 0x10
dec esi
jne 0x438b06
mov esi, dword [esp + 0x14]
push esi
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x18]
push edi
push edi
push edi
call fcn.004d4200
add esp, 0x18
push esi
lea eax, [esp + 0x64]
push eax
mov esi, dword [esp + 0x18]
push esi
push edi
push edi
push edi
call fcn.004d4200
add esp, 0x18
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push eax
push esi
push edi
push edi
push edi
call fcn.004d4200
add esp, 0x18
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push eax
push esi
push edi
push edi
push edi
call fcn.004d4200
add esp, 0x18
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push eax
push esi
push edi
push edi
push edi
call fcn.004d4200
add esp, 0x18
mov eax, dword [esp + 0x20]
cmp dword [esp + 0xc8], eax
jb 0x438bc3
mov ecx, dword [esp + 0xbc]
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x50], ecx
jne 0x438be0
push dword [esp + 0x14]
push dword [esp + 0xbc]
push dword [esp + 0x18]
call fcn.004e4560
add esp, 0xc
cmp eax, 0xffffffff
je 0x438be0
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0xf92190
mov dword [eax + 8], 0x16
mov dword [eax], 0
jmp 0x438caa
cmp dword [esp + 0x50], 0x3fffffff
ja 0x4383cc
mov eax, dword [esp + 0x50]
lea edx, [eax*4]
cmp edx, 0x7ffffffd
jae 0x4383cc
test edx, edx
je 0x438c20
mov ecx, 8
call fcn.00494530
test eax, eax
mov dword [esp + 0x24], eax
jne 0x438c28
jmp 0x4383cc
mov dword [esp + 0x24], 4
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x14], eax
ja 0x4383cc
push dword [esp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
cmp dword [esp + 0xc8], eax
jb 0x438c80
mov esi, dword [esp + 0xbc]
cmp dword [esp + 0x40], esi
jne 0x438cce
push dword [esp + 0x40]
push dword [esp + 0xbc]
push dword [esp + 0x20]
call fcn.004e4560
add esp, 0xc
cmp eax, 0xffffffff
je 0x438cce
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0xf92190
mov dword [eax + 8], 0x16
mov dword [eax], 0
push dword [esp + 0x24]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x10]
push 0
push dword [0xfd5200]
call esi
push edi
push 0
push dword [0xfd5200]
call esi
jmp 0x438914
cmp esi, 0x3fffffff
ja 0x4383cc
lea edx, [esi*4]
cmp edx, 0x7ffffffd
jae 0x4383cc
test edx, edx
je 0x438d08
mov ecx, 8
call fcn.00494530
test eax, eax
mov dword [esp + 0xc], eax
jne 0x438d10
jmp 0x4383cc
mov dword [esp + 0xc], 4
cmp dword [esp + 0x40], esi
ja 0x4383cc
push dword [esp + 0x3c]
push dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x5c]
push dword [esp + 0xa8]
push ebx
push ebx
call fcn.004d4200
add esp, 0x18
push esi
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x30]
push ebx
push ebx
call fcn.004d4200
add esp, 0x18
push esi
push ebx
call fcn.004e4460
add esp, 8
cmp eax, 0xffffffff
je 0x438d8e
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0xf92190
mov dword [eax + 8], 0x16
jmp 0x439025
cmp dword [esp + 0x84], 0
je 0x439013
mov eax, dword [esp + 0x118]
cmp byte [eax], 0
je 0x439013
mov eax, dword [esp + 0x84]
lea esi, [eax + 3]
mov dword [esp + 0x3c], esi
and esi, 0xfffffffc
cmp esi, 0x7ffffffd
mov dword [esp + 0x1c], esi
jae 0x4383cc
cmp dword [esp + 0x1c], 0
mov ebx, 4
mov dword [esp + 0x2c], 4
je 0x438dfb
mov edx, dword [esp + 0x1c]
mov ecx, 8
call fcn.00494530
test eax, eax
mov dword [esp + 0x2c], eax
je 0x4383cc
mov esi, dword [esp + 0x84]
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov eax, esi
shr edx, 2
and eax, 3
mov dword [esp + 0x80], edx
setne cl
cmovne ebx, eax
shr esi, 2
add ecx, esi
cmp ecx, edx
mov dword [esp + 0xb4], ecx
ja 0x438ffa
cmp dword [esp + 0x3c], 4
jb 0x438e4a
push dword [esp + 0x1c]
push 0
push dword [esp + 0x34]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esp + 0xb4], 0
je 0x438ef4
mov eax, dword [esp + 0xb4]
dec eax
cmp eax, dword [esp + 0x80]
jae 0x438fe9
xor eax, eax
mov byte [esp + 0x4b], 1
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x84]
mov edx, 0
sub ecx, eax
cmovb ecx, edx
jbe 0x438ee8
mov edx, dword [esp + 0x1c]
dec ebx
inc edx
mov dword [esp + 0x130], edx
xor edx, edx
mov esi, dword [esp + 0x118]
shl edx, 8
movzx esi, byte [esi + eax]
inc eax
or edx, esi
sub ebx, 1
jb 0x438eb9
dec ecx
jne 0x438e9e
jmp 0x438ee8
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xb4]
mov ecx, dword [esp + 0x2c]
not ebx
add ebx, esi
mov dword [ecx + ebx*4], edx
mov edx, dword [esp + 0x130]
mov ebx, 4
cmp edx, esi
mov dword [esp + 0x1c], edx
setb byte [esp + 0x4b]
jne 0x438e7c
test byte [esp + 0x4b], 1
je 0x438ef6
jmp 0x438ffa
xor eax, eax
cmp eax, dword [esp + 0x84]
jne 0x438ffa
cmp dword [esp + 0x3c], 0x403
ja 0x439001
cmp dword [esp + 0x3c], 0x10
jb 0x438ffa
push dword [esp + 0x80]
push dword [esp + 0x30]
call fcn.004e4430
add esp, 8
test eax, eax
jne 0x439001
push dword [esp + 0x80]
push 3
push dword [esp + 0x34]
call fcn.004e45a0
add esp, 0xc
test eax, eax
jne 0x439001
mov esi, dword [esp + 0x2c]
push dword [esi + 4]
push dword [esi]
call fcn.004e58f0
add esp, 8
mov edx, dword [esp + 0x80]
mov ecx, esi
call fcn.00439bb0
cmp eax, dword [esp + 0x20]
jbe 0x438fb9
cmp eax, dword [esp + 0xc8]
ja 0x438fb9
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0xbc]
jne 0x439090
push dword [esp + 0x80]
push dword [esp + 0xbc]
push dword [esp + 0x34]
call fcn.004e4560
add esp, 0xc
cmp eax, 0xffffffff
je 0x439090
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0xf92190
mov dword [eax + 8], 0x16
mov bh, 1
mov bl, 1
mov dword [eax], 0
push dword [esp + 0x2c]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x43902f
mov eax, dword [esp + 0x84]
dec ebx
dec eax
cmp ebx, eax
jbe 0x4383cc
cmp dword [esp + 0x3c], 4
jb 0x439013
push dword [esp + 0x2c]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0xf91d84
mov dword [eax + 8], 0x10
mov dword [eax], 0
mov bh, 1
mov bl, 1
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0xc]
push 0
push dword [0xfd5200]
call esi
push dword [esp + 0x24]
push 0
push dword [0xfd5200]
call esi
test bh, bh
je 0x43906e
push dword [esp + 0x10]
push 0
push dword [0xfd5200]
call esi
push edi
push 0
push dword [0xfd5200]
call esi
test bl, bl
mov edx, dword [esp + 0x38]
movdqa xmm0, xmmword [esp + 0xa0]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x4c]
je 0x438508
jmp 0x438918
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], esi
mov dword [esp + 0x124], ecx
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x12c], ecx
mov ecx, dword [esp + 0x88]
push esi
push eax
call fcn.00439f80
add esp, 8
test eax, eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x88], eax
je 0x43919b
lea eax, [esp + 0x124]
push dword [esp + 0x94]
push eax
push dword [esp + 0x20]
push dword [esp + 0x3c]
mov eax, dword [esp + 0x98]
push eax
push eax
call fcn.004d4200
add esp, 0x18
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
push dword [esp + 0x20]
lea esi, [esp + 0x120]
push esi
call fcn.0043a140
add esp, 8
mov ebx, eax
mov dword [esp + 0x50], edx
push edx
lea eax, [esp + 0x128]
push eax
push dword [esp + 0x20]
push dword [esp + 0x3c]
push ebx
push ebx
call fcn.004d4200
add esp, 0x18
mov ecx, dword [esp + 0x88]
mov edx, ebx
push esi
push dword [esp + 0x54]
call fcn.0043a210
add esp, 8
mov ebx, eax
test al, al
je 0x4391b2
mov eax, dword [esp + 0x28]
mov bh, 1
mov dword [eax + 4], 0xf92190
mov dword [eax + 8], 0x16
mov dword [eax], 0
jmp 0x439444
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0xf91d84
mov dword [eax + 8], 0x10
jmp 0x438fcb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x10c]
mov edx, dword [esp + 0x110]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], edx
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], ecx
lea ecx, [esp + 0x58]
lea edx, [esp + 0xcc]
push dword [esp + 0x134]
push dword [esp + 0x13c]
call fcn.0043a260
add esp, 8
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
test edx, edx
sete bh
je 0x439416
movq xmm0, qword [esp + 0x74]
movq xmm2, qword [esp + 0x64]
movq xmm1, qword [esp + 0x6c]
mov esi, dword [esp + 0x98]
movq qword [esp + 0x104], xmm0
movq qword [esp + 0xfc], xmm1
movq qword [esp + 0xf4], xmm2
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x90]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], edi
mov dword [esp + 0xe4], ecx
lea ecx, [esp + 0x58]
lea edx, [esp + 0xcc]
push dword [esp + 0x13c]
push dword [esp + 0x144]
call fcn.0043a370
add esp, 8
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
test edx, edx
je 0x439428
movsd xmm0, qword [esp + 0x74]
mov edi, dword [esp + 0x28]
movsd xmm1, qword [esp + 0x6c]
mov esi, dword [esp + 0x108]
movsd qword [edi + 0x78], xmm0
movsd xmm0, qword [esp + 0x64]
movsd qword [edi + 0x70], xmm1
movq xmm1, qword [esp + 0xf0]
movsd qword [edi + 0x68], xmm0
movsd xmm0, qword [esp + 0x100]
mov dword [edi + 0x58], esi
mov esi, dword [esp + 0x88]
movq qword [edi + 0x40], xmm1
movsd qword [edi + 0x50], xmm0
movsd xmm0, qword [esp + 0xf8]
movsd qword [edi + 0x48], xmm0
movsd xmm0, qword [esp + 0xe8]
movsd qword [edi + 0x38], xmm0
mov dword [edi], esi
mov esi, dword [esp + 0x94]
movdqa xmm0, xmmword [esp + 0xa0]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x144]
mov dword [edi + 0xc], esi
mov esi, dword [esp + 0x148]
mov dword [edi + 8], esi
mov esi, dword [esp + 0x54]
mov dword [edi + 0x10], esi
mov esi, dword [esp + 0x38]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x114]
mov dword [edi + 0x1c], esi
mov esi, dword [esp + 0x44]
mov dword [edi + 0x18], esi
mov esi, dword [esp + 0x8c]
mov dword [edi + 0x20], esi
mov esi, dword [esp + 0x9c]
mov dword [edi + 0x24], esi
mov esi, dword [esp + 0x4c]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x30], esi
mov esi, dword [esp + 0x34]
mov dword [edi + 0x34], esi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [edi + 0x5c], edx
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], ecx
push dword [esp + 0x2c]
push 0
push dword [0xfd5200]
call esi
push dword [esp + 0xc]
push 0
push dword [0xfd5200]
call esi
push dword [esp + 0x24]
push 0
push dword [0xfd5200]
call esi
jmp 0x43807d
mov edx, dword [esp + 0x28]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx], 0
jmp 0x439444
mov edx, dword [esp + 0x28]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
lea ecx, [esp + 0xe8]
mov dword [edx], 0
call fcn.0043a630
cmp dword [esp + 0x94], 0
je 0x438fd5
push dword [esp + 0x88]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x438fd5