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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], fcn.004158a5
mov dword [eax + 0x50], 0x6a09e667
mov dword [eax + 0x54], 0xbb67ae85
mov dword [eax + 0x58], 0x3c6ef372
mov dword [eax + 0x5c], 0xa54ff53a
mov dword [eax + 0x60], 0x510e527f
mov dword [eax + 0x64], 0x9b05688c
mov dword [eax + 0x68], 0x1f83d9ab
mov dword [eax + 0x6c], 0x5be0cd19
and dword [eax + 8], 0
and dword [eax + 0xc], 0
pop ebp
ret

Function at 0x415a46
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x43f014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x158], edi
mov esi, ebx
lea edx, [edi + 0x10]
movzx ecx, byte [edx]
lea edx, [edx + 4]
movzx eax, byte [edx - 3]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx - 2]
shl eax, 8
or ecx, eax
movzx eax, byte [edx - 1]
or ecx, eax
mov dword [ebp + esi*4 - 0x144], ecx
inc esi
cmp esi, 0x10
jl 0x415a6b
cmp esi, 0x50
jge 0x415ac2
push 0x50
pop edx
lea ecx, [ebp + esi*4 - 0x17c]
sub edx, esi
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x415aaa
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x148], eax
mov eax, dword [edi + 0x60]
mov edi, dword [ebp - 0x148]
mov dword [ebp - 0x14c], ecx
jmp 0x415af7
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x150]
rol edx, 5
add edx, dword [ebp + ebx*4 - 0x144]
add edx, eax
cmp ebx, 0x14
jge 0x415b1d
mov eax, ecx
xor eax, esi
and eax, edi
xor eax, ecx
add eax, 0x5a827999
jmp 0x415b5c
cmp ebx, 0x28
jge 0x415b2f
mov eax, ecx
xor eax, esi
xor eax, edi
add eax, 0x6ed9eba1
jmp 0x415b5c
cmp ebx, 0x3c
jge 0x415b51
mov ecx, esi
mov eax, esi
or ecx, edi
and eax, edi
and ecx, dword [ebp - 0x14c]
or eax, ecx
mov ecx, dword [ebp - 0x14c]
add eax, 0x8f1bbcdc
jmp 0x415b5c
mov eax, ecx
xor eax, esi
xor eax, edi
add eax, 0xca62c1d6
add eax, edx
mov dword [ebp - 0x14c], esi
mov edx, ecx
mov ecx, esi
mov esi, edi
mov dword [ebp - 0x148], edx
mov edi, dword [ebp - 0x150]
ror esi, 2
inc ebx
mov dword [ebp - 0x150], eax
cmp ebx, 0x50
jl 0x415af1
add eax, dword [ebp - 0x154]
mov dword [ebp - 0x148], edi
mov edi, dword [ebp - 0x158]
add dword [edi + 0x5c], ecx
add dword [edi + 0x58], esi
add dword [edi + 0x60], edx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x50], eax
xor ecx, ebp
mov eax, dword [ebp - 0x148]
add dword [edi + 0x54], eax
pop edi
pop esi
pop ebx
call fcn.0041687e
mov esp, ebp
pop ebp
ret

