Function at 0x406d40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ebfb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x446040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xcc], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x12c], 0
movups xmmword [edi + 0x134], xmm0
movq qword [edi + 0x144], xmm0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1cc], 0
xor eax, eax
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1d4], 0
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x1dc], 0
mov dword [edi + 0x1e0], 0
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x200], 0
mov dword [edi + 0x204], 0
mov dword [edi + 0x208], eax
mov dword [edi + 0x20c], eax
mov dword [edi + 0x220], eax
mov dword [edi + 0x21c], eax
mov dword [edi + 0x224], eax
mov dword [edi + 0x22c], eax
mov dword [edi + 0x228], eax
mov dword [edi + 0x230], eax
lea ecx, [edi + 0x240]
push eax
call fcn.00402cd0
mov byte [ebp - 4], 4
lea eax, [edi + 0x2f0]
mov ecx, 2
nop dword [eax]
nop word [eax + eax]
mov dword [eax], 0
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x407130
push 0x31c
push ecx
push edi
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebx + 0xc]
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x407168
mov eax, dword [0x446684]
sub esi, ecx
test eax, eax
je 0x407180
inc dword [eax + 0x36c]
inc esi
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
push esi
mov esi, dword [ebx + 0xc]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, esi
mov dword [edi], eax
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4071a0
sub ecx, edx
or edx, 0xffffffff
lea eax, [ecx + 1]
mov dword [edi + 0x4c], eax
mov al, byte [esi]
inc esi
test al, al
je 0x4071ea
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x4071ce
cmp byte [esi], al
jne 0x4071ce
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x43f6c0]
test al, al
jne 0x4071c0
mov edi, dword [ebp - 0x14]
not edx
lea esi, [edi + 0xc4]
mov dword [edi + 4], edx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x40721f
inc ecx
test eax, eax
je 0x40720d
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x407212
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.004187e0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
xor edx, edx
inc dword [esi]
mov ecx, dword [esi]
mov eax, dword [edi + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.MOVE
call fcn.00404c00
mov esi, eax
add esp, 4
mov eax, dword [0x446684]
cmp dword [eax + 0x1be0], esi
jne 0x40725c
mov dword [eax + 0x1be4], esi
cmp dword [eax + 0x1c1c], esi
jne 0x40726b
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], esi
jne 0x407288
push ecx
push str.MOVE
mov edx, 0xb
mov ecx, esi
call fcn.00417de0
add esp, 8
mov eax, dword [ebx + 8]
lea ecx, [edi + 0x240]
add eax, 0x194c
mov dword [edi + 0x23c], ecx
mov dword [edi + 0x50], esi
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x7f7fffff
mov dword [edi + 0x70], 0x3f000000
mov dword [edi + 0x74], 0x3f000000
mov word [edi + 0xa4], 0xffff
mov dword [edi + 0xa8], 0xffffffff
mov word [edi + 0xb1], 0xf0f
mov byte [edi + 0xb0], 0xf
mov dword [edi + 0xbc], 0x7f7fffff
mov dword [edi + 0xc0], 0x7f7fffff
mov dword [edi + 0xb4], 0x7f7fffff
mov dword [edi + 0xb8], 0x7f7fffff
mov dword [edi + 0x210], 0xffffffff
mov dword [edi + 0x214], 0xbf800000
mov dword [edi + 0x234], 0x3f800000
mov dword [edi + 0x238], 0xffffffff
mov dword [ecx + 0x2c], eax
mov ecx, dword [edi + 0x23c]
mov eax, dword [edi]
mov dword [ecx + 0x30], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8