joyce8/EMBER2024-capa huggingface dataset:
Function at 0x611740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15d000]
push edi
jmp 0x61175a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x611761
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x611750
mov eax, 1
add ebx, ebx
jne 0x611773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x611784
jne 0x6117a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6117a3
dec eax
add ebx, ebx
jne 0x611790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x611768
add ebx, ebx
jne 0x61179f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6117f5
xor ecx, ecx
sub eax, 3
jb 0x6117bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x61182a
sar eax, 1
mov ebp, eax
jmp 0x6117c6
add ebx, ebx
jne 0x6117c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x611794
inc ecx
add ebx, ebx
jne 0x6117d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x611794
add ebx, ebx
jne 0x6117e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6117d6
jne 0x6117f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6117d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x611814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x611806
jmp 0x611756
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x611814
add edi, ecx
jmp 0x611756
pop esi
mov edi, esi
mov ecx, 0x6e51
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x611832
cmp byte [edi], 0x3c
jne 0x611832
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 0x611837
lea edi, [esi + 0x20e000]
mov eax, dword [edi]
or eax, eax
je 0x6118af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22b8d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22b9a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x611864
mov ecx, edi
jns 0x611893
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x22b9a4]
or eax, eax
je 0x6118a9
mov dword [ebx], eax
add ebx, 4
jmp 0x611881
call dword [esi + 0x22b9b4]
mov ebp, dword [esi + 0x22b9a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x6118e3
sub esp, 0xffffff80
jmp 0x4ca3ef
Function at 0x417e72
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00418022
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x417f70
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x417f13
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x417f56
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x417f2a
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x417f45
test al, 0x40
je 0x417f3c
mov ecx, dword [edi + 0x20]
jmp 0x417f43
test al, 0x80
je 0x417f56
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x417f56
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x417ee2
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x49e585
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], 0
lea eax, section..data
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
mov ebx, dword [esi + 0x54]
push edx
push 4
lea edi, [ecx + 0x280]
lea eax, [ebx + 0x280]
mov dword [ebp + 8], edi
mov edx, eax
add eax, eax
and edx, 0xfff
sub eax, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x49e618
mov edx, dword [esi + 0x54]
mov ecx, esi
sub ecx, edi
add edx, ecx
mov ecx, ebx
mov dword [esi + 0x54], edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
lea eax, [ecx + edx*8 + 0x58]
mov ecx, dword [ecx]
shl edx, 3
sub ebx, edx
sub ebx, 0x58
shr ebx, 2
je 0x49e618
mov edx, ebx
mov ebx, dword [eax]
add eax, 4
xor ebx, ecx
dec edx
mov dword [eax - 4], ebx
jne 0x49e60b
push 0x3e8
call sub.EHeXin.dll_GetNewSock
push dword [ebp + 8]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x449014
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46e02c]
jne 0x44901e
repz ret
jmp fcn.0044957d

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x1005323
Capabilities:
Get domain information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebx + 0x18]
call fcn.010050b3
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
call sub.NETAPI32.dll_DsRoleGetPrimaryDomainInformation
test eax, eax
jl 0x100534b
cmp dword [ebp - 4], esi
jne 0x100535a
push esi
push esi
push 1
push 0x459
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov esi, dword [ebp - 4]
sub esp, 0x24
push 9
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0100f9ba
push 0
call dword [sym.imp.msvcrt.dll_time]
push eax
call dword [sym.imp.msvcrt.dll_srand]
cmp dword [ebx + 0x2c], 0
pop ecx
pop ecx
je 0x1005399
mov esi, dword [ebp - 4]
sub esp, 0x24
push 9
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0100e6ba
push dword [ebp - 4]
call sub.NETAPI32.dll_DsRoleFreeMemory
call fcn.0100df9e
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x1006aec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x1006b19
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetMailslotInfo]
test eax, eax
jne 0x1006b1d
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1006b47
push edi
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0xc

Function at 0x100e059
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [0x1012244], 1
je 0x100e07e
mov dword [0x101224c], 0x42a
mov dword [0x1012250], esi
jmp 0x100e089
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x101224c], eax
cmp dword [0x1012180], 0
je 0x100e0a0
cmp dword [0x101223c], 0
je 0x100e0a0
call fcn.0100df9e
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100e0a8
Capabilities:
Listen for remote procedure calls

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
mov dword [0x1012230], esi
call dword [sym.imp.ntdll.dll_RtlGetNtProductType]
test al, al
jne 0x100e0d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100305c
jmp 0x100e176
cmp dword [ebp - 4], 2
jne 0x100e0e4
mov dword [0x1012230], 1
push ebx
push edi
mov edi, dword [sym.imp.RPCRT4.dll_RpcServerRegisterIf2]
push esi
push 0x1000
mov ebx, 0x4d2
push ebx
push esi
push esi
push esi
push dword [0x1012178]
call edi
cmp eax, esi
je 0x100e10f
push eax
push 0x1003044
jmp 0x100e176
push esi
push 0x1000
push ebx
push esi
push esi
push esi
push dword [0x1012148]
call edi
cmp eax, esi
jne 0x100e107
push esi
push 0x1000
push ebx
push esi
push esi
push esi
push dword [0x1012110]
call edi
cmp eax, esi
pop edi
pop ebx
jne 0x100e107
push esi
push 0x1002c50
push 0x64
push 0x1002c3c
call dword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
cmp eax, esi
je 0x100e15c
push eax
push 0x1003028
jmp 0x100e176
push 1
push 0xc8
push 1
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
cmp eax, esi
pop esi
je 0x100e17b
push eax
push 0x1003010
call fcn.0100e059
leave
ret

