joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b2c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 4
imul ecx, eax, 0
cmp dword [ecx + 0x422ab0], 0
jne 0x40b2dc
call fcn.0040b490
cmp dword [0x423474], 0x270
jl 0x40b42f
mov dword [ebp - 0xc], 0x7fffffff
mov dword [ebp - 0x10], 0x80000000
mov dword [ebp - 8], 0
jmp 0x40b30c
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0xe3
jge 0x40b361
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x422ab0]
and ecx, 0x80000000
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x422ab4]
and eax, 0x7fffffff
or ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
shr ecx, 1
mov edx, dword [ebp - 8]
xor ecx, dword [edx*4 + 0x4230e4]
mov eax, dword [ebp - 4]
and eax, 1
xor ecx, dword [eax*4 + 0x418044]
mov edx, dword [ebp - 8]
mov dword [edx*4 + 0x422ab0], ecx
jmp 0x40b303
jmp 0x40b36c
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x26f
jge 0x40b3c2
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x422ab0]
and edx, 0x80000000
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x422ab4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp - 8]
xor edx, dword [eax*4 + 0x422724]
mov ecx, dword [ebp - 4]
and ecx, 1
xor edx, dword [ecx*4 + 0x418044]
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x422ab0], edx
jmp 0x40b363
mov ecx, 4
imul edx, ecx, 0x26f
mov eax, dword [edx + 0x422ab0]
and eax, 0x80000000
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [edx + 0x422ab0]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 4], eax
mov edx, 4
imul eax, edx, 0x18c
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, dword [eax + 0x422ab0]
mov edx, dword [ebp - 4]
and edx, 1
xor ecx, dword [edx*4 + 0x418044]
mov eax, 4
imul edx, eax, 0x26f
mov dword [edx + 0x422ab0], ecx
mov dword [0x423474], 0
mov eax, dword [0x423474]
mov ecx, dword [eax*4 + 0x422ab0]
mov dword [ebp - 4], ecx
mov edx, dword [0x423474]
add edx, 1
mov dword [0x423474], edx
mov eax, dword [ebp - 4]
shr eax, 0xb
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 7
and ecx, 0x9d2c5680
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shl edx, 0xf
and edx, 0xefc60000
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shr eax, 0x12
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40b490
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], 0x6c078965
call fcn.00401ab0
mov eax, dword [eax + 0x1a4]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40b4ea
lea ecx, [ebp - 0x18]
push ecx
call fcn.00401ab0
mov edx, dword [eax + 0x198]
call edx
test eax, eax
jne 0x40b4ea
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00401ab0
mov edx, dword [eax + 0x19c]
call edx
movzx eax, al
test eax, eax
je 0x40b4ea
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x40b4f7
mov dword [ebp - 4], 0x1337
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov dword [eax + 0x422ab0], ecx
mov dword [0x423474], 1
jmp 0x40b523
mov edx, dword [0x423474]
add edx, 1
mov dword [0x423474], edx
cmp dword [0x423474], 0x270
jge 0x40b563
mov eax, dword [0x423474]
mov ecx, dword [eax*4 + 0x422aac]
shr ecx, 0x1e
mov edx, dword [0x423474]
xor ecx, dword [edx*4 + 0x422aac]
imul ecx, dword [ebp - 0x10]
add ecx, dword [0x423474]
mov eax, dword [0x423474]
mov dword [eax*4 + 0x422ab0], ecx
jmp 0x40b514
mov dword [ebp - 8], 0
jmp 0x40b575
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x25
jge 0x40b582
call fcn.0040b2c0
jmp 0x40b56c
mov dword [0x422aac], 0
mov esp, ebp
pop ebp
ret
Function at 0x40a520
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x40a2f0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00412fdf
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xf2f9acf9
jmp 0x40a580
mov dword [ebp - 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
cmp eax, 0x66c3c774
jg 0x40a5b0
cmp eax, 0x8b23e0aa
jg 0x40a5d0
cmp eax, 0x84c33862
jne 0x40a580
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x10], 0xcfdbea6e
jmp 0x40a580
cmp eax, 0x66c3c775
jne 0x40a580
mov eax, 0x84c33862
cmp dword [ebp - 0xc], 0
jne 0x40a574
mov eax, 0xcfdbea6e
jmp 0x40a574
cmp eax, 0xcec709fa
jg 0x40a5e3
cmp eax, 0x8b23e0ab
jne 0x40a580
jmp 0x40a70e
cmp eax, 0x5d547b55
jg 0x40a616
cmp eax, 0x5a53ef28
jg 0x40a62d
cmp eax, 0x4b8098bc
jg 0x40a644
cmp eax, 0xcfdbea6d
jg 0x40a65b
cmp eax, 0xcec709fb
jne 0x40a580
mov dword [ebp - 0x10], 0x66c3c775
jmp 0x40a580
cmp eax, 0x5d547b56
jne 0x40a580
mov dword [ebp - 0x10], 0x12c2f58e
jmp 0x40a580
cmp eax, 0x5a53ef29
jne 0x40a580
mov dword [ebp - 0x10], 0x8b23e0ab
jmp 0x40a580
cmp eax, 0x4b8098bd
jne 0x40a580
mov dword [ebp - 0x10], 0x5a53ef29
jmp 0x40a580
cmp eax, 0xe99efe26
jg 0x40a679
cmp eax, 0xcfdbea6e
jne 0x40a580
mov dword [ebp - 0x10], 0x5a53ef29
jmp 0x40a580
cmp eax, 0xf2f9acf8
jg 0x40a6ae
cmp eax, 0xe99efe27
jne 0x40a580
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0x10], 0x12c2f58e
jmp 0x40a580
cmp eax, 0xf2f9acf9
je 0x40a6c8
cmp eax, 0x127b2d14
jne 0x40a6e0
mov dword [ebp - 0x10], 0x66c3c775
jmp 0x40a580
mov eax, 0xcec709fb
cmp dword [ebp - 4], 0
je 0x40a6d8
mov eax, 0x5d547b56
mov dword [ebp - 0x10], eax
jmp 0x40a580
cmp eax, 0x12c2f58e
jne 0x40a580
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0x10], 0x127b2d14
jmp 0x40a580
add esp, 0x28
pop ebp
ret
Function at 0x40b660
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [0x40c414]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0xe6e14189
jmp 0x40b6b0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x302536b6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x20]
cmp eax, 0xd08867e3
jg 0x40b730
cmp eax, 0x994e7d3b
jne 0x40b6b0
mov dword [esp], 0
call fcn.0040b7d0
mov esi, eax
call fcn.00401ed0
imul eax, esi
mov dword [esp], eax
call fcn.00412a6e
mov eax, dword [ebp - 0x14]
movzx esi, word [eax]
mov dword [esp], eax
call fcn.00403450
mov ecx, dword [ebp - 0x14]
movzx edi, word [ecx + eax*2 - 2]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
neg eax
lea ecx, [esi + edi - 0x69bbbf1]
sub ecx, eax
add ecx, 0x69bbbf1
mov dword [ebp - 0x18], ecx
mov eax, 0xd08867e4
cmp ecx, dword [ebp - 0x1c]
je 0x40b71e
mov eax, 0x30da0e87
mov dword [ebp - 0x20], eax
jmp 0x40b6b0
cmp eax, 0x586a848a
jg 0x40b770
cmp eax, 0xe6e14188
jg 0x40b780
cmp eax, 0xd08867e4
jne 0x40b6b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41c11c], eax
call fcn.00412a4b
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x302536b6
jmp 0x40b6b0
cmp eax, 0x586a848b
jne 0x40b6b0
jmp 0x40b693
cmp eax, 0xe6e14189
je 0x40b79f
cmp eax, 0x30da0e87
je 0x40b693
cmp eax, 0x302536b6
jne 0x40b6b0
jmp 0x40b7b7
mov eax, 0x586a848b
cmp dword [ebp - 0xc], 0
je 0x40b7af
mov eax, 0x994e7d3b
mov dword [ebp - 0x20], eax
jmp 0x40b6b0
mov eax, dword [ebp - 0x10]
add esp, 0x1c
pop esi
pop edi
pop ebp
ret
Function at 0x41aa8a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41c690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004178e7
mov dword [ebp - 0x14], eax
cmp dword [0x469718], edi
jne 0x41ab7b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41ab08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41ac5b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41ac5b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41ac5b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x469718], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x46971c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x469720], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x469728], eax
test eax, eax
je 0x41ab78
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x469724], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41aba0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41ab93
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41abb5
push 4
pop eax
jmp 0x41ac5d
cmp dword [ebp - 0x14], edi
je 0x41abb5
push dword [0x469718]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41ab9a
mov eax, dword [0x469724]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41ac13
cmp dword [0x469728], esi
je 0x41ac13
push eax
call ebx
push dword [0x469728]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41ac13
test eax, eax
je 0x41ac13
call ecx
test eax, eax
je 0x41ac08
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41ac08
test byte [ebp - 8], 1
jne 0x41ac13
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41ac43
mov eax, dword [0x46971c]
cmp eax, esi
je 0x41ac40
push eax
call ebx
test eax, eax
je 0x41ac40
call eax
mov edi, eax
test edi, edi
je 0x41ac40
mov eax, dword [0x469720]
cmp eax, esi
je 0x41ac40
push eax
call ebx
test eax, eax
je 0x41ac40
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x469718]
call ebx
test eax, eax
je 0x41ac5b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41ac5d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004149e9
leave
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x9049e5
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00904a64
jae 0x9049f1
xor ecx, ecx
call fcn.00904a64
jae 0x904a1b
xor eax, eax
call fcn.00904a64
jae 0x904a2c
mov al, 0x10
call fcn.00904a64
adc al, al
jae 0x904a0d
jne 0x904a59
stosb byte es:[edi], al
jmp 0x9049f2
call fcn.00904a70
dec ecx
loop 0x904a38
mov eax, ebp
call fcn.00904a6e
jmp 0x904a5a
lodsb al, byte [esi]
shr eax, 1
je 0x904a80
adc ecx, 2
mov ebp, eax
jmp 0x904a5a
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00904a6e
cmp eax, 0x7d00
jae 0x904a58
cmp eax, 0x500
jae 0x904a59
cmp eax, 0x7f
ja 0x904a5a
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9049f2
pop ebp
ret 8
Function at 0x4300db
Capabilities:
Parse pe header

