joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.10017040
push ebp
push 0x1000ed20
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x10017168
mov al, byte [ebp - 0x110]
test al, al
je 0x10017131
lea eax, [ebp - 0xc]
call fcn.10002840
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034a0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.100066b0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.100071e0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x100170ba
mov ecx, ebp
call fcn.1000ebe0
jmp 0x10017168
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x10017131
mov ecx, ebp
call fcn.1000ebe0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10017234
mov al, byte [ebp - 0x110]
test al, al
je 0x100171fd
lea eax, [ebp - 0xc]
call fcn.10002840
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034a0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.100066b0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.100071e0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x10017186
mov ecx, ebp
call fcn.1000ebe0
jmp 0x10017234
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x100171fd
mov ecx, ebp
call fcn.1000ebe0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.10016cd0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.10017040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100170ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.10017040
push ebp
push 0x1000ed20
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x10017168
mov al, byte [ebp - 0x110]
test al, al
je 0x10017131
lea eax, [ebp - 0xc]
call fcn.10002840
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034a0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.100066b0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.100071e0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x100170ba
mov ecx, ebp
call fcn.1000ebe0
jmp 0x10017168
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x10017131
mov ecx, ebp
call fcn.1000ebe0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10017234
mov al, byte [ebp - 0x110]
test al, al
je 0x100171fd
lea eax, [ebp - 0xc]
call fcn.10002840
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034a0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.100066b0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.100071e0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x10017186
mov ecx, ebp
call fcn.1000ebe0
jmp 0x10017234
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x100171fd
mov ecx, ebp
call fcn.1000ebe0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.10016cd0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.10017040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10017131
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.10017040
push ebp
push 0x1000ed20
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x10017168
mov al, byte [ebp - 0x110]
test al, al
je 0x10017131
lea eax, [ebp - 0xc]
call fcn.10002840
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034a0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.100066b0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.100071e0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x100170ba
mov ecx, ebp
call fcn.1000ebe0
jmp 0x10017168
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x10017131
mov ecx, ebp
call fcn.1000ebe0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10017234
mov al, byte [ebp - 0x110]
test al, al
je 0x100171fd
lea eax, [ebp - 0xc]
call fcn.10002840
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.100034a0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.100066b0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.100071e0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x10017186
mov ecx, ebp
call fcn.1000ebe0
jmp 0x10017234
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x100308f0
call fcn.10014430
mov edx, 0x100171fd
mov ecx, ebp
call fcn.1000ebe0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.10016cd0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.10017040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10023c40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x28]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
xor eax, eax
push fcn.10023c20
push ebp
push 0x1000ed20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.10005e30
xor eax, eax
push 0x10023d5e
push ebp
push 0x1000f0a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.10023bd0
cmp dword [ebp - 8], 0
je 0x10023cb4
push 0
mov edx, dword [ebp - 8]
lea eax, [ebp - 8]
mov ecx, 0x10032d20
call fcn.10005f30
jmp 0x10023cc1
lea eax, [ebp - 8]
mov edx, 0x10032d30
call fcn.10005e30
mov dword [ebp - 0xc], 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10023cea
mov eax, 0x10037310
push eax
call sub.kernel32.dll_GetVolumeInformationA
lea eax, [ebp - 0x24]
call fcn.10002840
lea eax, [ebp - 0x28]
call fcn.10002840
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x28]
mov eax, 8
call fcn.1000fc50
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call dword [0x100371dc]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.1000fb00
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x10023d37
mov eax, dword [eax - 4]
cmp eax, 8
je 0x10023d48
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.10005e30
jmp 0x10023d53
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x10023d6d
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x10023d6d
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.10023c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10023e80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xb0]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
call fcn.10005e00
xor eax, eax
push fcn.10023e70
push ebp
push 0x1000ed20
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xb0]
xor cl, cl
mov edx, 0x10
call fcn.100023d0
lea eax, [ebp - 0xa0]
xor cl, cl
mov edx, 0x44
call fcn.100023d0
mov byte [ebp - 8], 0
lea edi, [ebp - 0x4c]
lea esi, [ebp - 0xa0]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x5c]
lea esi, [ebp - 0xb0]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
xor eax, eax
push 0x10023f7b
push ebp
push 0x1000f0a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.10002880
lea eax, [ebp - 0x4c]
xor cl, cl
mov edx, 0x44
call fcn.10002d90
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 0x41
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10023f4e
mov eax, 0x10037310
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x10023f70
push dword [ebp - 0x5c]
call sub.kernel32.dll_CloseHandle
push dword [ebp - 0x58]
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 8], 1
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x10023f86
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.10023e70
mov al, byte [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10023fa0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, edx
mov esi, 0
test eax, eax
jne 0x10023fb6
mov eax, 0x10037310
push eax
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateMutexA
mov edi, eax
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x10023fde
push ebx
push edi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x80
jne 0x10023fe0
mov esi, edi
nop
jmp 0x10023fe0
mov esi, edi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100243b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
call fcn.10023ff0
test al, al
jne 0x100243e8
push dword [ebp - 8]
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 4], eax
jmp 0x10024460
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x10024460
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x10]
lea eax, [edx + ecx]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 0x10]
mov edi, eax
mov eax, dword [edi + 0x18]
sub eax, 1
mov esi, eax
test esi, esi
jl 0x10024458
mov ebx, 0xffffffff
add ebx, 1
mov eax, dword [edi + 0x20]
add eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.1000f560
test eax, eax
jne 0x10024454
mov eax, edi
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x10]
movsx eax, word [eax + ebx*2]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x10]
lea eax, [edx + ecx]
mov dword [ebp - 0xc], eax
cmp esi, ebx
jg 0x10024418
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov esi, esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10029e00
Capabilities:
Hash data with md5