Function at 0x100e3ae
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [0x10122f8]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
cmp dword [0x1012234], esi
jne 0x100e486
push 0x4c
call fcn.010034c4
cmp eax, esi
pop ecx
je 0x100e3e2
mov ecx, eax
call fcn.01005323
jmp 0x100e3e4
xor eax, eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1012238], eax
cmp dword [eax + 0x2c], esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
je 0x100e459
push 0x10030e0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
push 0x1000
push 0x4d2
push esi
push esi
push esi
push dword [0x1012088]
call dword [sym.imp.RPCRT4.dll_RpcServerRegisterIf2]
cmp eax, esi
je 0x100e42d
push eax
push 0x1003044
jmp 0x100e472
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x100851d
push esi
push esi
call edi
cmp eax, esi
je 0x100e46c
push eax
call ebx
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x100cd23
push esi
push esi
call edi
cmp eax, esi
je 0x100e46c
push eax
call ebx
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x100e337
push esi
push esi
call edi
cmp eax, esi
jne 0x100e477
push esi
push 0x10030c8
call fcn.0100e059
push eax
call ebx
pop edi
mov dword [0x1012234], 1
pop ebx
push dword [0x10122f8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
leave
ret
Function at 0x100e529
Capabilities:
List domain servers

Disassembly:
push ebp
lea ebp, [esp - 0x380]
sub esp, 0x400
mov eax, dword [0x1012210]
push ebx
push esi
push edi
mov dword [ebp + 0x37c], eax
call fcn.0100df9e
mov esi, dword [ebp + 0x388]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 0x390]
lea ecx, [ebp - 0x80]
push ecx
push eax
push dword [ebp + 0x38c]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, edi
shl eax, 3
push eax
lea eax, [ebp - 0x74]
push eax
push 0x64
push 0
call sub.NETAPI32.dll_NetServerEnum
push 0x14
mov ebx, eax
call fcn.010034c4
test eax, eax
pop ecx
je 0x100e599
mov ecx, eax
call fcn.0100e4de
mov dword [ebp - 0x70], eax
jmp 0x100e59d
and dword [ebp - 0x70], 0
test ebx, ebx
je 0x100e5cd
cmp ebx, 0xea
je 0x100e5cd
push edi
push esi
lea eax, [ebp - 0x6c]
push 0x1003224
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push 0x459
lea eax, [ebp - 0x6c]
push eax
call fcn.0100e059
jmp 0x100e604
xor esi, esi
cmp dword [ebp - 0x78], esi
jbe 0x100e604
push 8
call fcn.010034c4
test eax, eax
pop ecx
je 0x100e5ef
mov ecx, dword [ebp - 0x74]
push dword [ecx + 4]
mov ecx, eax
call fcn.01006ede
jmp 0x100e5f1
xor eax, eax
mov ecx, dword [ebp - 0x70]
push eax
call fcn.01006ce4
add dword [ebp - 0x74], 8
inc esi
cmp esi, dword [ebp - 0x78]
jb 0x100e5d4
mov ecx, dword [ebp + 0x37c]
mov eax, dword [ebp - 0x70]
pop edi
pop esi
pop ebx
call fcn.01010ba0
add ebp, 0x380
leave
ret 0xc
Function at 0x100e6ba
Capabilities:
Get domain controller name
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1012210]
push ebx
push esi
push edi
push 0x10
pop esi
mov dword [ebp - 4], eax
mov ebx, ecx
mov dword [ebp - 0x2c], esi
call fcn.0100df9e
push 0x38
call fcn.010034c4
xor edi, edi
cmp eax, edi
pop ecx
je 0x100e6f0
push ebx
mov ecx, eax
call fcn.0100e61f
jmp 0x100e6f2
xor eax, eax
push 0x14
mov dword [ebx + 0x10], eax
call fcn.010034c4
cmp eax, edi
pop ecx
je 0x100e70a
mov ecx, eax
call fcn.0100e4de
jmp 0x100e70c
xor eax, eax
push 0xc
mov dword [ebx + 0xc], eax
call fcn.010034c4
cmp eax, edi
pop ecx
je 0x100e725
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x100e727
xor eax, eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x40], 0x1c20
mov dword [ebx + 8], edi
call fcn.0100df9e
push esi
call fcn.010034c4
cmp eax, edi
pop ecx
mov esi, 0x410
je 0x100e758
push esi
push 0x100282c
mov ecx, eax
call fcn.01006a83
jmp 0x100e75a
xor eax, eax
mov dword [ebx + 0x44], eax
call fcn.0100df9e
push 0x10
call fcn.010034c4
cmp eax, edi
pop ecx
je 0x100e77d
push esi
push 0x1002c7c
mov ecx, eax
call fcn.01006a83
jmp 0x100e77f
xor eax, eax
mov dword [ebx + 0x48], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x100e7a3
push edi
push edi
push 1
push 0x459
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 8
call fcn.010034c4
cmp eax, edi
pop ecx
je 0x100e7bc
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.01006ede
jmp 0x100e7be
xor eax, eax
sub esp, 0x24
push 9
pop ecx
mov edi, esp
lea esi, [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov dword [ebx + 0x20], eax
call fcn.0100e495
test eax, eax
jne 0x100e7e8
push 0x459
push 0x100326c
call fcn.0100e059
mov eax, dword [ebx + 4]
xor esi, esi
sub eax, esi
je 0x100e823
dec eax
je 0x100e805
push 0x459
push 0x1003258
call fcn.0100e059
jmp 0x100e82d
call fcn.0100df9e
lea eax, [ebp - 0x28]
push eax
push esi
push esi
call sub.NETAPI32.dll_NetGetDCName
cmp eax, esi
je 0x100e83c
cmp eax, 0xea
je 0x100e83c
mov dword [ebx + 4], esi
mov ecx, ebx
mov dword [ebx + 0x24], esi
call fcn.0100e504
mov ecx, dword [ebp - 4]
call fcn.01010ba0
pop edi
pop esi
pop ebx
leave
ret 0x24
push 8
call fcn.010034c4
cmp eax, esi
pop ecx
je 0x100e858
mov ecx, dword [ebp - 0x28]
add ecx, 4
push ecx
mov ecx, eax
call fcn.01006ede
jmp 0x100e85a
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x24], eax
call fcn.0100e682
jmp 0x100e82d
Function at 0x1010ba0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1012210]
jne 0x1010ba9
ret
jmp 0x1010bae
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x1012210]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x101230c]
test eax, eax
je 0x1010bd2
call eax
cmp dword [0x1012310], 0
je 0x1010c19
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x1012310]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.01010ba0
add ebp, 0x2a8
leave
ret