Disassembly:
add edi, 0x30a84f1b
push esp
sub edi, 0x30a84f1b
mov dword [esp], edi
push esi
push edi
add esp, 4
add esp, 4
mov esi, dword [esp + 4]
add esp, 8
push 0x10
sub esi, dword [esp]
add esp, 4
push edi
lea edi, [esi]
sub edi, 0x3fd15e47
xchg edi, esi
pop edi
push eax
lea eax, [esi]
add eax, 0x3fd15e47
xchg eax, esi
pop eax
mov dword [esp - 4], esi
push esi
push edi
sub edi, esi
pop edi
add esi, 0x5ef8622c
push esp
sub esi, 0x5ef8622c
mov dword [esp], esi
push eax
mov dword [esp], ebx
push esi
add ebx, esi
add esi, eax
pop esi
push esi
push esi
mov ebx, dword [esp + 8]
add esp, 0xc
push edi
mov esi, esp
mov dword [esi], ebx
pop esi
push 5
mov esi, dword [esp]
add esp, 4
mov dword [esp], esi
jmp 0x42feae
mov ebx, dword [esp]
add esp, 4
push edi
push ebx
sub ebx, edi
pop ebx
push edi
push esi
pop esi
mov esi, dword [esp + 8]
add esp, 0xc
mov dword [esi], ebx
push esp
push eax
push esi
pop esi
mov esi, dword [esp + 4]
add esp, 8
jmp 0x42fed2
mov esi, dword [esp]
add esp, 4
push ebx
pop ebx
push eax
push eax
add esp, 4
mov dword [esp], esi
mov ebx, dword [esp + 4]
add esp, 8
pushal
call 0x42feef
pop ebx
mov eax, 0x50031494
sub eax, 0x50031202
add eax, ebx
xor dword [eax], 0x78c9aed2
call 0x4300db
jmp 0x43003f
call fcn.0042ff0c
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add byte [ecx - 0x17], ah
cmpsb byte [esi], byte es:[edi]
add byte [eax], al
add byte [ebp - 0x75], dl
in al, dx
mov ebx, 0x77000000
add ebx, 0x10000
cmp ebx, 0x80000000
jne 0x4300f6
mov ebx, 0xbff00000
call fcn.0043013a
cmp eax, 0
je 0x4300e3
cmp word [ebx], 0x5a4d
jne 0x4300e3
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp word [eax], 0x4550
jne 0x4300e3
test byte [eax + 0x17], 0x20
je 0x4300e3
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, dword [eax + 0xc]
add edx, ebx
cmp dword [edx], 0x4e52454b
jne 0x4300e3
cmp dword [edx + 4], 0x32334c45
jne 0x4300e3
mov eax, ebx
mov esp, ebp
pop ebp
ret
Function at 0x430df3
Capabilities:
Check for trap flag exception

