joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c7e0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476890
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
call fcn.004053a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46c872
cmp dword [ebp - 0x3c], 0x6f
je 0x46c872
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401a20
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401a70
mov eax, dword [ebp + 8]
jmp 0x46c9a7
mov eax, dword [ebp - 0x38]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46c8b3
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401a20
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401a70
mov eax, dword [ebp + 8]
jmp 0x46c9a7
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x46c8fa
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401a20
mov ecx, dword [ebp - 0x40]
or ecx, 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401a70
mov eax, dword [ebp + 8]
jmp 0x46c9a7
lea ecx, [ebp - 0x34]
call fcn.00402df0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x199]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x198]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x197]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x196]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x195]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x194]
push ecx
push str._02X_02X_02X_02X_02X_02X
lea edx, [ebp - 0x34]
push edx
call fcn.004058b0
add esp, 0x20
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x34]
call fcn.00405440
push eax
lea ecx, [ebp - 0x30]
call fcn.004053d0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401a20
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004034b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401a70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043ad5b
mov esp, ebp
pop ebp
ret
Function at 0x46c9c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4768c5
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x497750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0x264
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x46cad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x14]
call fcn.00402df0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push edx
movzx eax, word [ebp - 0x16]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
movzx edx, word [ebp - 0x1a]
push edx
movzx eax, word [ebp - 0x1c]
push eax
movzx ecx, word [ebp - 0x1e]
push ecx
movzx edx, word [ebp - 0x22]
push edx
movzx eax, word [ebp - 0x24]
push eax
push str._r_n_d__02d__02d__02d:_02d:_02d._03d_:__s
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402dc0
add esp, 0x28
lea ecx, [ebp - 0x14]
call fcn.00406be0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x258], 0xffffffff
je 0x46caa5
lea ecx, [ebp - 0x14]
call fcn.00402920
shl eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00406be0
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x254
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x254]
mov eax, dword [edx + 0x38]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004034b0
jmp 0x46cab9
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x264
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004034b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x6400b120
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2f34
call fcn.64017df0
mov eax, dword [0x6402c09c]
xor eax, esp
mov dword [esp + 0x2f30], eax
push ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push edi
push 0x64028068
push 0x12
push 0x64028090
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov byte [esp + 0x37], 0
call fcn.64006b80
add esp, 0xc
push eax
call fcn.6400df80
call eax
mov esi, eax
cmp esi, 0xffffffff
jne 0x6400b19b
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f30]
xor ecx, esp
call fcn.6401257c
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x2710
lea edx, [esp + 0x82c]
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.64012c00
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x834]
push ecx
push 0xc
lea edx, [esp + 0x38]
push edx
push 0x2d1400
push esi
call fcn.6400e2b0
call eax
test eax, eax
je 0x6400b254
mov eax, dword [esp + 0x838]
push edi
lea edi, [esp + 0x444]
lea ecx, [esp + 0x82c]
call fcn.6400afb0
mov eax, dword [esp + 0x844]
add esp, 4
push 1
lea edi, [esp + 0x5c]
lea ecx, [esp + 0x82c]
call fcn.6400afb0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, edi
push eax
call fcn.64002810
lea ecx, [esp + 0x440]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.64002810
mov byte [esp + 0x13], 1
xor edi, edi
xor eax, eax
push edi
lea edx, [esp + 0x24]
push edx
push 0x28
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x3c]
push eax
push edi
push edi
push 0x700a0
push esi
mov dword [esp + 0x50], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
call fcn.6400e2b0
call eax
test eax, eax
je 0x6400b2b0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
push esi
call dword [0x64024040]
mov ecx, dword [esp + 0x2f3c]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6401257c
mov esp, ebp
pop ebp
ret
Function at 0x6400c3b0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
sub esp, 0x800
push ebx
push ebp
xor ecx, ecx
push esi
lea eax, [ecx + 1]
push edi
nop
mov edx, eax
and dl, 0x80
neg dl
lea esi, [eax + eax]
mov dword [esp + ecx*4 + 0x410], eax
mov dword [esp + eax*4 + 0x10], ecx
sbb edx, edx
and edx, 0x1b
xor edx, esi
xor edx, eax
and edx, 0xff
add ecx, 1
cmp ecx, 0x100
mov eax, edx
jl 0x6400c3c0
mov eax, 1
mov ecx, 0x6402e968
jmp 0x6400c400
mov edx, eax
and dl, 0x80
neg dl
mov dword [ecx], eax
sbb edx, edx
and edx, 0x1b
add eax, eax
xor edx, eax
and edx, 0xff
add ecx, 4
cmp ecx, 0x6402e990
mov eax, edx
jl 0x6400c400
mov byte [0x6402e068], 0x63
mov byte [0x640301f3], 0
mov ebx, 1
mov ecx, dword [esp + ebx*4 + 0x10]
add ecx, ecx
add ecx, ecx
lea edx, [esp + 0x80c]
sub edx, ecx
mov eax, dword [edx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, 0xff
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, 0xff
xor eax, edx
mov byte [ebx + 0x6402e068], al
mov byte [eax + 0x64030190], bl
add ebx, 1
cmp ebx, 0x100
jl 0x6400c438
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [ecx + 0x6402e068]
mov eax, edx
and al, 0x80
neg al
lea esi, [edx + edx]
sbb eax, eax
and eax, 0x1b
xor eax, esi
and eax, 0xff
mov esi, eax
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, esi
mov dword [ecx*4 + 0x6402fd90], eax
rol eax, 8
mov dword [ecx*4 + 0x6402f990], eax
rol eax, 8
mov dword [ecx*4 + 0x6402f590], eax
rol eax, 8
mov dword [ecx*4 + 0x6402f190], eax
movzx eax, byte [ecx + 0x64030190]
test eax, eax
je 0x6400c561
mov esi, dword [esp + eax*4 + 0x10]
mov edx, dword [esp + 0x48]
lea eax, [esi + edx]
cdq
mov edi, 0xff
idiv edi
mov eax, dword [esp + 0x34]
add eax, esi
mov ebp, dword [esp + edx*4 + 0x410]
cdq
idiv edi
mov ebx, dword [esp + edx*4 + 0x410]
mov edx, dword [esp + 0x44]
lea eax, [esi + edx]
cdq
idiv edi
mov eax, dword [esp + 0x3c]
add eax, esi
mov esi, 0xff
mov edi, dword [esp + edx*4 + 0x410]
cdq
idiv esi
mov edx, dword [esp + edx*4 + 0x410]
jmp 0x6400c569
xor ebp, ebp
xor ebx, ebx
xor edi, edi
xor edx, edx
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ebx
shl edx, 8
xor edx, ebp
mov dword [ecx*4 + 0x6402ed90], edx
rol edx, 8
mov dword [ecx*4 + 0x6402e990], edx
rol edx, 8
mov dword [ecx*4 + 0x6402e568], edx
rol edx, 8
mov dword [ecx*4 + 0x6402e168], edx
add ecx, 1
cmp ecx, 0x100
jl 0x6400c4b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret
Function at 0x6400cad0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x11c
push esi
push edi
mov edi, eax
lea esi, [edi + 8]
lea eax, [esp + 8]
mov dword [edi], 0xa
mov dword [edi + 4], esi
call fcn.6400c5c0
mov eax, dword [esp + 8]
shl eax, 4
add eax, dword [esp + 0xc]
add esi, 4
mov ecx, dword [eax]
mov dword [esi - 4], ecx
mov edx, dword [eax + 4]
add eax, 4
mov dword [esi], edx
mov ecx, dword [eax + 4]
add eax, 4
add esi, 4
mov dword [esi], ecx
mov edx, dword [eax + 4]
add eax, 4
add esi, 4
mov dword [esi], edx
mov ecx, dword [edi]
sub ecx, 1
add esi, 4
sub eax, 0x1c
test ecx, ecx
jle 0x6400cc85
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x6402e068]
mov edx, dword [edx*4 + 0x6402e168]
movzx edi, byte [eax + 2]
movzx edi, byte [edi + 0x6402e068]
xor edx, dword [edi*4 + 0x6402e568]
movzx edi, byte [eax + 1]
movzx edi, byte [edi + 0x6402e068]
xor edx, dword [edi*4 + 0x6402e990]
mov edi, dword [eax]
and edi, 0xff
movzx edi, byte [edi + 0x6402e068]
xor edx, dword [edi*4 + 0x6402ed90]
add eax, 0x10
mov dword [esi], edx
mov edx, dword [eax - 0xc]
movzx edi, byte [eax - 9]
movzx edi, byte [edi + 0x6402e068]
and edx, 0xff
movzx edx, byte [edx + 0x6402e068]
mov edx, dword [edx*4 + 0x6402ed90]
xor edx, dword [edi*4 + 0x6402e168]
movzx edi, byte [eax - 0xa]
movzx edi, byte [edi + 0x6402e068]
xor edx, dword [edi*4 + 0x6402e568]
movzx edi, byte [eax - 0xb]
movzx edi, byte [edi + 0x6402e068]
xor edx, dword [edi*4 + 0x6402e990]
sub ecx, 1
mov dword [esi + 4], edx
mov edx, dword [eax - 8]
movzx edi, byte [eax - 5]
movzx edi, byte [edi + 0x6402e068]
and edx, 0xff
movzx edx, byte [edx + 0x6402e068]
mov edx, dword [edx*4 + 0x6402ed90]
xor edx, dword [edi*4 + 0x6402e168]
movzx edi, byte [eax - 6]
movzx edi, byte [edi + 0x6402e068]
xor edx, dword [edi*4 + 0x6402e568]
movzx edi, byte [eax - 7]
movzx edi, byte [edi + 0x6402e068]
xor edx, dword [edi*4 + 0x6402e990]
add esi, 0x10
mov dword [esi - 8], edx
mov edx, dword [eax - 4]
movzx edi, byte [eax - 1]
movzx edi, byte [edi + 0x6402e068]
and edx, 0xff
movzx edx, byte [edx + 0x6402e068]
mov edx, dword [edx*4 + 0x6402ed90]
xor edx, dword [edi*4 + 0x6402e168]
movzx edi, byte [eax - 2]
movzx edi, byte [edi + 0x6402e068]
xor edx, dword [edi*4 + 0x6402e568]
movzx edi, byte [eax - 3]
movzx edi, byte [edi + 0x6402e068]
xor edx, dword [edi*4 + 0x6402e990]
sub eax, 0x20
test ecx, ecx
mov dword [esi - 4], edx
jg 0x6400cb33
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
add esi, 4
add eax, 4
mov dword [esi], edx
mov ecx, dword [eax + 4]
add esi, 4
add eax, 4
mov dword [esi], ecx
mov edx, dword [eax + 4]
pop edi
mov dword [esi + 4], edx
pop esi
add esp, 0x11c
ret
Function at 0x6400d700
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x6402c09c]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x34]
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, edx
mov dword [esp + 0x24], eax
jne 0x6400d7e7
test ecx, ecx
jle 0x6400d8c6
lea eax, [ecx - 1]
mov ebx, ebp
shr eax, 4
sub ebx, esi
add eax, 1
mov dword [esp + 0x10], eax
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov eax, dword [edi + 8]
push esi
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x38], eax
push 0
push edx
mov eax, edi
mov dword [esp + 0x44], ecx
call fcn.6400ccb0
mov eax, esi
add esp, 0xc
lea ecx, [ebp + 2]
mov esi, 4
nop
movzx edx, byte [ebx + eax]
xor byte [eax], dl
movzx edx, byte [ecx - 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
sub esi, 1
jne 0x6400d780
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x38]
add edi, 0x10
sub ebx, 0x10
sub dword [esp + 0x10], 1
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov esi, eax
jne 0x6400d748
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.6401257c
add esp, 0x30
ret
test ecx, ecx
jle 0x6400d8c6
mov eax, ebp
sub eax, esi
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, edi
mov dword [esp + 0x14], eax
lea eax, [ecx - 1]
shr eax, 4
add eax, 1
mov dword [esp + 0x1c], eax
lea esp, [esp]
lea eax, [ebp + 3]
mov edx, esi
sub edx, edi
mov dword [esp + 0x20], eax
lea ecx, [esi + 1]
mov eax, edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], 4
jmp 0x6400d834
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
movzx ebx, byte [eax + ebx]
xor bl, byte [eax]
add eax, 4
mov byte [edx + eax - 4], bl
mov edx, dword [esp + 0x10]
mov dl, byte [ecx + edx]
xor dl, byte [eax - 3]
add ecx, 4
mov byte [ecx - 4], dl
movzx ebx, byte [eax - 2]
mov edx, dword [esp + 0x20]
xor bl, byte [edx - 1]
add edx, 4
mov byte [ecx - 3], bl
movzx ebx, byte [eax - 1]
xor bl, byte [edx - 4]
mov dword [esp + 0x20], edx
mov byte [ecx - 2], bl
mov ebx, 1
sub dword [esp + 0x18], ebx
jne 0x6400d830
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
push esi
push eax
push ecx
mov eax, esi
call fcn.6400ccb0
mov edx, dword [esi]
mov dword [ebp], edx
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov ecx, dword [esi + 8]
mov eax, 0x10
sub dword [esp + 0x20], eax
sub dword [esp + 0x1c], eax
mov dword [ebp + 8], ecx
mov edx, dword [esi + 0xc]
add esp, 0xc
add edi, eax
add esi, eax
sub dword [esp + 0x1c], ebx
mov dword [ebp + 0xc], edx
jne 0x6400d810
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6401257c
add esp, 0x30
ret
Function at 0x404f30
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1024
call fcn.004142a0
mov eax, dword [0x4312dc]
mov ecx, dword [0x42feb8]
shr eax, 3
test eax, eax
jbe 0x404fe9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x4312dc], 0x959
jne 0x404fcf
lea eax, [esp + 0x18]
push eax
push 0x403404
call esi
push 0
lea ecx, [esp + 0x438]
push ecx
push 0
push 0
push 0
push 0
call edi
push 0x40343c
push 0
lea edx, [esp + 0x3c]
push edx
push 0x403450
push 0x403490
call ebx
push 0
lea eax, [esp + 0x838]
push eax
push 0
push 0x4034b8
push 0
push 0
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00404d70
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x404f74
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1024
ret
Function at 0x409a26
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4163d4]
jne 0x409a30
repz ret
jmp fcn.0040f72c