Function at 0x1010c3e
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1003440
call fcn.01010dc4
cmp word [0x1000000], 0x5a4d
jne 0x1010c7d
mov eax, dword [0x100003c]
cmp dword [eax + 0x1000000], 0x4550
jne 0x1010c7d
movzx ecx, word [eax + 0x1000018]
cmp ecx, 0x10b
je 0x1010c96
cmp ecx, 0x20b
je 0x1010c83
and dword [ebp - 0x1c], 0
jmp 0x1010cad
cmp dword [eax + 0x1000084], 0xe
jbe 0x1010c7d
xor ecx, ecx
cmp dword [eax + 0x10000f8], ecx
jmp 0x1010ca7
cmp dword [eax + 0x1000074], 0xe
jbe 0x1010c7d
xor ecx, ecx
cmp dword [eax + 0x10000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1012318], 0xffffffff
or dword [0x101231c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1012308]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1012304]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1012314], eax
call fcn.0100937f
cmp dword [0x1012214], 0
jne 0x1010d0a
push fcn.0100937f
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01010e66
push 0x101202c
push 0x1012028
call sub.msvcrt.dll__initterm
mov eax, dword [0x1012300]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x10122fc]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1012024
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100e23f
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], 0
jne 0x1010d82
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1010db7
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01010dff
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x6967383f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x62b75b73
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4016e7
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push 0x18
push 0x4030d8
call fcn.00402e68
xor edi, edi
mov dword [ebp - 0x24], edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
call fcn.00401bb7
test eax, eax
jne 0x401719
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4017c8
call fcn.00401e61
test eax, eax
jne 0x40172a
push 5
pop esi
jmp 0x4017c8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
jne 0x401738
push 0x57
jmp 0x401724
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
cmp dword [ebp - 0x20], 2
jl 0x401734
lea eax, [ebp - 0x24]
push eax
push 0x40113c
push dword [esi + 4]
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
cmp eax, 1
jne 0x401734
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x24]
dec eax
sub eax, 1
je 0x40178c
dec eax
sub eax, 1
jne 0x40177d
cmp dword [ebp - 0x20], 3
je 0x401782
push 0x57
pop esi
jmp 0x4017be
mov ecx, dword [esi + 8]
call fcn.0040168f
jmp 0x4017bc
cmp dword [ebp - 0x20], 5
jne 0x40177d
push dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
call fcn.00401620
jmp 0x4017bc
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.00401c3c
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]