Disassembly:
verr si
pushal
add edx, edi
sub edx, edi
call 0x430e00
verr di
pushal
mov esi, ebx
add edi, esi
popal
pop edx
mov eax, 0x10a
push esi
push edi
xor esi, 0x5c87
xor edi, 0x2568
pop edi
pop esi
push esi
lsl esi, ebx
pop esi
add eax, edx
push edi
push esi
nop
mov edi, 0x4a89
xor esi, 0x3e7d
pop esi
pop edi
push edi
push esi
pop esi
pop edi
push eax
push ebx
str ebx
pop ebx
xchg edi, eax
xchg eax, edi
mov edx, 0
push dword fs:[edx]
push esi
xor esi, ebx
pop esi
mov dword fs:[edx], esp
cmc
cmc
pushal
add edi, esi
popal
xor ecx, 0x7438
xor ecx, 0x7438
mov ecx, 0
push esi
add esi, edi
pop esi
xor edi, ebx
xor edi, ebx
div ecx
pushal
xor eax, edx
popal
add eax, edi
sub eax, edi
mov ecx, edx
pushfd
push eax
ror eax, cl
pop eax
pushfd
push esi
xor esi, ebx
pop esi
or dword [esp], 0x100
push esi
mov esi, 0xff0f
pop esi
popfd
inc edx
popfd
not ebx
not ebx
cmp edx, ecx
jmp 0x430ea1
je 0x430ed6
verr di
push eax
neg eax
pop eax
push 0x8caf1379
push esi
lsl esi, ebx
pop esi
push edx
inc edx
pop edx
mov edx, 0xc12ade99
push ebx
lsl ebx, edx
pop ebx
push esi
push edx
add esi, 0x126b
sub edx, 0x5ef5
pop edx
pop esi
ret
push edx
sldt edx
pop edx
push edx
not edx
pop edx
mov ecx, 0
push esi
mov esi, ebx
pop esi
push esi
ror esi, cl
pop esi
pop dword fs:[ecx]
push ecx
dec ecx
pop ecx
push ecx
xor ecx, 0x2853
pop ecx
pop eax
push edx
str edx
pop edx
xor esi, ecx
xor esi, ecx
popal
jmp 0x43100c
push esi
neg esi
pop esi
push edx
push ecx
pop ecx
pop edx
push edi
not edi
pop edi
push edi
not esi
not esi
push esi
lar esi, ebx
pop esi
push esi
push ebx
sub esi, ebx
sub ebx, edx
pop ebx
pop esi
push ebx
call fcn.0043107f
jmp esi
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4bb874
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4bb8a2
mov eax, ebx
call fcn.004bc318
cmp dword [ebx + 0x3c], 0
je 0x4bb89b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4bb913
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4bb905
cmp dword [ebx + 8], 0
je 0x4bb8c4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4bb8d6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4bb905
cmp dword [ebx + 8], 0
je 0x4bb8b7
cmp eax, 3
je 0x4bb8e9
dec eax
jne 0x4bb8b7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4bb8b7
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4bb8b7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4bb931
cmp dword [ebx + 0x10], 0xcc
je 0x4bb931
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004bb93c
pop ebx
ret

