joyce8/EMBER2024-capa huggingface dataset:
Function at 0x507a00
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x507c1d
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xcc]
cmp ecx, 6
jne 0x507ab7
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
mov dword [eax + 0xc8], 0
ret
cmp ecx, 0xe
jne 0x507b30
mov dword [eax], 0x19544da2
mov dword [eax + 4], 0x8c3d37c8
mov dword [eax + 8], 0x89dcd4d6
mov dword [eax + 0xc], 0x73e19966
mov dword [eax + 0x10], 0x32ff9c82
mov dword [eax + 0x14], 0x1dfab7ae
mov dword [eax + 0x18], 0x582f9fcf
mov dword [eax + 0x1c], 0x679dd514
mov dword [eax + 0x20], 0x7bd44da8
mov dword [eax + 0x24], 0xf6d2b69
mov dword [eax + 0x28], 0x4c48942
mov dword [eax + 0x2c], 0x77e36f73
mov dword [eax + 0x30], 0x6a1d36c8
mov dword [eax + 0x34], 0x3f9d85a8
mov dword [eax + 0x38], 0x91d692a1
mov dword [eax + 0x3c], 0x1112e6ad
jmp 0x507a98
cmp ecx, 0xf
jne 0x507ba9
mov dword [eax], 0xfc2bf72c
mov dword [eax + 4], 0x22312194
mov dword [eax + 8], 0xc84c64c2
mov dword [eax + 0xc], 0x9f555fa3
mov dword [eax + 0x10], 0x6f53b151
mov dword [eax + 0x14], 0x2393b86b
mov dword [eax + 0x18], 0x5940eabd
mov dword [eax + 0x1c], 0x96387719
mov dword [eax + 0x20], 0xa88effe3
mov dword [eax + 0x24], 0x96283ee2
mov dword [eax + 0x28], 0x53863992
mov dword [eax + 0x2c], 0xbe5e1e25
mov dword [eax + 0x30], 0x2c85b8aa
mov dword [eax + 0x34], 0x2b0199fc
mov dword [eax + 0x38], 0x81c52ca2
mov dword [eax + 0x3c], 0xeb72ddc
jmp 0x507a98
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
jmp 0x507a98
call fcn.0044b750
jmp fcn.00507a00
Function at 0x51a350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51a53f
sub esp, 0x6c
nop
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x51a52d
nop
movzx edx, byte [0x727bf8]
test dl, dl
je 0x51a521
mov dword [0x727bfc], ecx
mov edx, dword [0x738420]
test edx, edx
jne 0x51a50a
mov eax, dword [esp + 0x80]
mov dword [0x727c00], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
nop
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x51a4ff
nop
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x51a3d2
or edx, 0x80
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00492280
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
call fcn.0051a550
lea esi, [esp + 8]
lea edi, [esp + 0x54]
call fcn.0044d474
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
lea edi, [esp + 0x1c]
lea esi, [esp + 0x54]
call fcn.0044d474
call fcn.00517100
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
test eax, eax
jne 0x51a4cc
mov eax, dword [esp + 0x74]
cmp edx, eax
ja 0x51a538
mov ecx, dword [esp + 0x78]
sub ecx, edx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
mov ebp, dword [esp + 0x70]
add ecx, ebp
mov dword [esp + 0x8c], ecx
sub eax, edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x6c
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x6c
ret
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x51a3d2
lea edi, [0x727c00]
mov eax, dword [esp + 0x80]
call fcn.0044cea0
jmp 0x51a3a7
mov eax, dword [esp + 0x80]
jmp 0x51a3a7
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x51a3d2
call fcn.00427100
ud2
call fcn.0044b750
jmp fcn.0051a350
Function at 0x54fdf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x550018
sub esp, 0x60
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
xor ebp, ebp
jmp 0x54fea9
inc eax
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jge 0x54fea2
lea ebx, [edx + eax*8]
mov ebp, dword [ebx]
cmp dword [ebx + 4], edi
jne 0x54fe20
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.004024f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x54fe72
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
jmp 0x54fe20
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x60
ret
inc ebp
mov esi, dword [esp + 0x6c]
mov eax, esi
cmp ebp, ebx
jge 0x54fed4
mov dword [esp + 0x28], ebp
lea esi, [eax + ebp*8]
mov edi, dword [esi + 4]
mov dword [esp + 0x20], edi
mov esi, dword [esi]
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
jmp 0x54fe31
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.004075d0
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
call fcn.00407650
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], ecx
call fcn.00407650
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0044cf9a
lea eax, [0x597b60]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
lea eax, [0x58d9a0]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
nop
lea eax, [0x5d3328]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004a1310
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
nop
lea edx, [0x59e6a0]
mov dword [esp], edx
call fcn.00409bc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [0x738420]
test eax, eax
jne 0x55000d
mov eax, dword [esp + 0x34]
mov dword [edi], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x600de0]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edi
add esp, 0x60
ret
mov eax, dword [esp + 0x34]
call fcn.0044cea0
jmp 0x54ffdf
call fcn.0044b750
jmp fcn.0054fdf0
Function at 0x4c09f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4a8015
lea edi, [esi - 0xa7015]
push edi
jmp 0x4c0a0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c0a11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c0a00
mov eax, 1
add ebx, ebx
jne 0x4c0a23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c0a34
jne 0x4c0a53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c0a53
dec eax
add ebx, ebx
jne 0x4c0a40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c0a18
add ebx, ebx
jne 0x4c0a4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c0aa5
xor ecx, ecx
sub eax, 3
jb 0x4c0a6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c0ada
sar eax, 1
mov ebp, eax
jmp 0x4c0a76
add ebx, ebx
jne 0x4c0a76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c0a44
inc ecx
add ebx, ebx
jne 0x4c0a84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c0a44
add ebx, ebx
jne 0x4c0a91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c0a86
jne 0x4c0aa2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c0a86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c0ac4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c0ab6
jmp 0x4c0a06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c0ac4
add edi, ecx
jmp 0x4c0a06
pop esi
mov edi, esi
mov ecx, 0x1017
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c0ae2
cmp byte [edi], 6
jne 0x4c0ae2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4c0ae7
lea edi, [esi + 0xbe000]
mov eax, dword [edi]
or eax, eax
je 0x4c0b56
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc6ad4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc6ba4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c0b14
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc6bac]
or eax, eax
je 0x4c0b50
mov dword [ebx], eax
add ebx, 4
jmp 0x4c0b31
call dword [esi + 0xc6ba8]
mov ebp, dword [esi + 0xc6bb0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c0b8a
sub esp, 0xffffff80
jmp 0x4013d8
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b643
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
sub ecx, 0xe121fe99
push 0x9d37c101
pop esi
call fcn.0043b691
and esi, ecx
xor dword [eax], edi
sub esp, 4
mov dword [esp], 0xd8d427bf
pop ecx
sub esi, ecx
add eax, 1
mov ecx, 0xd1304dab
add esi, 0x60f74fa9
cmp eax, edx
jne fcn.0043b643
sub esi, 0x580c1cf6
mov esi, 0xfc07c853
or esi, esi
ret
Function at 0x405830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676b92
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x71906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov word [edi + 4], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], al
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], al
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0xf
mov byte [edi + 0x4c], al
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 0xf
mov byte [edi + 0x64], al
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], al
lea esi, [edi + 0x94]
mov byte [ebp - 4], 5
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0042e7e1
add esp, 4
cmp dword [ebp + 8], 0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
setne al
mov byte [edi], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40d4b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6772c2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x71906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0
call fcn.00428f90
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x40d548
push eax
push esi
call fcn.004293bc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x700ae0
lea ecx, [ebp - 0x1c]
call fcn.0040d470
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0040d410
int3
Function at 0x4102c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67762f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x71906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x410315
mov dword [edi], 0x700d54
mov dword [edi + 0x50], 0x691eac
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x691eb4
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ebx, dword [eax + 4]
add ebx, edi
mov ecx, ebx
call fcn.0040e1e0
lea eax, [edi + 4]
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 4], 2
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 3
push eax
call fcn.004119f0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx eax, ax
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 4
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
test eax, eax
je 0x41039b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
cmp dword [ebx + 0x38], 0
mov word [ebx + 0x40], ax
jne 0x4103bc
mov eax, dword [ebx + 0xc]
mov ecx, ebx
or eax, 4
push 0
push eax
call fcn.0040e150
mov dword [ebp - 4], 5
lea ebx, [edi + 4]
mov eax, dword [edi]
push 8
mov dword [ebp + 0xc], ebx
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x691f3c
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov dword [ebx], 0x691ebc
call fcn.0042e7e1
mov esi, eax
push 1
mov byte [ebp - 4], 6
call fcn.004292b5
mov dword [esi + 4], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 4]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], eax
add esp, 8
lea eax, [ebx + 0x14]
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov ecx, eax
not ecx
mov dword [ebx], 0x691efc
and ecx, 1
mov dword [ebx + 0x38], 0
shl ecx, 2
mov edx, ecx
or edx, 8
and al, 8
cmove edx, ecx
mov ecx, dword [ebp + 8]
mov eax, edx
or eax, 0x10
and cl, 4
cmove eax, edx
mov dword [ebx + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4113f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676d20
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x71906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x691ebc
call fcn.0042e7e1
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004292b5
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677e78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x71906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push 0x10
push 0x7012a0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00407210
mov dword [ebp - 4], 0
call fcn.0041a860
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae esi, ebx
mov dword [ebp - 0x2c], eax
mov edi, dword [eax + 4]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x4184b5
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x4184a0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x2c]
and eax, edx
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x30], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x34], eax
cmp edx, edi
jne 0x4184da
mov eax, edi
jmp 0x4184de
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x418513
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 8]
push eax
call fcn.0041a020
test al, al
je 0x4184fd
mov esi, dword [esi]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
jmp 0x4184d2
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041a020
test al, al
mov ecx, edi
cmove ecx, esi
jmp 0x418515
mov ecx, edi
cmp ecx, edi
je 0x418557
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041afc0
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
cmp esi, edi
je 0x418554
mov ebx, dword [ebp - 0x3c]
nop dword [eax]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4185a7
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
add esi, 0x28
cmp esi, edi
jne 0x418540
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x418586
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41857c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4185a2
push ecx
push ebx
call fcn.0042e7b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e165
mov esp, ebp
pop ebp
ret
call fcn.0050d55e
call fcn.00428d77
int3