Function at 0x415bc1
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], fcn.00415bc1
mov dword [eax + 0x50], 0x67452301
mov dword [eax + 0x54], 0xefcdab89
mov dword [eax + 0x58], 0x98badcfe
mov dword [eax + 0x5c], 0x10325476
mov dword [eax + 0x60], 0xc3d2e1f0
and dword [eax + 8], 0
and dword [eax + 0xc], 0
pop ebp
ret
Function at 0x4065a4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067d4
push 0x80000001
call fcn.004013ac
test eax, eax
je 0x406627
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067d4
push 0x80000002
call fcn.004013ac
test eax, eax
je 0x406627
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067f0
push 0x80000001
call fcn.004013ac
test eax, eax
jne 0x4066b0
xor eax, eax
push ebp
push 0x4066a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004063ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004013b4
test eax, eax
je 0x40668e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406810
mov eax, dword [ebp - 8]
push eax
call fcn.004013b4
test eax, eax
je 0x40668e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066b0
mov eax, dword [ebp - 8]
push eax
call fcn.004013a4
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4067ca
cmp byte [ebp - 0xd], 0
jne 0x4066f7
cmp byte [ebp - 0x12], 0
je 0x4067ca
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406710
dec ebx
cmp byte [ebx], 0x2e
je 0x40671f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40670f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4067ca
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40675c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4067ca
cmp byte [ebp - 0xd], 0
je 0x4067ca
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4067ca
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424130
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x424136
ret
Function at 0x447940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x447af1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405024
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x447b08
call fcn.00404c88
mov eax, ebx
call fcn.00421fe0
mov edi, eax
dec edi
test edi, edi
jl 0x4479f8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421fb4
mov edx, dword [0x433b68]
call fcn.00403d60
test al, al
je 0x4479f4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421fb4
lea edx, [ebp - 0x14]
call fcn.0044fc88
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405024
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cfc
inc esi
dec edi
jne 0x4479a6
mov al, byte [0x447b0c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x447b18
mov eax, dword [ebp - 0xc]
call fcn.0040ea74
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404a1c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044fc88
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x447b08
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0044fc88
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x447b08
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x447b08
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x447b24
call fcn.0040a6a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447af8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004049a8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004049a8
lea eax, [ebp - 0x14]
call fcn.00404984
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004049a8
ret
Function at 0x4f74fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f763e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004049d8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004f7338
mov eax, dword [ebp - 0x10]
call fcn.00404c3c
sar eax, 1
jns 0x4f7547
adc eax, 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
inc eax
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x4f74d4]
call fcn.004061a8
add esp, 4
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x4f7594
inc edi
xor ebx, ebx
mov eax, ebx
add eax, eax
mov edx, dword [ebp - 0x10]
movzx edx, byte [edx + eax]
shl edx, 8
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax + 1]
add dx, ax
mov eax, dword [ebp - 0x14]
mov word [eax + ebx*2], dx
inc ebx
dec edi
jne 0x4f7570
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov word [eax + edx*2], 0
mov eax, dword [ebp - 4]
call fcn.00404c3c
mov edi, eax
test edi, edi
jle 0x4f761a
mov ebx, 1
mov eax, ebx
cdq
idiv dword [ebp - 0xc]
mov esi, edx
mov eax, dword [ebp - 8]
call fcn.00404e8c
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 0x14]
movzx ecx, word [ecx + esi*2]
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp - 8]
mov eax, dword [eax]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [ebp - 0x14]
add ax, word [edx + esi*2]
imul word [0x53f52c]
add ax, word [0x53f530]
mov edx, dword [ebp - 0x14]
mov word [edx + esi*2 + 2], ax
mov eax, dword [ebp - 0x14]
mov ax, word [eax + esi*2 + 2]
call fcn.004f72ec
mov edx, dword [ebp - 0x14]
mov word [edx + esi*2 + 2], ax
inc ebx
dec edi
jne 0x4f75b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7645
lea eax, [ebp - 0x14]
mov edx, dword [0x4f74d4]
call fcn.004062c8
lea eax, [ebp - 0x10]
call fcn.00404984
ret
Function at 0x502040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x502166
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov bl, 1
mov byte [ebp - 0xd], 0
mov esi, ecx
dec esi
test esi, esi
jl 0x50214b
inc esi
xor edi, edi
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi]
call fcn.00404b64
mov eax, dword [ebp - 0x14]
mov edx, 0x502184
call fcn.00404f78
test eax, eax
je 0x502143
mov eax, dword [ebp - 4]
mov al, byte [eax + edi]
call fcn.00402b98
mov byte [ebp - 0xe], al
test bl, bl
je 0x5020df
lea eax, [ebp - 0x18]
mov dl, byte [ebp - 0xe]
call fcn.00404b64
mov eax, dword [ebp - 0x18]
mov edx, 0x5021b0
call fcn.00404f78
dec eax
shl eax, 4
mov byte [ebp - 0xd], al
jmp 0x5020fd
lea eax, [ebp - 0x1c]
mov dl, byte [ebp - 0xe]
call fcn.00404b64
mov eax, dword [ebp - 0x1c]
push eax
mov edx, 0x5021b0
pop eax
call fcn.00404f78
dec eax
or byte [ebp - 0xd], al
xor bl, 1
test bl, bl
je 0x502143
cmp byte [ebp + 0xc], 0
je 0x502130
mov al, byte [ebp - 0xd]
and al, 0xf
shl eax, 4
mov dl, byte [ebp - 0xd]
and dl, 0xf0
and edx, 0xff
shr edx, 4
or al, dl
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 8]
mov byte [ecx + edx], al
jmp 0x50213e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0xd]
mov byte [edx + eax], cl
mov eax, dword [ebp + 8]
inc dword [eax]
inc edi
dec esi
jne 0x502089
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50216d
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004049a8
ret
Function at 0x10004730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov dword [ebp - 0x14], 0x64
mov esi, dword [ebp + 8]
test byte [0x1000a048], 8
jne 0x10004878
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
cmp esi, 1
je 0x10004788
mov ebx, 0x80004001
cmp esi, 2
je 0x10004776
mov ebx, 0x80070057
mov edi, str.Start_Page
test esi, esi
je 0x1000478d
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov edi, str.Search_Page
lea eax, [ebp - 0x10]
mov dword [esp + 4], str.SoftwareMicrosoftInternet_ExplorerMain
mov dword [esp + 8], eax
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x100047e0
test byte [0x1000a048], 4
jne 0x100048b0
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovg ebx, eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
sub esp, 4
mov esi, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [ebp - 0x1c], eax
call eax
mov ebx, eax
mov eax, dword [ebp - 0x14]
sub esp, 0x18
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ole32.dll_CoTaskMemRealloc]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
sub esp, 8
cmp ebx, 0xea
mov esi, eax
je 0x10004900
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
jne 0x100048e0
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax], esi
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__lu__p__n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.HlinkGetSpecialReference
mov dword [esp + 4], 0x1000a048
mov dword [esp], 3
call fcn.10003870
jmp 0x10004750
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Could_not_open_key:__lu_n
mov dword [esp + 8], str.HlinkGetSpecialReference
mov dword [esp + 4], 0x1000a048
mov dword [esp], 2
call fcn.10003870
jmp 0x100047bf
test byte [0x1000a048], 4
jne 0x10004930
mov dword [esp], esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
jmp 0x100047bf
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], edi
call eax
sub esp, 0x18
mov ebx, eax
jmp 0x1000484b
mov eax, edi
call fcn.100035f0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Could_not_query_value__s:__lu_n
mov dword [esp + 8], str.HlinkGetSpecialReference
mov dword [esp + 4], 0x1000a048
mov dword [esp], 2
call fcn.10003870
jmp 0x100048e9
Function at 0x10008f10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x1001a0c0]
test eax, eax
je 0x10008fc8
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x10008f50
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x10008f3c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x10008ffd
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x1001a0c0], eax
sub esp, 8
test eax, eax
jne 0x10008f2d
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x10008f3e
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7fc931fa
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5d175d82
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x407160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45fde2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x38]
mov ecx, esi
call dword [0x469664]
test edi, edi
mov dword [esp + 0x30], 0
mov dword [esi], 0x46a93c
mov dword [esi + 0x20], 0x46a9dc
mov dword [esi + 0x210], edi
je 0x4071bf
lea ecx, [edi + 4]
call dword [0x469680]
mov edi, eax
jmp 0x4071c1
xor edi, edi
lea eax, [esp + 0xc]
push 0x467
push eax
call dword [0x469624]
add esp, 8
mov byte [esp + 0x30], 1
cmp dword [eax + 0x18], 8
jb 0x4071e4
mov eax, dword [eax + 4]
jmp 0x4071e7
add eax, 4
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 1
push 0x86c00000
push eax
push edi
mov ecx, esi
call dword [0x4695f0]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call dword [0x469f00]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4