Function at 0x4d3afc
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d3bff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403de4
lea eax, [ebp - 0x19c]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x4d3bde
mov eax, 0x65
call fcn.0040270c
mov dword [ebp - 0xc], eax
push 0x65
mov esi, dword [ebp - 0xc]
push esi
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x4d3bcc
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, 0x65
call fcn.00404014
push esi
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movsx esi, word [eax + 0xa]
dec esi
test esi, esi
jl 0x4d3bbb
inc esi
xor edi, edi
push dword [ebx]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + edi]
lea edx, [ebp - 0x1a0]
call fcn.00408ce0
push dword [ebp - 0x1a0]
push 0x4d3c18
mov eax, ebx
mov edx, 3
call fcn.00404124
inc edi
dec esi
jne 0x4d3b87
mov eax, dword [ebx]
call fcn.00404064
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404398
mov edx, 0x65
mov eax, dword [ebp - 0xc]
call fcn.00402724
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3c06
lea eax, [ebp - 0x1a0]
call fcn.00403de4
lea eax, [ebp - 4]
call fcn.00403de4
ret
Function at 0x100014a0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.100053f2
add esp, 4
push 0
push 0
push 0
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100014ea
xor esi, esi
jmp 0x10001502
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
neg esi
sbb esi, esi
and esi, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi], 0x64
jne 0x100015ea
cmp byte [esi + 1], 0x62
jne 0x100015ea
cmp byte [esi + 2], 0x6e
jne 0x100015ea
cmp byte [esi + 3], 0x21
jne 0x100015ea
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x100015ea
lea edx, [eax + 2]
test dl, 7
jne 0x100015ea
lea edx, [eax - 6]
shr edx, 3
test edx, edx
jbe 0x100015d5
mov ebx, dword [0x100199d4]
mov edi, dword [0x1001955c]
push ebp
mov ebp, dword [0x10019564]
lea ecx, [ebp + ebx*4]
lea eax, [esi + 8]
sub edi, ebp
mov dword [esp + 0x10], edx
cmp ebx, dword [0x100199d8]
jae 0x100015c4
movzx edx, byte [eax - 2]
movzx ebp, byte [eax - 1]
rcl dword [ebp - 0x75], 0xec
push ebp
mov ebp, esp
xor eax, eax
jmp 0x100015d1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
inc ebp
cld
pop edi
pop esi
leave
ret
inc esp
and al, 4