joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426909
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x426948
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426948
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426948
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x426948
cmp dword [ecx + 0x74], 0xe
jbe 0x426948
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438cf0
Capabilities:
Parse pe header

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

Function at 0x403910
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fe], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404670], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404604], eax
mov dword [0x4040f6], eax
mov dword [0x4045f0], 0x30
mov dword [0x4045f4], 2
jmp 0x403955
mov dword [0x4045f8], 0x402f69
mov dword [0x4045fc], 0
mov dword [0x404600], 0
mov dword [0x404618], 0x404564
mov dword [0x404610], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404608], eax
mov dword [0x40461c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40460c], eax
push 0x4045f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040f6]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push str.first
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404668], eax
push 5
push dword [0x404668]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404668]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404620]
jmp 0x403a29
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a1b
mov eax, dword [0x404628]
jmp 0x403a44
call 0x402a90
ret

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
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
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
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
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x44f67d
Capabilities:
Encode data using xor

Disassembly:
aam 0xcc
mov bl, 0x74
xchg ebx, eax
je 0x44f6a2
mov dword [0x360497ee], eax
dec ebx
invalid
mov edx, edx
xor esp, dword [esi + 0x68c3787]
pop ds
salc
push ebp
mov ebx, 0x815eb739
add dh, byte [ebx - 0x12]
invalid

Function at 0x4534c5
Capabilities:
Encode data using xor

Disassembly:
insd dword es:[edi], dx
pop eax
insd dword es:[edi], dx
js 0x4534dd
cdq
sal dword [esi + 0x63], cl
push esi
arpl word [edi + 0x62], si
pop ss
popal
je 0x4534dc
push ebp
pushal
jb 0x4534e7
xchg edx, eax
jo 0x4534e8
pop ebp
push 0x6f1a6f7d
jp 0x4534fb
pop edx
outsb dx, byte [esi]
jnp 0x4534fe
wait
outsb dx, byte [esi]
jnp 0x453502
pop ebx
outsb dx, byte [esi]
jnp 0x453505
sbb byte [ebp + 0x78], ch
insd dword es:[edi], dx
pop eax
insd dword es:[edi], dx
js 0x45350d
cwde
insd dword es:[edi], dx
jns 0x453510
pop ecx
insb byte es:[edi], dx
jns 0x453514
arpl word es:[esi + 0x63], si
push esi
arpl word [esi + 0x62], si
xchg edi, eax
bound esi, qword [edi + 0x62]
push edi
popal
je 0x453519
popal
adc eax, 0x51657360
imul edi, dword [edi + 0x69], 0xffffff9a
outsb dx, byte [esi]
js 0x4534b7
push esi
bound esi, qword [eax + 0x13]
jl 0x453534
pop ebp
outsd dx, dword [esi]
jnp 0x45353e
cwde
insb byte es:[edi], dx
jns 0x453527
push esi
arpl word [ecx + 0x15], si
pushal
jne 0x453543
push ebx
push 0x6e915378
jnp 0x453551
pop eax
insd dword es:[edi], dx
jns 0x45346b
adc dword [esi], 0x7a
push ebx
adc al, 0x66
jp 0x45353f
pop eax
insd dword es:[edi], dx
js 0x45355d
cwde
insd dword es:[edi], dx
js 0x453561
arpl word [edi + 0x61], si
adc eax, 0x5f6b7067
imul edi, dword [eax + ebp*2 - 0x66], 0x5a6f7a6f
imul ebx, dword [edi + 0x69], 0x7c
push 0x6f7a6f9a
jl 0x453568
lcall 0x7b6f, 0x5a6f7a6f
outsb dx, byte [esi]
jp 0x453573
pop edx
outsd dx, dword [esi]
jnp 0x453576
sbb byte [ecx + ebx*8 - 0x1b], ch
clc
cmc
invalid
xor dl, al
invalid
int1
cld
rcr bh, cl
mov bl, 0xb9
salc
fcmove st(0), st(0)
neg ebp
sar byte [edi], cl
mov ecx, 0xf7c8dad6
fst st(2)
aas
cmp eax, 0xfff2dcd0
rcr ecx, cl
mov ch, 0xba
call 0xdd423003
inc ebp
dec ebx
fnstenv [ebp - 0x52b1746]
cld
fadd qword [ebp + 0x4b]
int3
retf
jmp 0xadae5417
aam 0x1e
imul ebp, dword [ebp - 0x49dc161b], 0xdbbe27c1
in eax, 0xe9
and esi, dword [esi - 0x2441d83f]
sbb edx, edx
inc ecx
retf
or ecx, ebp
aad 0xd6
invalid
invalid
stosd dword es:[edi], eax
mov al, dh
imul esp, dword [ecx - 0x17], 0xffffffdc
dec edx
test edx, ebp
in eax, 0xfc
xchg edi, eax
test byte [ebp + edi*4 - 0x51ca130a], bh
lfs esp, [0x43ce09ba]
je 0x453578
xor eax, 0x25b40fae
mov ah, 0x25
mov edx, 0x7443ce09
cli
push 0xf40f5ed
fdiv qword [eax + esi + 0x2b]
movsb byte es:[edi], byte [esi]
mov esp, 0x7cd16cc0
imul esp, dword [esi - 0x14dc25da], 0xffffffd0
sub al, 5
mov eax, 0x6ca3d553
invalid
Function at 0x46c49d
Capabilities:
Encode data using xor