Function at 0x408fa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45fc1c
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 8]
call dword [0x469ef8]
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [esp + 0x14], ebx
call dword [0x469ef8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x32], bl
mov byte [esi + 0x33], bl
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x37], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x40a9b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x461719
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x49001c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call dword [0x469ef8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
mov edx, esi
mov dword [esp + 0x3c], 0
call fcn.0040a4d0
test al, al
lea ecx, [esp + 0x10]
jne 0x40aa1b
mov dword [esp + 0x38], 0xffffffff
call dword [0x469f00]
xor al, al
jmp 0x40aa33
cmp dword [esp + 0xc], 0
mov dword [esp + 0x38], 0xffffffff
setne bl
call dword [0x469f00]
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0045cf88
add esp, 0x34
ret

Function at 0x40abf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45fa27
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, esi
call dword [0x469664]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x214], 0x46b4dc
mov dword [esi + 0x218], 0x46b4d4
mov dword [esi + 0x21c], ecx
push edx
lea ecx, [esi + 0x224]
mov dword [esi], 0x46b50c
mov dword [esi + 0x20], 0x46b5b0
mov dword [esi + 0x210], 0x46b5b8
mov dword [esi + 0x214], 0x46b5f4
mov dword [esi + 0x218], 0x46b608
mov dword [esi + 0x220], ebx
call dword [0x469ee4]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esi + 0x240]
mov byte [esp + 0x18], 1
call dword [0x469ee4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov byte [esp + 0x14], 2
mov dword [esi + 0x25c], ecx
push edx
lea ecx, [esi + 0x260]
call dword [0x469ee4]
mov al, byte [esp + 0x34]
mov cl, byte [esp + 0x38]
mov dl, byte [esp + 0x3c]
mov byte [esi + 0x281], al
mov dword [esi + 0x27c], ebx
mov byte [esi + 0x280], bl
mov byte [esi + 0x282], cl
mov byte [esi + 0x283], dl
mov byte [esi + 0x284], bl
mov dword [esi + 0x288], ebx
mov byte [esi + 0x28c], bl
mov byte [esi + 0x28d], bl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x24