Function at 0x406540
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x435010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x130], 0x128
push ebx
push esi
mov eax, dword [eax + 0xc]
push edi
mov dword [ebp - 0x144], ecx
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x134], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x140], ecx
cmp ecx, edx
je 0x40663e
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x40663e
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + ebx*4]
add ecx, edx
mov edi, dword [ecx - 4]
sub ecx, 4
add edi, edx
mov dword [ebp - 0x13c], ecx
dec ebx
mov esi, 0x5cde9e66
mov cl, byte [edi]
inc edi
test cl, cl
je 0x406630
movsx edx, cl
lea edi, [edi + 1]
imul ecx, edx, 0xcc9e2d51
rol ecx, 0xf
imul ecx, ecx, 0x1b873593
xor ecx, esi
rol ecx, 0xd
add ecx, 0xfaddaf14
lea esi, [ecx + ecx*4]
imul ecx, edx, 0x51000000
rol ecx, 0xf
imul ecx, ecx, 0x1b873593
xor esi, ecx
xor esi, 1
mov ecx, esi
shr ecx, 0x10
xor ecx, esi
imul edx, ecx, 0x85ebca6b
mov ecx, edx
shr ecx, 0xd
xor ecx, edx
imul edx, ecx, 0xc2b2ae35
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
imul esi, ecx, 0x539
mov cl, byte [edi - 1]
test cl, cl
jne 0x4065c0
cmp esi, 0x1e009b5
je 0x406645
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x13c]
test ebx, ebx
jne 0x4065a5
mov eax, dword [eax]
jmp 0x406572
mov esi, dword [ebp - 0x140]
mov edx, dword [ebp - 0x134]
push 0
push 2
mov eax, dword [esi + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ecx, dword fs:[0x30]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
nop
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x138], esi
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + esi + 0x78]
add eax, esi
mov dword [ebp - 0x140], eax
cmp eax, esi
je 0x40674f
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x40674f
mov eax, dword [eax + 0x20]
lea eax, [eax + ebx*4]
add eax, esi
mov edi, dword [eax - 4]
sub eax, 4
add edi, esi
mov dword [ebp - 0x134], eax
dec ebx
mov esi, 0x3b886233
mov al, byte [edi]
inc edi
test al, al
je 0x40673e
movsx edx, al
lea edi, [edi + 1]
imul eax, edx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
add eax, 0xfaddaf14
lea esi, [eax + eax*4]
imul eax, edx, 0x51000000
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, 1
mov eax, esi
shr eax, 0x10
xor eax, esi
imul edx, eax, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul edx, eax, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
imul esi, eax, 0x539
mov al, byte [edi - 1]
test al, al
jne 0x4066d2
cmp esi, 0xa0dd8eb4
je 0x406756
mov eax, dword [ebp - 0x134]
mov esi, dword [ecx + 0x18]
test ebx, ebx
jne 0x4066b3
mov ecx, dword [ecx]
jmp 0x406680
mov esi, dword [ebp - 0x140]
mov edx, dword [ebp - 0x138]
mov eax, dword [esi + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [ebp - 0x130]
push ecx
push dword [ebp - 0x13c]
add eax, edx
call eax
test eax, eax
jne 0x406890
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop word [eax + eax]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x140], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x134], ecx
cmp ecx, edx
je 0x406870
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x406870
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + ebx*4]
add ecx, edx
mov edi, dword [ecx - 4]
sub ecx, 4
add edi, edx
mov dword [ebp - 0x138], ecx
dec ebx
mov esi, 0xad37f992
mov cl, byte [edi]
inc edi
test cl, cl
je 0x406862
movsx edx, cl
lea edi, [edi + 1]
imul ecx, edx, 0xcc9e2d51
rol ecx, 0xf
imul ecx, ecx, 0x1b873593
xor ecx, esi
rol ecx, 0xd
add ecx, 0xfaddaf14
lea esi, [ecx + ecx*4]
imul ecx, edx, 0x51000000
rol ecx, 0xf
imul ecx, ecx, 0x1b873593
xor esi, ecx
xor esi, 1
mov ecx, esi
shr ecx, 0x10
xor ecx, esi
imul edx, ecx, 0x85ebca6b
mov ecx, edx
shr ecx, 0xd
xor ecx, edx
imul edx, ecx, 0xc2b2ae35
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
imul esi, ecx, 0x539
mov cl, byte [edi - 1]
test cl, cl
jne 0x4067f2
cmp esi, 0x9bedcac2
je 0x406877
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x138]
test ebx, ebx
jne 0x4067d3
mov eax, dword [eax]
jmp 0x4067a0
mov esi, dword [ebp - 0x134]
mov edx, dword [ebp - 0x140]
jmp 0x406c15
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4068a0
mov ebx, dword [ebp - 0x144]
sub ecx, edx
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4068b4
sub edx, esi
cmp ecx, edx
mov dword [ebp - 0x134], edx
mov edi, edx
cmovb edi, ecx
xor esi, esi
test edi, edi
je 0x406902
mov eax, ebx
lea ebx, [ebp - 0x10c]
sub eax, ebx
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 0x10c]
add eax, esi
mov bl, byte [eax]
cmp bl, byte [eax + edx]
mov edx, dword [ebp - 0x134]
jl 0x40690c
jg 0x40690c
inc esi
cmp esi, edi
jb 0x4068e0
cmp ecx, edx
jb 0x40690c
jbe 0x406b1b
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax + eax]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x140], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x134], ecx
cmp ecx, edx
je 0x4069ef
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x4069ef
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + ebx*4]
add ecx, edx
sub ecx, 4
dec ebx
mov dword [ebp - 0x138], ecx
mov edi, 0x284539f8
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x4069de
movsx esi, dl
lea ecx, [ecx + 1]
imul edx, esi, 0xcc9e2d51
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edx, edi
rol edx, 0xd
add edx, 0xfaddaf14
lea edi, [edx + edx*4]
imul edx, esi, 0x51000000
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edi, edx
xor edi, 1
mov edx, edi
shr edx, 0x10
xor edx, edi
imul esi, edx, 0x85ebca6b
mov edx, esi
shr edx, 0xd
xor edx, esi
imul esi, edx, 0xc2b2ae35
mov edx, esi
shr edx, 0x10
xor edx, esi
imul edi, edx, 0x539
mov dl, byte [ecx - 1]
test dl, dl
jne 0x406971
cmp edi, 0xf8a244cf
je 0x4069f6
mov ecx, dword [ebp - 0x138]
mov edx, dword [eax + 0x18]
test ebx, ebx
jne 0x406953
mov eax, dword [eax]
jmp 0x406920
mov esi, dword [ebp - 0x134]
mov edx, dword [ebp - 0x140]
mov eax, dword [esi + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [ebp - 0x130]
push ecx
push dword [ebp - 0x13c]
add eax, edx
call eax
test eax, eax
jne 0x406890
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop word [eax + eax]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x134], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x138], ecx
cmp ecx, edx
je 0x406b14
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x406b14
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + ebx*4]
add ecx, edx
mov edi, dword [ecx - 4]
sub ecx, 4
add edi, edx
mov dword [ebp - 0x144], ecx
dec ebx
mov esi, 0x5bb8d02c
mov cl, byte [edi]
inc edi
test cl, cl
je 0x406b06
movsx edx, cl
lea edi, [edi + 1]
imul ecx, edx, 0xcc9e2d51
rol ecx, 0xf
imul ecx, ecx, 0x1b873593
xor ecx, esi
rol ecx, 0xd
add ecx, 0xfaddaf14
lea esi, [ecx + ecx*4]
imul ecx, edx, 0x51000000
rol ecx, 0xf
imul ecx, ecx, 0x1b873593
xor esi, ecx
xor esi, 1
mov ecx, esi
shr ecx, 0x10
xor ecx, esi
imul edx, ecx, 0x85ebca6b
mov ecx, edx
shr ecx, 0xd
xor ecx, edx
imul edx, ecx, 0xc2b2ae35
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
imul esi, ecx, 0x539
mov cl, byte [edi - 1]
test cl, cl
jne 0x406a92
cmp esi, 0x9458d729
je 0x406c09
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x144]
test ebx, ebx
jne 0x406a73
mov eax, dword [eax]
jmp 0x406a40
mov eax, dword [ebp - 0x128]
mov dword [0x53b890], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x134], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x138], ecx
cmp ecx, edx
je 0x406c02
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x406c02
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + ebx*4]
add ecx, edx
mov edi, dword [ecx - 4]
sub ecx, 4
add edi, edx
mov dword [ebp - 0x144], ecx
dec ebx
mov esi, 0x6d91c27f
mov cl, byte [edi]
inc edi
test cl, cl
je 0x406bf4
movsx edx, cl
lea edi, [edi + 1]
imul ecx, edx, 0xcc9e2d51
rol ecx, 0xf
imul ecx, ecx, 0x1b873593
xor ecx, esi
rol ecx, 0xd
add ecx, 0xfaddaf14
lea esi, [ecx + ecx*4]
imul ecx, edx, 0x51000000
rol ecx, 0xf
imul ecx, ecx, 0x1b873593
xor esi, ecx
xor esi, 1
mov ecx, esi
shr ecx, 0x10
xor ecx, esi
imul edx, ecx, 0x85ebca6b
mov ecx, edx
shr ecx, 0xd
xor ecx, edx
imul edx, ecx, 0xc2b2ae35
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
imul esi, ecx, 0x539
mov cl, byte [edi - 1]
test cl, cl
jne 0x406b84
cmp esi, 0x9f885e7e
je 0x406c09
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x144]
test ebx, ebx
jne 0x406b65
mov eax, dword [eax]
jmp 0x406b32
mov edx, dword [ebp - 0x134]
mov esi, dword [ebp - 0x138]
mov eax, dword [esi + 0x24]
push dword [ebp - 0x13c]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b3e0
mov esp, ebp
pop ebp
ret