Disassembly:
push ebx
push esi
mov esi, eax
mov ebx, edx
mov eax, esi
xor cl, cl
mov edx, 0x78
call fcn.100023d0
mov dword [esi], ebx
mov eax, ebx
test ebx, ebx
je 0x10029e88
sub eax, 1
jb 0x10029e98
sub eax, 1
ja 0x10029e98
mov esi, esi
cmp ebx, 1
jne 0x10029e3f
mov eax, 0x10029840
mov dword [esi + 4], eax
jmp 0x10029e47
mov eax, 0x100290c0
mov dword [esi + 4], eax
mov dword [esi + 8], 0x40
mov dword [esi + 0xc], 0x67452301
mov dword [esi + 0x10], 0xefcdab89
mov dword [esi + 0x14], 0x98badcfe
mov dword [esi + 0x18], 0x10325476
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
jmp 0x10029e98
mov dword [esi + 8], 0x10
mov eax, 0x10029740
mov dword [esi + 4], eax
nop
pop esi
pop ebx
ret

Function at 0x300183aa
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43189c], 0
push esi
jne 0x300183e1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x300183bb
mov dword [ecx*4 + 0x431898], eax
inc ecx
cmp ecx, 0x100
jl 0x300183b6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x30018412
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431898]
xor eax, esi
inc ecx
dec edx
jne 0x300183f4
pop edi
not eax
pop esi
ret 0xc
Function at 0x10002cef
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0x3c]
add ebx, esi
push 0x40
lea eax, [ebx + 0x18]
push 0x3000
push dword [eax + 0x38]
mov dword [ebp - 4], ecx
push 0
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], eax
call dword [0x80605c]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x10002e59
push 0x40
mov edx, esi
mov ecx, edi
call fcn.10003ba0
mov esi, dword [edi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, edi
push eax
mov edx, ebx
mov ecx, esi
call fcn.10003ba0
mov eax, dword [ebp - 8]
lea ebx, [esi + 0x18]
movzx ecx, word [eax + 0x14]
movzx esi, word [esi + 0x14]
lea edx, [eax + 0x18]
movzx eax, word [eax + 6]
add ecx, edx
add esi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x10002db7
mov ebx, ecx
sub ebx, esi
mov edi, eax
push 0x28
lea edx, [ebx + esi]
mov ecx, esi
call fcn.10003ba0
add esi, 0x28
dec edi
jne 0x10002d75
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x10002db7
lea esi, [ecx + 0x14]
mov ebx, eax
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, dword [ebp + 8]
add ecx, edi
call fcn.10003ba0
lea esi, [esi + 0x28]
dec ebx
jne 0x10002d9c
mov ebx, dword [ebp - 0xc]
push ebx
mov edx, edi
mov ecx, edi
call fcn.10004350
push dword [ebp - 0x18]
mov ecx, dword [0x807004]
mov edx, edi
call fcn.10004430
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x10002e56
cmp dword [ebx + 0x64], 0
je 0x10002e56
xor eax, eax
lea ecx, [edx + edi]
inc eax
sub eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
jae 0x10002dfe
push eax
push ecx
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, eax
xor eax, eax
jmp 0x10002e02
xor eax, eax
mov ecx, eax
mov edx, dword [ebp - 4]
push 2
mov dword [edx + 4], ecx
mov edx, dword [ebx + 0x60]
pop ecx
lea esi, [edx + edi]
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
jae 0x10002e2b
push ecx
push esi
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, eax
xor eax, eax
jmp 0x10002e2d
mov ecx, eax
mov edx, dword [ebp - 4]
push 3
mov dword [edx + 8], ecx
mov edx, dword [ebx + 0x60]
pop ecx
lea esi, [edx + edi]
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
jae 0x10002e50
push ecx
push esi
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10002ea4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0x3c]
push 0x40
add ebx, esi
push 0x3000
lea eax, [ebx + 0x18]
mov dword [ebp - 0x1c], ecx
push dword [eax + 0x38]
mov dword [ebp - 0x18], eax
push 0
call dword [0x80605c]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x10002fad
push 0x40
mov edx, esi
mov ecx, edi
call fcn.10003ba0
mov esi, dword [edi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, edi
push eax
mov edx, ebx
mov ecx, esi
call fcn.10003ba0
movzx ecx, word [ebx + 0x14]
lea eax, [esi + 0x18]
movzx esi, word [esi + 0x14]
lea edx, [ebx + 0x18]
movzx ebx, word [ebx + 6]
add ecx, edx
add esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x10002f5c
mov edi, ecx
sub edi, esi
push 0x28
lea edx, [edi + esi]
mov ecx, esi
call fcn.10003ba0
add esi, 0x28
dec ebx
jne 0x10002f22
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ebx, ebx
je 0x10002f5c
lea esi, [ecx + 0x14]
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, dword [ebp + 8]
add ecx, edi
call fcn.10003ba0
lea esi, [esi + 0x28]
dec ebx
jne 0x10002f44
mov ebx, dword [ebp - 0x14]
push ebx
mov edx, edi
mov ecx, edi
call fcn.10004350
push dword [ebp - 0x18]
mov ecx, dword [0x807004]
mov edx, edi
call fcn.10004430
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x10002faa
cmp dword [ebx + 0x64], 0
je 0x10002faa
xor eax, eax
lea ecx, [edx + edi]
inc eax
sub eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
jae 0x10002fa2
push eax
push ecx
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
jmp 0x10002fa4
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10004250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [0x807000]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [0x80607c]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x10004294
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x10004283
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x100042af
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x100042a4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x100042f1
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x100042d4
test esi, esi
je 0x100042fd
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x100042f5
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x807000]
call dword [0x80607c]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call fcn.10001d1b
push ebx
push 0
push dword [0x807000]
call dword [0x806080]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x10012fa6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 0x40], al
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov cl, byte [esp + 0xb]
mov dword [esp + 0x18], edi
mov byte [esi + 0x50], cl
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov byte [esp + 0x18], 1
call dword [0x10013014]
lea edx, [esi + 0x18]
mov dword [esi + 0x6c], eax
push edx
push 0x10015370
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov word [esi + 0x24], di
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call fcn.00a31d84
mov dword [esi + 0x14], eax
lea eax, [esi + 0x60]
push 0x80
push eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov byte [esi + 0x3c], 1
mov byte [esi + 0x3d], 1
call fcn.00a2e874
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x3a167206
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x75c32bba
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5e5578f0
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x34076f9
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219