Disassembly:
out dx, eax
mov eax, dword [0x27a22513]
pop edx
inc esi
jmp 0x2203008c
lcall 0x3a68, 0x4a8063a7
inc edi
mov ah, 0x59
xor al, 0xbb
lahf
jp 0x46c3f5
test byte [edi + 0x153bc2bf], bh
cmp bh, cl
popal
shr dword [edi], 0xfd
sub byte [ebx - 0x1c660e22], dh
pop eax
pop es
imul ebx, dword [ecx], 0x7f
clc
dec esp
shl byte [esi], cl
jge 0x46c4f8
mov dword [0xd67f2c8b], eax
cmc
wait
add edx, dword [0xc5748803]
je 0x46c464
je 0x46c464
scasd eax, dword es:[edi]
outsd dx, dword [esi]
sbb byte [esp + esi*4 - 0x61435ab7], 0xe2
out dx, al
invalid
scasd eax, dword es:[edi]
adc al, 0x36
or dword [eax - 0x20], edi
lea eax, [edx + edx]
enter 0x5a3f, 0x7d
dec ebx
and eax, 0xc8a07e5a
adc byte [eax], al
cmp byte [esi], bl
xor dword [edx], edx
pushfd
sbb eax, 0x72717a40
mov esi, 0xf306157e
jp 0x46c510
invalid
Function at 0x4ac921
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
or byte [eax - 0x6a], cl
inc eax
add byte [eax + eax + 4], ah
push ebx
insb byte es:[edi], dx
add al, byte [eax]
add byte [eax], al
mov ebx, 0x10047
cwde
add byte [ecx + 0x6c], ah
jne 0x4ac9a3
add al, byte [eax]
inc eax
add byte [eax], al
inc edi
add byte [edx], al
add byte [ecx], al
add byte es:[eax], al