Function at 0x413b4b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040ddd3
and dword [ebp - 4], 0
cmp dword [0x42ccd4], 0
mov ebx, eax
jne 0x413bfc
push 0x403374
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413cad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403368
push edi
call esi
test eax, eax
je 0x413cad
push eax
call fcn.0040dd61
mov dword [esp], 0x403358
push edi
mov dword [0x42ccd4], eax
call esi
push eax
call fcn.0040dd61
mov dword [esp], 0x403344
push edi
mov dword [0x42ccd8], eax
call esi
push eax
call fcn.0040dd61
mov dword [esp], 0x403328
push edi
mov dword [0x42ccdc], eax
call esi
push eax
call fcn.0040dd61
pop ecx
mov dword [0x42cce4], eax
test eax, eax
je 0x413bfc
push 0x403310
push edi
call esi
push eax
call fcn.0040dd61
pop ecx
mov dword [0x42cce0], eax
mov eax, dword [0x42cce0]
cmp eax, ebx
je 0x413c54
cmp dword [0x42cce4], ebx
je 0x413c54
push eax
call fcn.0040dddc
push dword [0x42cce4]
mov esi, eax
call fcn.0040dddc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c54
test edi, edi
je 0x413c54
call esi
test eax, eax
je 0x413c4b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c4b
test byte [ebp - 0xc], 1
jne 0x413c54
or dword [ebp + 0x10], 0x200000
jmp 0x413c8d
mov eax, dword [0x42ccd8]
cmp eax, ebx
je 0x413c8d
push eax
call fcn.0040dddc
pop ecx
test eax, eax
je 0x413c8d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413c8d
mov eax, dword [0x42ccdc]
cmp eax, ebx
je 0x413c8d
push eax
call fcn.0040dddc
pop ecx
test eax, eax
je 0x413c8d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42ccd4]
call fcn.0040dddc
pop ecx
test eax, eax
je 0x413cad
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413caf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x55525b84
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xe157e67
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x432006
Capabilities:
Encode data using xor

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