joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404153
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov edx, dword [0x4120f0]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_send]
call eax
sub esp, 0x10
mov ebx, eax
cmp ebx, 1
je 0x4041a4
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], str.udptest_first_write_failed___errno__d
call sym._holler
mov eax, dword [0x412124]
test eax, eax
je 0x4041be
mov eax, dword [0x412124]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__sleep]
call eax
jmp 0x40423b
mov word [0x412120], 0
mov dword [0x412124], 5
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7a69
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._doconnect
mov ebx, eax
test ebx, ebx
jle 0x404212
mov eax, dword [ebp + 8]
mov dword [esp + 4], 2
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_shutdown]
call eax
sub esp, 8
mov eax, ebx
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_closesocket]
call eax
sub esp, 4
mov dword [0x412124], 0
movzx eax, word [0x412120]
add eax, 1
mov word [0x412120], ax
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0
mov edx, dword [0x4120f0]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_send]
call eax
sub esp, 0x10
mov ebx, eax
cmp ebx, 1
jne 0x40427e
mov eax, dword [ebp + 8]
jmp 0x4042ab
mov eax, dword [ebp + 8]
mov dword [esp + 4], 2
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_shutdown]
call eax
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_closesocket]
call eax
sub esp, 4
mov eax, 0xffffffff
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x404467
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov edx, 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
jmp 0x40450d
movzx eax, byte [ebx]
cmp al, 0xff
jne 0x404503
mov byte [0x412138], 0xff
add ebx, 1
sub esi, 1
movzx eax, byte [ebx]
cmp al, 0xfb
je 0x4044a1
movzx eax, byte [ebx]
cmp al, 0xfc
jne 0x4044a6
mov edx, 0xfffffffe
movzx eax, byte [ebx]
cmp al, 0xfd
je 0x4044b4
movzx eax, byte [ebx]
cmp al, 0xfe
jne 0x4044b9
mov edx, 0xfffffffc
mov eax, edx
test al, al
je 0x404506
mov byte [0x412139], al
add ebx, 1
sub esi, 1
movzx eax, byte [ebx]
mov byte [0x41213a], al
mov eax, dword [0x40d010]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x412138
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_send]
call eax
sub esp, 0x10
mov edx, 0
jmp 0x404507
nop
jmp 0x404507
nop
add ebx, 1
sub esi, 1
test esi, esi
jg 0x40447f
nop
nop
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x405b10
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x405b70
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x412170]
test esi, esi
jle 0x405c90
mov eax, dword [0x412174]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x405ba4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x405c27
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x405b90
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x405cb7
mov eax, dword [0x412174]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x412174]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x405c97
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x405c20
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x405c30
add dword [0x412170], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x412174]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x405c20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x405bae
mov eax, dword [0x412174]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x4061d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x41218c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x412184]
sub esp, 4
test ebx, ebx
je 0x406225
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40621e
test esi, esi
je 0x40621e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x406200
mov dword [esp], 0x41218c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x406560
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x406585
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x406590
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x406585
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x4065d8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x4065ce
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x4065da
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4065c0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x102181e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1022abcc], 0x795
mov dword [0x1022abd8], 0
mov byte [0x1022abdc], 0
mov dword [0x1022abd4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x1022abcc], 0xc9a
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1022abd4]
add eax, 1
mov dword [0x1022abd4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10218225
xor eax, eax
mov dword [0x1022abcc], 0x9b7
mov dword [0x1022abd4], 0
mov ecx, dword [0x1022abd0]
add ecx, 0x146c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0xf92
mov esi, 0x100
mov dword [0x1022abe0], 0
mov dword [0x1022abd0], eax
mov eax, dword [0x1022abd8]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x28], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x1022abe0], ebx
mov eax, ebx
cdq
idiv esi
mov dword [0x1022abd8], edx
mov dword [0x1022abcc], 0x1e22
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1022abdc], bl
mov dword [0x1022abcc], 0x112f
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1022abdc]
mov ecx, dword [0x1022abd8]
mov byte [esi + ecx], bl
mov dword [0x1022abcc], 0xa8a
mov dword [0x1022abd0], 0xfffffb26
mov ecx, dword [0x1022abd4]
add ecx, 1
mov dword [0x1022abd4], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x1021827d
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10218ce0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [0x1022abcc], 0xa55
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1022abcc], 0xa74
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10218d76
xor eax, eax
mov dword [0x1022abcc], 0xfffffc44
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
je 0x10218e04
jmp 0x10218e5c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10218e5c
mov eax, 1
mov dword [0x1022abcc], 0x12d7
mov dword [ebp - 0x18], eax
jmp 0x10218e5c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x10218db7
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x25], cl
mov al, byte [ebp - 0x25]
test al, 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], edx
jne 0x10218d76
jmp 0x10218db7
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x1022abcc], 0x21ff
mov edx, dword [0x1022abd0]
add edx, 0xfffffbd3
mov dword [0x1022abd0], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x10218e5c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
je 0x10218d20
jmp 0x10218e5c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
jne 0x10218e5c
xor eax, eax
mov dword [0x1022abcc], 0xfffff436
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
jne 0x10218e5c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x2c]
cmp word [ecx], 0x6c
mov dword [ebp - 0x18], eax
je 0x10218d47
mov eax, dword [ebp - 0x18]
add esp, 0x2c
pop ebp
ret
Function at 0x10218e70
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov bl, 0x6b
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x4c], 0x56
mov byte [ebp - 0x4b], 0x69
mov byte [ebp - 0x4a], 0x72
mov byte [ebp - 0x49], 0x74
mov byte [ebp - 0x48], 0x75
mov byte [ebp - 0x47], 0x61
mov byte [ebp - 0x46], 0x6c
mov byte [ebp - 0x45], 0x41
mov byte [ebp - 0x44], 0x6c
mov byte [ebp - 0x43], 0x6c
mov byte [ebp - 0x42], 0x6f
mov byte [ebp - 0x41], 0x63
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0x7e
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x7e
mov dword [0x1022abd0], 0xd93
mov dword [0x1022abcc], 0x642
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], edi
mov byte [ebp - 0xa5], bl
jmp 0x10219081
xor eax, eax
lea ecx, [ebp - 0x8c]
mov dword [0x1022abd0], 0x956
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0xac], eax
call fcn.10217a70
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
mov ecx, dword [ebp - 0x94]
mov dword [esp + 4], ecx
call fcn.10217e90
xor ecx, ecx
mov edx, dword [0x1022abd0]
add edx, 0xffffe8c4
mov dword [0x1022abd0], edx
cmp eax, 0
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb8], ecx
je 0x102190b8
mov eax, dword [ebp - 0xb4]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1022abd0], 0x1cc2
mov dword [esp], eax
mov ecx, dword [ebp - 0x90]
mov dword [esp + 4], ecx
mov dword [ebp - 0xbc], eax
call fcn.10218050
xor eax, eax
mov ecx, dword [ebp - 0xbc]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0xbc]
mov dword [edx + 8], ecx
mov dword [0x1022abcc], 0x1b22
mov dword [0x1022abd0], 0x10
cmp ecx, 0
mov dword [ebp - 0xb8], eax
je 0x102190b8
mov eax, dword [ebp - 0xbc]
add eax, 0x1147
mov dword [ebp - 0xc0], eax
mov dword [0x1022abcc], 0x1d80
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xb8], eax
jmp 0x102190b8
mov al, byte [ebp - 0xa5]
mov ecx, dword [ebp - 0xa0]
mov edx, ecx
inc edx
movsx esi, al
mov di, si
mov word [ebp + ecx*2 - 0x8c], di
mov al, byte [ebp + ecx - 0x2b]
cmp al, 0
mov dword [ebp - 0xa0], edx
mov byte [ebp - 0xa5], al
je 0x10218f45
jmp 0x10219081
mov eax, dword [ebp - 0xb8]
add esp, 0xc4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10219240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1022abd4], 0
mov dword [0x1022abd8], 0
mov dword [0x1022abe4], 0
mov dword [0x1022abcc], 0x1678
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x102193b5
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x102192a5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1022abd4], edx
mov ecx, dword [0x1022abd0]
mov edi, ecx
add edi, 0xffffe86c
mov dword [0x1022abcc], edi
mov edi, dword [ebp - 0x1c]
movzx ebx, byte [edi + edx]
mov edi, dword [ebp - 0x30]
add ebx, edi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1022abd8], edx
add ecx, 0xffffe02d
mov dword [0x1022abd0], ecx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1022abdc], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x1022abcc], 0x12a7
mov cl, byte [0x1022abdc]
mov edx, dword [0x1022abd8]
mov byte [edi + edx], cl
mov edx, dword [0x1022abd4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1022abd8]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x1022abcc], 0x1110
and ebx, 0xff
mov dword [0x1022abe4], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
xor cl, byte [edx + ebx]
mov dword [0x1022abd0], 0x363b
mov dword [0x1022abcc], 0xfffffab4
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
add ebx, 1
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x38], ebx
je 0x102193b3
mov eax, dword [0x1022abd4]
mov ecx, dword [0x1022abd8]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x102192a5
jmp 0x102193b5
mov dword [0x1022abcc], 0x1361
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10219560
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [0x1022abcc], 0xd9e
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.10218360
lea ecx, [0x10218c60]
mov edx, 0x1ae7
mov esi, dword [esp + 0x30]
mov dword [esp + 0x50], esi
mov dword [esp + 0x7c], 0x136c00
mov esi, dword [0x1022abb8]
mov dword [esp + 0x70], esi
mov esi, dword [0x1022abbc]
mov dword [esp + 0x78], esi
mov esi, dword [0x1022abc0]
mov dword [esp + 0x4c], esi
mov esi, dword [0x1022abc4]
mov dword [esp + 0x90], esi
mov dword [0x1022abcc], 0x26c3
mov esi, dword [0x1022abc8]
mov dword [esp + 0x58], esi
mov dword [0x1022abd0], 0x29d7
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp word [ecx], 0x5a4d
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jne 0x10219632
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
je 0x10219651
mov eax, 0xf45
mov ecx, dword [esp + 0x18]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
jmp 0x102195fb
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [0x1022abd0], eax
mov dword [esp + 0x74], ecx
mov dword [0x1022abcc], 0x1b01
mov eax, dword [ecx + edx + 0x50]
mov dword [esp + 0x64], eax
call fcn.10218ce0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x102196c8
lea eax, [esp + 0x40]
mov dword [0x1022abcc], 0x189e
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10218e70
mov dword [0x1022abd0], 0x1d69
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x408180
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x423ba0
call fcn.004081a0
push 1
call fcn.00407b01
pop ecx
test al, al
je 0x408168
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00407acf
mov byte [ebp - 0x24], al
mov eax, dword [0x4270cc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x408168
test eax, eax
jne 0x40808c
mov dword [0x4270cc], ecx
push 0x41b2e8
push 0x41b2cc
call fcn.0040eb46
pop ecx
pop ecx
test eax, eax
je 0x40806f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x408158
push 0x41b2c8
push 0x41b2b4
call fcn.0040eb01
pop ecx
pop ecx
mov dword [0x4270cc], 2
jmp 0x408091
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00407c55
pop ecx
call fcn.00408773
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4080c2
push esi
call fcn.00407bc1
pop ecx
test al, al
je 0x4080c2
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x41b2b0]
call esi
call fcn.00408779
mov esi, eax
cmp dword [esi], edi
je 0x4080e0
push esi
call fcn.00407bc1
pop ecx
test al, al
je 0x4080e0
push dword [esi]
call fcn.0040dfed
pop ecx
call fcn.004084f5
movzx esi, ax
call fcn.0040eab7
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00408533
test al, al
je 0x40816f
test bl, bl
jne 0x40810e
call fcn.0040dfc8
push edi
push 1
call fcn.00407c72
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x408158
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.004083db
push esi
call fcn.0040e013
push dword [ebp - 0x20]
call fcn.0040dfd7
int3
call 0x59f000
jmp 0x408002

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
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x25594aa4
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
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
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2509702c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x507842e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x507842f2
pop dword [ebp - 0x2c]
mov eax, 0x2dcd098b
add eax, 0x22ab3967
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x36608
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x463e
xor edx, edx
add edx, eax
mov esi, 0x269e1454
add esi, 0x29dacbac
add esi, dword [ebp - 0x2c]
mov ebx, 0xc3302de0
mov dword [ebp - 0x24], 0xb2abd0ec
mov edi, dword [esi]
sub dword [ebp - 0x20], 0xafe56f5e
xor edi, ebx
mov dword [ebp - 0x14], 0x5385008a
mov dword [edx], edi
xor dword [ebp - 0x1c], 0xb77241b4
add edx, 0xd457a204
sub edx, 0xd457a200
add esi, 0x2684ea07
add esi, 0xd97b15fd
loop 0x50784342
add eax, 0xbbd49b69
add eax, 0x442c7062
xor ebx, ebx
add ebx, eax
add eax, 0x211bc509
add eax, 0xdee43afc
mov ecx, 0x50780000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x9001690
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x90de124]
jne 0x900169a
repz ret
jmp fcn.0909ebfc

