Function at 0x437180
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, 0x600
movzx eax, byte [0x77618c]
mov edi, ecx
cmp al, 2
jne 0x4374c7
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, esi
and eax, 7
shr ecx, 3
cmp eax, 1
mov al, 1
sbb ecx, 0xffffffff
cmp ecx, dword [ebp + 0x1c]
jne 0x438291
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], edi
mov edi, dword [ebp + 0x10]
push edx
mov dword [esp + 0x1c], edx
call dword [eax + 0x10]
add esp, 4
xorps xmm0, xmm0
lea ebx, [esp + 0x80]
mov edx, edi
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
mov ecx, ebx
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x100], xmm0
movsd qword [esp + 0x108], xmm1
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x110], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x118], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0x120], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x128], xmm0
movsd xmm0, qword [eax + 0x30]
movsd qword [esp + 0x130], xmm0
movsd xmm0, qword [eax + 0x38]
movsd qword [esp + 0x138], xmm0
mov dword [esp + 0x144], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x148], eax
mov dword [esp + 0x150], 0
push dword [ebp + 0x14]
call fcn.0042fcf0
add esp, 4
lea eax, [esp + 0x1b8]
push 0xd8
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x280]
movaps xmm2, xmmword [esp + 0x130]
movaps xmm1, xmmword [esp + 0x120]
movdqa xmm0, xmmword [esp + 0x140]
mov eax, dword [eax + 0x50]
movaps xmmword [esp + 0x190], xmm2
movaps xmmword [esp + 0x180], xmm1
movdqa xmm2, xmmword [esp + 0x100]
movdqa xmm1, xmmword [esp + 0x110]
movdqa xmmword [esp + 0x1a0], xmm0
cmp eax, 0x81
movdqa xmmword [esp + 0x170], xmm1
movdqa xmmword [esp + 0x160], xmm2
jae 0x4375e7
mov ebx, dword [ebp + 0xc]
lea edi, [esp + 0x5b8]
lea edx, [esp + 0x160]
mov ecx, edi
push dword [esp + 0x288]
push eax
lea eax, [esp + 0x1c0]
push eax
call fcn.0042ff00
add esp, 0xc
push 0x733f6c
push ebx
push esi
mov ebx, dword [ebp + 0x1c]
push ebx
push dword [ebp + 0x18]
push edi
push dword [esp + 0x30]
mov eax, dword [ebp + 8]
call dword [eax + 0x14]
add esp, 0x1c
test al, al
jne 0x43828f
mov edi, dword [esp + 0x30]
mov edx, ebx
mov ebx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x160], ebx
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], ecx
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x16c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x170], esi
push eax
mov dword [esp + 0x70], ebx
push ebx
call fcn.00436a60
add esp, 8
test eax, eax
mov dword [esp + 0x38], eax
je 0x43828f
mov dword [esp + 0x48], edx
mov edx, dword [edi + 0x38]
mov esi, dword [edi + 0x44]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x48]
mov ebx, dword [edi + 0x40]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x8c], esi
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x90], eax
cmp eax, esi
mov dword [esp + 0x54], esi
jne 0x4375e7
mov esi, dword [esp + 0x48]
lea edi, [ecx + ecx]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x18], ecx
cmp edi, esi
jne 0x4375e7
push 0x400
push 0
lea ebx, [esp + 0x1c0]
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp esi, 0x100
ja 0x4375e7
lea esi, [esi*4]
push esi
push dword [esp + 0x3c]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebx, dword [esp + 0x18]
cmp ebx, 0x3fffffff
ja 0x4375e7
lea edx, [ebx*4]
cmp edx, 0x7ffffffd
jae 0x4375e7
test edx, edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], edi
je 0x4374d5
mov ecx, 8
call fcn.00490be0
test eax, eax
jne 0x4374da
jmp 0x4375e7
mov esi, edx
call fcn.004e5020
mov edx, esi
jmp 0x4371a0
mov eax, 4
lea ecx, [esp + 0x88]
push ecx
push ebx
mov edi, dword [esp + 0x64]
push edi
push dword [esp + 0x54]
lea ecx, [esp + 0x1c8]
push ecx
push ebx
push eax
mov esi, eax
call fcn.004e1b50
add esp, 0x1c
cmp eax, 1
jne 0x4375e7
push ebx
lea eax, [esp + 0x8c]
push eax
push edi
mov eax, dword [esp + 0x3c]
push dword [eax + 0x4c]
push esi
mov dword [esp + 0x58], esi
push esi
call fcn.004d03c0
add esp, 0x18
mov esi, dword [esp + 0x84]
mov eax, esi
shl eax, 5
cmp eax, 0x3fffffff
mov dword [esp + 0x40], eax
ja 0x4375e7
mov edx, esi
shl edx, 7
cmp edx, 0x7ffffffd
jae 0x4375e7
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x80]
test edx, edx
mov ecx, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
je 0x43758d
mov ecx, 8
call fcn.00490be0
test eax, eax
je 0x4375e7
mov ebx, eax
mov eax, dword [esp + 0x40]
mov edx, eax
cmp eax, esi
jae 0x43759c
jmp 0x4375e7
mov eax, dword [esp + 0x40]
mov ebx, 4
xor edx, edx
cmp eax, esi
jb 0x4375e7
test esi, esi
je 0x4375e7
xor eax, eax
cmp esi, 8
jb 0x4375e9
mov eax, esi
xor ecx, ecx
pcmpeqd xmm0, xmm0
and eax, 0xfffffff8
nop word cs:[eax + eax]
nop dword [eax]
movdqu xmm1, xmmword [edi + ecx*4]
movdqu xmm2, xmmword [edi + 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 0x4375c0
jmp 0x4375f2
ud2
mov ecx, dword [edi + eax*4]
not ecx
mov dword [ebx + eax*4], ecx
inc eax
cmp esi, eax
jne 0x4375e9
or byte [ebx], 1
mov dword [esp + 0x58], edx
mov edx, edi
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x90]
sub ecx, edi
je 0x43764b
mov eax, dword [ebx + esi*4 - 4]
sub edi, dword [esp + 0x40]
shl eax, cl
shr eax, cl
mov dword [ebx + esi*4 - 4], eax
nop word cs:[eax + eax]
nop dword [eax]
push esi
push edx
push ebx
push ebx
mov ebx, esi
mov esi, edx
call fcn.004e0880
mov edx, esi
mov esi, ebx
mov ebx, dword [esp + 0x38]
add esp, 0x10
inc edi
jne 0x437630
mov eax, esi
mov dword [esp + 0xc], edx
shl eax, 5
sub eax, esi
cmp eax, esi
jb 0x4375e7
mov edi, dword [esp + 0x18]
cmp esi, edi
jne 0x4375e7
mov eax, dword [esp + 0x30]
add eax, 8
mov dword [esp + 0x68], eax
lea eax, [ebx + edi*4]
push dword [esp + 0x4c]
push dword [esp + 0x48]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x40]
mov eax, edi
lea ebx, [ebx + edi*8]
mov dword [esp + 0x2c], edi
mov edx, 2
neg eax
mov dword [esp + 0x1c], eax
sub ecx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, edx
mov eax, 1
mov dword [esp + 0x50], ebx
shr ecx, 1
test dl, 1
cmove eax, ecx
cmp edi, dword [esp + 0x40]
ja 0x4375e7
mov ebx, edx
mov esi, dword [esp + 0x18]
dec edx
test bl, 1
mov dword [esp + 0x10], ebx
cmove edx, ecx
mov ecx, edx
imul ecx, esi
cmp ecx, edi
ja 0x4375e7
imul edx, dword [esp + 0x1c]
add edx, edi
cmp edx, esi
jb 0x4375e7
mov edx, eax
mov dword [esp + 0x14], edi
imul edx, esi
cmp edx, edi
ja 0x4375e7
mov edi, dword [esp + 0x2c]
imul eax, dword [esp + 0x1c]
add edi, esi
add eax, edi
cmp eax, esi
jb 0x4375e7
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x2c], edi
sub eax, esi
cmp eax, esi
mov dword [esp + 0x24], eax
jb 0x4375e7
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc dword [esp + 0x10]
lea ecx, [eax + ecx*4]
add edi, esi
mov dword [esp + 0x60], ecx
lea ecx, [eax + edx*4]
push esi
lea edx, [esp + 0x8c]
push edx
push dword [esp + 0x14]
push ecx
push dword [esp + 0x70]
push ebx
add ebx, dword [esp + 0x64]
call fcn.004d03c0
mov edx, dword [esp + 0x28]
add esp, 0x18
cmp edx, 0x20
jne 0x4376b0
mov edx, dword [esp + 0x4c]
mov ecx, 8
call fcn.00490be0
test eax, eax
je 0x4375e7
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
test edi, edi
je 0x4375e7
mov ecx, edi
mov edx, 0xcccccccd
mov esi, 0x1b
shl ecx, 5
mov eax, ecx
mul edx
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
mov eax, 0x20
sub eax, ecx
test ecx, ecx
cmovne esi, eax
push esi
push 0
push dword [ebx + edi*4 - 4]
call fcn.004e0a00
add esp, 0xc
push eax
mov eax, dword [esp + 0x1c]
mov ebx, eax
push eax
push dword [esp + 0x30]
push dword [esp + 0x50]
call fcn.004e0850
add esp, 0x10
cmp eax, 1
jne 0x4375e7
mov eax, dword [esp + 0x20]
add esi, 0xfffffffb
mov ecx, esi
lea edx, [eax + edi*4]
xor eax, eax
jmp 0x43782c
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
add ecx, 0x20
mov eax, dword [esp + 0x2c]
add edx, 0xfffffffc
cmp edx, dword [esp + 0x20]
je 0x4379eb
mov dword [esp + 0x24], edx
mov edx, dword [edx - 4]
cmp ecx, 0x1c
mov dword [esp + 0x2c], edx
jb 0x437910
push ecx
push eax
push edx
mov dword [esp + 0x20], ecx
call fcn.004e0a00
add esp, 0xc
mov dword [esp + 0x1c], eax
push ebx
lea edi, [esp + 0x8c]
push edi
mov edi, dword [esp + 0x14]
push edi
mov esi, dword [esp + 0x50]
push esi
push esi
push esi
call fcn.004d03c0
add esp, 0x18
push ebx
lea eax, [esp + 0x8c]
push eax
push edi
push esi
push esi
push esi
call fcn.004d03c0
add esp, 0x18
push ebx
lea eax, [esp + 0x8c]
push eax
push edi
push esi
push esi
push esi
call fcn.004d03c0
add esp, 0x18
push ebx
lea eax, [esp + 0x8c]
push eax
push edi
push esi
push esi
push esi
call fcn.004d03c0
add esp, 0x18
push ebx
lea eax, [esp + 0x8c]
push eax
push edi
push esi
push esi
push esi
call fcn.004d03c0
add esp, 0x18
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.004e0850
add esp, 0x10
cmp eax, 1
jne 0x4375e7
mov ebx, dword [esp + 0x14]
add ebx, 0xfffffffb
push dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
push edi
push dword [esp + 0x1c]
push esi
push esi
call fcn.004d03c0
add esp, 0x18
cmp ebx, 0x1f
mov ecx, ebx
jbe 0x437920
jmp 0x437810
mov esi, dword [esp + 0x44]
nop word cs:[eax + eax]
nop
mov dword [esp + 0x14], ecx
push ecx
push dword [esp + 0x30]
call fcn.004e0a20
add esp, 8
mov dword [esp + 0x1c], eax
push dword [esp + 0x18]
lea edi, [esp + 0x8c]
push edi
mov ebx, dword [esp + 0x14]
push ebx
push esi
push esi
push esi
call fcn.004d03c0
add esp, 0x18
push dword [esp + 0x18]
push edi
push ebx
push esi
push esi
push esi
call fcn.004d03c0
add esp, 0x18
push dword [esp + 0x18]
push edi
push ebx
push esi
push esi
push esi
call fcn.004d03c0
add esp, 0x18
push dword [esp + 0x18]
push edi
push ebx
push esi
push esi
push esi
call fcn.004d03c0
add esp, 0x18
push dword [esp + 0x18]
push edi
push ebx
push esi
push esi
push esi
call fcn.004d03c0
add esp, 0x18
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.004e0850
add esp, 0x10
cmp eax, 1
jne 0x4375e7
mov edi, dword [esp + 0x14]
add edi, 0xfffffffb
push dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push esi
push esi
call fcn.004d03c0
add esp, 0x18
cmp edi, 0x20
mov ecx, edi
jb 0x437920
jmp 0x437810
push dword [esp + 0x10]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [esp + 0x1bc]
push 0x3fc
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp ebx, 0x101
mov dword [esp + 0x1b8], 1
jae 0x4375e7
push ebx
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x1c4]
push eax
mov eax, dword [esp + 0x54]
push eax
push eax
call fcn.004d03c0
add esp, 0x18
cmp dword [esp + 0x58], 0
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
je 0x437a6c
push eax
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [edi + 0x5c]
mov esi, dword [edi + 0x60]
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x64]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x8c], ecx
lea ecx, [esi + esi]
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
cmp ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
jne 0x4375e7
push 0x400
push 0
lea edi, [esp + 0x1c0]
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 0x3fffffff
ja 0x4375e7
lea edx, [esi*4]
cmp edx, 0x7ffffffd
jae 0x4375e7
mov ecx, dword [esp + 0x48]
test edx, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], edx
je 0x437b23
mov esi, ecx
mov ecx, 8
call fcn.00490be0
test eax, eax
je 0x4375e7
mov edi, eax
mov eax, ebx
mov ecx, esi
jmp 0x437b2a
mov eax, ebx
mov edi, 4
lea ebx, [esp + 0x88]
push ebx
mov esi, dword [esp + 0x28]
push esi
mov ebx, eax
push eax
push ecx
lea eax, [esp + 0x1c8]
push eax
push esi
push edi
call fcn.004e1b50
add esp, 0x1c
cmp eax, 1
jne 0x4375e7
push esi
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x6c], ebx
push ebx
mov eax, dword [esp + 0x3c]
push dword [eax + 0x70]
push edi
push edi
call fcn.004d03c0
add esp, 0x18
mov esi, dword [esp + 0x84]
mov eax, esi
shl eax, 5
cmp eax, 0x3fffffff
mov dword [esp + 0x3c], eax
ja 0x4375e7
mov edx, esi
shl edx, 7
cmp edx, 0x7ffffffd
jae 0x4375e7
mov eax, dword [esp + 0x30]
test edx, edx
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x74], eax
mov dword [esp + 0xc], ecx
je 0x437be9
mov ecx, 8
call fcn.00490be0
test eax, eax
je 0x4375e7
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xc]
mov ebx, eax
mov eax, ecx
cmp ecx, esi
jae 0x437c00
jmp 0x4375e7
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov ebx, 4
xor eax, eax
cmp ecx, esi
jb 0x4375e7
test esi, esi
mov dword [esp + 0x70], eax
je 0x4375e7
xor eax, eax
cmp esi, 8
mov dword [esp + 0x20], edi
jb 0x437c57
mov eax, esi
xor ecx, ecx
pcmpeqd xmm0, xmm0
and eax, 0xfffffff8
nop word cs:[eax + eax]
nop dword [eax]
movdqu xmm1, xmmword [edx + ecx*4]
movdqu xmm2, xmmword [edx + 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 0x437c30
jmp 0x437c60
mov ecx, dword [edx + eax*4]
not ecx
mov dword [ebx + eax*4], ecx
inc eax
cmp esi, eax
jne 0x437c57
or byte [ebx], 1
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x90]
sub ecx, edi
je 0x437ca3
mov eax, dword [ebx + esi*4 - 4]
sub edi, dword [esp + 0x3c]
shl eax, cl
shr eax, cl
mov dword [ebx + esi*4 - 4], eax
nop word cs:[eax + eax]
push esi
push edx
push ebx
push ebx
call fcn.004e0880
mov edx, dword [esp + 0x1c]
add esp, 0x10
inc edi
jne 0x437c90
mov eax, esi
shl eax, 5
sub eax, esi
cmp eax, esi
jb 0x4375e7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp esi, eax
jne 0x4375e7
mov esi, eax
lea eax, [ebx + eax*4]
push dword [esp + 0x34]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov eax, esi
mov dword [esp + 0x28], ebx
neg eax
mov dword [esp + 0x14], eax
lea eax, [ebx + esi*8]
mov ebx, 2
sub ecx, esi
mov dword [esp + 0x1c], ecx
nop word [eax + eax]
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov eax, 1
shr ecx, 1
test bl, 1
cmove eax, ecx
cmp edi, dword [esp + 0x3c]
ja 0x4375e7
lea edx, [ebx - 1]
test bl, 1
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x24]
cmove edx, ecx
mov ecx, edx
imul ecx, ebx
cmp ecx, edi
ja 0x4375e7
imul edx, dword [esp + 0x14]
add edx, edi
cmp edx, ebx
jb 0x4375e7
mov edx, eax
mov dword [esp + 0x10], edi
imul edx, ebx
cmp edx, edi
ja 0x4375e7
imul eax, dword [esp + 0x14]
add esi, ebx
mov dword [esp + 0x60], esi
add eax, esi
cmp eax, ebx
jb 0x4375e7
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
sub eax, ebx
cmp eax, ebx
mov dword [esp + 0x1c], eax
jb 0x4375e7
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
lea ecx, [eax + ecx*4]
add edi, ebx
lea eax, [eax + edx*4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x50]
inc ecx
push ebx
mov ebx, ecx
lea edx, [esp + 0x8c]
push edx
push dword [esp + 0x14]
push eax
push dword [esp + 0x50]
push esi
add esi, dword [esp + 0x4c]
call fcn.004d03c0
add esp, 0x18
mov eax, esi
mov esi, dword [esp + 0x60]
cmp ebx, 0x20
jne 0x437d00
mov edx, dword [esp + 0x34]
mov ecx, 8
call fcn.00490be0
mov ebx, dword [esp + 0x58]
test eax, eax
je 0x4375e7
mov edi, dword [esp + 0x74]
mov dword [esp + 0x10], eax
test edi, edi
je 0x4375e7
mov ecx, edi
mov edx, 0xcccccccd
mov esi, 0x1b
shl ecx, 5
mov eax, ecx
mul edx
shr edx, 2
lea eax, [edx + edx*4]
sub ecx, eax
mov eax, 0x20
sub eax, ecx
test ecx, ecx
cmovne esi, eax
push esi
push 0
push dword [ebx + edi*4 - 4]
call fcn.004e0a00
add esp, 0xc
push eax
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x2c]
call fcn.004e0850
add esp, 0x10
cmp eax, 1
jne 0x4375e7
lea ecx, [ebx + edi*4]
add esi, 0xfffffffb
xor eax, eax
jmp 0x437e7a
mov ecx, dword [esp + 0x50]
add esi, 0x20
mov edi, dword [esp + 0x18]
mov eax, edx
add ecx, 0xfffffffc
cmp ecx, dword [esp + 0x58]
je 0x43804d
mov edx, dword [ecx - 4]
cmp esi, 0x1c
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], edx
jb 0x437f70
push esi
push eax
push edx
mov dword [esp + 0x20], esi
call fcn.004e0a00
add esp, 0xc
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
push esi
lea ebx, [esp + 0x8c]
push ebx
mov ebx, dword [esp + 0x14]
push ebx
mov edi, dword [esp + 0x2c]
push edi
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push esi
lea eax, [esp + 0x8c]
push eax
push ebx
push edi
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push esi
lea eax, [esp + 0x8c]
push eax
push ebx
push edi
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push esi
lea eax, [esp + 0x8c]
push eax
push ebx
push edi
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push esi
lea eax, [esp + 0x8c]
push eax
push ebx
mov ebx, esi
push edi
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push dword [esp + 0x1c]
push esi
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.004e0850
add esp, 0x10
cmp eax, 1
jne 0x4375e7
mov esi, dword [esp + 0x14]
add esi, 0xfffffffb
push ebx
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edi
push edi
call fcn.004d03c0
add esp, 0x18
mov edx, dword [esp + 0x2c]
cmp esi, 0x1f
jbe 0x437f80
jmp 0x437e60
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
nop dword [eax + eax]
mov dword [esp + 0x14], esi
push esi
push edx
call fcn.004e0a20
add esp, 8
mov dword [esp + 0x1c], eax
push ebx
lea esi, [esp + 0x8c]
push esi
push dword [esp + 0x14]
push edi
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push ebx
push esi
mov esi, dword [esp + 0x14]
push esi
push edi
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push ebx
lea eax, [esp + 0x8c]
push eax
push esi
push edi
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push ebx
lea eax, [esp + 0x8c]
push eax
push esi
push edi
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push ebx
lea eax, [esp + 0x8c]
push eax
push esi
push edi
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.004e0850
add esp, 0x10
cmp eax, 1
jne 0x4375e7
mov esi, dword [esp + 0x14]
add esi, 0xfffffffb
push ebx
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edi
push edi
call fcn.004d03c0
add esp, 0x18
mov edx, dword [esp + 0x2c]
cmp esi, 0x20
jb 0x437f80
jmp 0x437e60
push dword [esp + 0x10]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x3fc
push 0
lea eax, [esp + 0x1c4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1b8], 1
cmp eax, 0x101
jae 0x4375e7
push eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x1c4]
push eax
mov eax, dword [esp + 0x30]
push eax
push eax
call fcn.004d03c0
add esp, 0x18
cmp dword [esp + 0x70], 0
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
je 0x4380d4
push dword [esp + 0x28]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
test ebx, ebx
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c0], edx
mov dword [esp + 0x1c8], ecx
je 0x438126
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, ebx
call fcn.00490be0
mov edi, eax
test eax, eax
mov eax, dword [esp + 0x20]
jne 0x43812f
jmp 0x4375e7
mov eax, dword [esp + 0x20]
mov edi, 4
push ebx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x24]
jne 0x4375e7
push esi
mov ebx, dword [esp + 0x60]
push ebx
push edi
call fcn.004e07b0
add esp, 0xc
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x50]
push edi
push edi
call fcn.004e0960
add esp, 0x14
push esi
lea eax, [esp + 0x1c4]
push eax
push ebx
mov eax, dword [esp + 0x3c]
push dword [eax]
push edi
push edi
call fcn.004d03c0
add esp, 0x18
push dword [esp + 0xc]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x170], eax
jbe 0x438256
mov ebx, dword [esp + 0x164]
cmp ebx, 0x3fffffff
ja 0x4375e7
lea edi, [ebx*4]
cmp edi, 0x7ffffffd
jae 0x4375e7
test edi, edi
mov dword [esp + 0xc], edi
je 0x4381f8
mov ecx, 8
mov edx, edi
call fcn.00490be0
test eax, eax
jne 0x4381fd
jmp 0x4375e7
mov eax, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
cmp edi, ebx
ja 0x4375e7
push ecx
mov esi, dword [esp + 0x48]
push esi
push eax
mov dword [esp + 0x1c], eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp edi, ebx
mov esi, ebx
jne 0x438299
push edi
push dword [esp + 0x164]
push dword [esp + 0x6c]
call fcn.004e0720
add esp, 0xc
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x4382a9
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
push dword [0x776180]
call esi
push dword [esp + 0x20]
push 0
push dword [0x776180]
call esi
mov ebx, dword [esp + 0x38]
cmp dword [esp + 0x48], 0
je 0x43828f
push ebx
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 0x34]
cmp esi, 0x20000000
jae 0x4375e7
mov edx, dword [esp + 0xc]
mov ecx, 8
call fcn.00490be0
test eax, eax
je 0x4375e7
mov edi, eax
push ebx
push dword [esp + 0x68]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
lea ebx, [esp + 0x16c]
push ebx
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x74]
push edi
mov eax, dword [esp + 0x3c]
push dword [eax + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x20]
call fcn.004d03c0
add esp, 0x18
push esi
push ebx
push edi
mov edi, dword [esp + 0x18]
push edi
mov eax, dword [esp + 0x20]
push eax
push eax
call fcn.004d03c0
add esp, 0x18
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x170], eax
jbe 0x438368
mov edi, dword [esp + 0x164]
mov esi, dword [esp + 0x20]
cmp edi, 0x3fffffff
ja 0x4375e7
lea edx, [edi*4]
cmp edx, 0x7ffffffd
jae 0x4375e7
mov ebx, dword [esp + 0x34]
test edx, edx
mov dword [esp + 0x1c], edx
je 0x438387
mov ecx, 8
call fcn.00490be0
test eax, eax
mov dword [esp + 0x14], eax
jne 0x43838f
jmp 0x4375e7
push dword [esp + 0x20]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
jmp 0x438439
mov dword [esp + 0x14], 4
cmp dword [esp + 0x18], edi
ja 0x4375e7
push ebx
push esi
mov ebx, dword [esp + 0x1c]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x164]
push dword [esp + 0x164]
mov esi, dword [esp + 0x18]
push esi
push ebx
push ebx
call fcn.004e0500
add esp, 0x14
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x68]
mov edx, ebx
mov dword [esp + 0x18], edi
push edi
call fcn.00438530
add esp, 4
mov esi, dword [esp + 0x48]
cmp edx, esi
jne 0x4375e7
mov edi, eax
push esi
push dword [esp + 0x3c]
push eax
call fcn.004e0660
add esp, 0xc
mov ebx, dword [ebp + 0x1c]
cmp eax, 0xffffffff
je 0x438465
test esi, esi
je 0x43842d
push edi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
push 0
push dword [0x776180]
call esi
push edi
push 0
push dword [0x776180]
call esi
cmp dword [esp + 0x48], 0
jne 0x438280
jmp 0x43828f
mov eax, dword [0x776180]
test esi, esi
je 0x438498
push edi
push 0
push eax
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
call esi
push dword [esp + 0xc]
push 0
push dword [0x776180]
call esi
push dword [esp + 0x38]
push 0
push dword [0x776180]
call esi
jmp 0x4384a5
push dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x1c], ebx
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x18]
jne 0x4375e7
mov eax, dword [edi + ecx*4 - 4]
cmp ebx, 1
bswap eax
mov dword [esp + 0x1c4], eax
mov byte [esi], al
je 0x43850d
lea eax, [edi + ecx*4 - 4]
inc esi
dec ebx
mov ecx, 1
jmp 0x4384ea
movzx edx, byte [esp + ecx + 0x1c4]
inc ecx
mov byte [esi], dl
inc esi
dec ebx
je 0x43850d
cmp ecx, 4
jne 0x4384db
cmp eax, edi
je 0x43850d
mov edx, dword [eax - 4]
add eax, 0xfffffffc
mov ecx, 1
bswap edx
mov dword [esp + 0x1c4], edx
mov byte [esi], dl
inc esi
dec ebx
jne 0x4384ea
push edi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x438291