Function at 0x4bebb6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c5230
cmp edx, dword [eax]
je 0x4bebd8
add eax, 8
inc ecx
cmp eax, 0x4c52c0
jl 0x4bebc9
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c5230]
jne 0x4bed06
mov eax, dword [0x4c98b8]
cmp eax, 1
je 0x4bece0
test eax, eax
jne 0x4bec09
cmp dword [0x4c5174], 1
je 0x4bece0
cmp edx, 0xfc
je 0x4bed06
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bec40
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bf2d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bf500
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bec83
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bf500
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c2798
push edi
call fcn.004c0cd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bf2d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bf2e0
lea eax, [ebp - 0xa0]
push 0x4c2778
push eax
call fcn.004bf2e0
push dword [esi + 0x4c5234]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bf2e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c0c44
add esp, 0x2c
pop edi
jmp 0x4bed06
lea eax, [ebp + 8]
lea esi, [esi + 0x4c5234]
push 0
push eax
push dword [esi]
call fcn.004bf500
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4011d3
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [section..data], eax
call sub.comctl32.dll_InitCommonControls
push 0xa
push 0
push 0
push dword [section..data]
call 0x4011d3
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x2003
mov dword [ebp - 0x28], 0x4012be
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 8], str.Class_1
mov dword [ebp - 0xc], str.DIALOG1
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push dword [ebp + 8]
push 0
push 0
push 0x15e
push 0x1f4
push 0x64
push 0x8c
push 0xcf0000
push str.Tab_on_Enter_1
push str.Class_1
push 0x300
call sub.user32.dll_CreateWindowExA
mov dword [0x40303b], eax
push 1
push dword [0x40303b]
call sub.user32.dll_ShowWindow
push dword [0x40303b]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
cmp eax, 0
je 0x4012b5
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x40128d
mov eax, 0
leave
ret 0x10
Function at 0x401559
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c8
mov dword [ebp - 0xc], 0x200
mov dword [esp], str._n____Initialising_Winsock..._n
call sym._printf
lea eax, [ebp - 0x1a0]
mov dword [esp + 4], eax
mov dword [esp], 0x202
mov eax, dword [sym.imp.WS2_32.dll_WSAStartup]
call eax
sub esp, 8
test eax, eax
je 0x4015b5
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
mov dword [esp + 4], eax
mov dword [esp], str.____Failed._Error_Code_:__d
call sym._printf
mov eax, 1
jmp 0x4016e9
mov dword [esp], str.____Initialised._n
call sym._printf
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
mov eax, dword [sym.imp.WS2_32.dll_socket]
call eax
sub esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x401602
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
mov dword [esp + 4], eax
mov dword [esp], str.____Could_not_create_socket_:__d
call sym._printf
mov dword [esp], str.____Socket_created._n
call sym._printf
mov dword [esp], str.172.16.116.222
mov eax, dword [sym.imp.WS2_32.dll_inet_addr]
call eax
sub esp, 4
mov dword [ebp - 0x1ac], eax
mov word [ebp - 0x1b0], 2
mov dword [esp], 0x1f90
mov eax, dword [sym.imp.WS2_32.dll_htons]
call eax
sub esp, 4
mov word [ebp - 0x1ae], ax
mov dword [esp + 8], 0x10
lea eax, [ebp - 0x1b0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_connect]
call eax
sub esp, 0xc
test eax, eax
jns 0x40167f
mov dword [esp], str.____Connect_error
call sym._puts
mov eax, 1
jmp 0x4016e9
mov dword [esp], str.____Connected
call sym._puts
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
sub esp, 0x10
test eax, eax
jns 0x4016c8
mov dword [esp], str.____Send_failed
call sym._puts
mov eax, 1
jmp 0x4016e9
mov dword [esp], str._n____Request_sent_n
call sym._puts
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
call eax
sub esp, 4
mov eax, 0
leave
ret
Function at 0x401c30
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 0x401c90
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40d06c]
test esi, esi
jle 0x401db0
mov eax, dword [0x40d070]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401cc4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401d47
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401cb0
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401dd7
mov eax, dword [0x40d070]
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 [0x40d070]
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 0x401db7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401d40
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x401d50
add dword [0x40d06c], 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 [0x40d070]
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 0x401d40
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 0x401cce
mov eax, dword [0x40d070]
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 0x4022f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x40d088
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40d080]
sub esp, 4
test ebx, ebx
je 0x402345
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 0x40233e
test esi, esi
je 0x40233e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402320
mov dword [esp], 0x40d088
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402680
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4026a5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x4026b0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4026a5
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 0x4026f8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x4026ee
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x4026fa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4026e0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x408253
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
xor eax, eax
pop ebp
ret

Function at 0x5e1555
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xa10865
jmp 0x909de9
add edi, 4
xchg dword [esp], edi
mov esp, dword [esp]
jmp 0x909e5a
push edx
mov dword [esp], esp
add dword [esp], 4
mov ebp, dword [esp]
push edi
mov edi, esp
add edi, 4
jmp 0x909d89
jmp 0xbe4201
jmp 0x99b1cd
push esi
mov dword [esp], 0x2b27a4e6
mov dword [esp], ecx
mov dword [esp], edx
jmp 0x99b288
jmp 0xa5ed4b
jmp 0xa108cb
push edi
push ebp
push 0x631fbd64
pop ebp
mov dword [esp + 4], ebp
mov ebp, dword [esp]
add esp, 4
mov dword [esp], ebp
jmp 0xa1098c
jmp 0x909d22
jmp fcn.00a47655
jmp 0xa5ee07
rdtsc
jmp 0xa5ee60
jmp 0xaf7711
jmp 0xaf77c8
push 0x73b64c93
mov dword [esp], ebx
mov dword [esp], esi
mov dword [esp], 0x101242a1
jmp 0xaf77df
mov dword [esp], eax
pop dword [ebp - 0x14]
jmp 0xaf7842
jmp 0xa4754b
jmp 0xb0cbc7
push edi
push esp
pop edi
add edi, 4
push ebx
mov ebx, 4
sub edi, ebx
pop ebx
xchg dword [esp], edi
mov esp, dword [esp]
mov dword [esp], ebx
jmp 0xb0cbe7
jmp 0xb55167
jmp 0xb55258
push ecx
mov ecx, esp
add ecx, 4
sub ecx, 4
xchg dword [esp], ecx
pop esp
mov dword [esp], ebp
mov dword [esp], ebx
mov dword [esp], 0x54e0e8be
mov dword [esp], ecx
jmp 0xb5527d
jmp 0x99b177
jmp 0xbe42fa
pop edi
sub eax, 0x14
xchg dword [esp], eax
pop esp
jmp 0xbe4317
push edi
mov dword [esp], eax
mov eax, esp
push edx
mov dword [esp], 0x1fb34e25
mov dword [esp], edi
mov edi, 4
add eax, edi
jmp 0xbe4206
jmp 0xb0cad6
Function at 0x4018b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00401990
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp fcn.00431219
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x5cea2290
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..pdata_1
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x3a242a06
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219