Function at 0x9001f91
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x9001fa0
pop dword [ebp - 0x38]
mov eax, 0x9001fa0
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x9138ffab
sub dword [ebp - 0x48], 0x42e6ba60
mov dword [ebp - 0x44], 0x6f228cb9
add dword [ebp - 0x44], 0xc310bf8c
mov dword [ebp - 0x40], 0xecdc5ab5
sub dword [ebp - 0x40], 0xa0901687
mov dword [ebp - 0x3c], 0x34b24639
sub dword [ebp - 0x3c], 0x34b24639
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x60e117a
sub dword [ebp - 0x48], 0x919ba824
mov dword [ebp - 0x44], 0x4eafcf4c
add dword [ebp - 0x44], 0xf2bc9229
mov dword [ebp - 0x40], 0xe1b415f0
sub dword [ebp - 0x40], 0x7e44a984
mov dword [ebp - 0x3c], 0xa53fd667
add dword [ebp - 0x3c], 0x5ac02999
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x5dc46
push 0
call eax
mov ecx, 0x51f8ef27
add ecx, 0xae075784
xor ebx, ebx
add ebx, eax
mov esi, 0xde6c97c
add esi, 0xfb27c884
add esi, dword [ebp - 0x38]
mov edi, 0x666e5346
add edi, 0x8c023a40
sub dword [ebp - 0x14], 0x46fe92b7
mov edx, dword [esi]
sub dword [ebp - 0x2c], 0xb00fec23
add edx, edi
mov dword [ebx], edx
xor dword [ebp - 0xc], ebx
add ebx, 0xd0a33e0e
sub ebx, 0xd0a33e0a
add esi, 4
loop 0x90020b5
add eax, 0x1f10066b
sub eax, 0x1f0ef8ec
xor ebx, ebx
add ebx, eax
add eax, 0xf4545ce2
add eax, 0xbaba323
mov ecx, 0x43ad77d1
add ecx, 0xc552882f
add ecx, dword [ebp - 0x38]
call ebx
leave
ret