joyce8/EMBER2024-capa huggingface dataset:
Function at 0x622788
Capabilities:
Authenticate hmac

Disassembly:
invalid
add ebx, dword [eax]
hlt
retf 0xbec0
cwde
mov esi, 0x3575c7b4
pop edx
loop 0x622771
xor eax, 0xf2fce25a
movsb byte es:[edi], byte [esi]
repne movsb byte es:[edi], byte [esi]
iretd
and eax, ebp
test byte [edx - 0x7f], 0xa5
push ecx
mov cl, 0xca
adc byte [edx - 0x32], bh
jp 0x622758
jne 0x622748
xchg dword [ecx - 0x5341a87a], esp
pop ecx
sub ah, ch
xchg ebp, eax
dec edx
push 0xeb8389cc
out dx, eax
sub ebx, 0xffffffef
add byte [ebp - 0x1add87b9], 0xc1
or al, byte [ebx - 0x18]
jge 0x62273f
salc
add edi, dword [ecx - 0x3d663c6d]
pop ebx
jle 0x622738
mov al, byte [0x13f6790d]
fcompi st(7)
jno 0x62277e
xchg ecx, eax
jo 0x6227e2
shl dword [edx], 0x5c
push edi
jb 0x62276c
jo 0x6227d3
mov bh, 0xf1
xchg edx, eax
and dh, bl
push edi
inc ecx
pop edi
mov dh, 0xe7
hlt
invalid
pop edi
dec eax
mov dword [eax], esi
pop eax
inc ecx
fldcw word [ecx]
imul esi, dword [ebx], 0x15
jl 0x6227a9
adc eax, 0x960bc47c
in al, 0xac
sub eax, 0x11f6df2f
xchg ebp, eax
dec esi
fld xword [esi + 0x408e80c7]
ljmp 0xdefc
or edx, dword [esi + 0x2f2dace4]
fcompi st(6)
adc dword [ebp - 0x385124b2], edx
or byte [esi + 0x2eea6540], 0x8a
push edi
cmp bh, ah
fisub word [eax]
xor al, bh
mov edx, 0x1135d383
rcr bh, cl
jmp 0x62279a

Function at 0x65917c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x664480
cmp edx, dword [eax]
je 0x65919e
add eax, 8
inc ecx
cmp eax, 0x664510
jl 0x65918f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x664480]
jne 0x6592cc
mov eax, dword [0xa67cf0]
cmp eax, 1
je 0x6592a6
test eax, eax
jne 0x6591cf
cmp dword [0x6622c4], 1
je 0x6592a6
cmp edx, 0xfc
je 0x6592cc
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659206
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0065a2e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a3d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659249
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a3d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65dd64
push edi
call fcn.0065ad90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0065a2e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a2f0
lea eax, [ebp - 0xa0]
push 0x65dd44
push eax
call fcn.0065a2f0
push dword [esi + 0x664484]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a2f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065ad02
add esp, 0x2c
pop edi
jmp 0x6592cc
lea eax, [ebp + 8]
lea esi, [esi + 0x664484]
push 0
push eax
push dword [esi]
call fcn.0065a3d0
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 0x408de9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x408e09
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00407b6e
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x408e2a
test byte [esp + 8], 2
je 0x408e2a
mov dword [0x411324], 0xd
mov dword [0x411328], 5
jmp 0x408e05
xor eax, eax
ret

Function at 0x409779
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x410cd8
cmp edx, dword [eax]
je 0x40979b
add eax, 8
inc ecx
cmp eax, 0x410d68
jl 0x40978c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x410cd8]
jne 0x4098c9
mov eax, dword [0x41131c]
cmp eax, 1
je 0x4098a3
test eax, eax
jne 0x4097cc
cmp dword [0x4104e4], 1
je 0x4098a3
cmp edx, 0xfc
je 0x4098c9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x409803
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004084d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405bb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x409846
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405bb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40e784
push edi
call fcn.0040ba80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004084d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004084e0
lea eax, [ebp - 0xa0]
push 0x40e764
push eax
call fcn.004084e0
push dword [esi + 0x410cdc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004084e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c170
add esp, 0x2c
pop edi
jmp 0x4098c9
lea eax, [ebp + 8]
lea esi, [esi + 0x410cdc]
push 0
push eax
push dword [esi]
call fcn.00405bb0
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 0x40cb9f
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x40cbdc
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x40cbd5
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x40cbe1
add edx, 0x28
cmp edx, esi
jne 0x40cbc6
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x40cbde

Function at 0x417512
Capabilities:
Encode data using xor

Disassembly:
call 0x41748b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x4174bb
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4174d7
xor edx, 0
jmp 0x4174e2
xor edx, edx
jmp 0x4174f9
jmp 0x417505
xor eax, eax
push 0x8427d7c0
call 0x417512
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x41754e
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x417527
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x417565
add eax, 0
jno 0x41756a
add esi, 0
ret 0x10
Function at 0x4182d3
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x4182f5
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x418497
cmp edi, dword [ebp + 0x10]
jb 0x418497
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.00417dbf
inc edi
jmp 0x41837e
jmp 0x41838b
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00417dbf
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00417dbf
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x4183df
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x4183c3
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0041840d
add dword [eax], 0x39
jle 0x4183e9
sub al, 0xf5
mov ch, al
call fcn.00418422
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x41a0fa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x41a110
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x41a121
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0041a162
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x41c4ce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x41c417
add ebx, 0
push ecx
call 0x41c42c
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6bf052fa
sub ebx, dword [0x6bf24b39]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6bf24b29
call fcn.00417ef6
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.00417404
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x41c58a
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x41c58a
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x41c541
mov eax, 1
lock xchg dword [0x6bf24b35], eax
push 0x3dd1fc71
call 0x41c4ce
push esi
add esp, 8
cmp eax, 0
jne 0x41c4b7
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x41c4dd
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x41c4f2
cmp ecx, edx
cmp eax, 0
je 0x41c517
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x41c501
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0041c530
dec eax
loope 0x41c533
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6bf24b35], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x41c567
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x41c57c
jmp 0x41c587
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x41c475

Function at 0x4235ef
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x4238c5
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6bf117ad
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6bf08773
push 0xffffffffffffffff
call fcn.0041a7ef
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x423659
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.00423671
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x4238b9
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x42388d
Function at 0x4330bf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4330e1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4330e1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4330e1
ret
cmp word [ebx + 4], 0x14c
jne 0x4330e1
test word [ebx + 0x16], 2
je 0x4330e1
test word [ebx + 0x16], 0x100
je 0x4330e1
cmp word [ebx + 0x18], 0x10b
jne 0x4330e1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4330e1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x43316d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x433101
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0041a04c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4330e1
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x43316d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4330e1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4330e1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4330e1
ret
cmp word [ebx + 4], 0x14c
jne 0x4330e1
test word [ebx + 0x16], 2
je 0x4330e1
test word [ebx + 0x16], 0x100
je 0x4330e1
cmp word [ebx + 0x18], 0x10b
jne 0x4330e1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4330e1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x43316d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x433101
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0041a04c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4330e1
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x433224
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x43327d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x433224
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x433233
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x838ed6
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x433284
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0041a0fa
cmp eax, dword [ebp + 0xc]
pop eax
je 0x433323
add edi, 4
add eax, 2
dec ecx
jne 0x433269
call 0x4332d0
loope 0x4332c6
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x433320
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x433331
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4332e4
cmp eax, ecx
ja 0x4332e4
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x43336e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x433364
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.0041a5d9
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x433233
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x43327d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x433224
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x433233
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x838ed6
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x433284
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0041a0fa
cmp eax, dword [ebp + 0xc]
pop eax
je 0x433323
add edi, 4
add eax, 2
dec ecx
jne 0x433269
call 0x4332d0
loope 0x4332c6
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x433320
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x433331
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4332e4
cmp eax, ecx
ja 0x4332e4
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x43336e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x433364
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.0041a5d9
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x403d48
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push 0x14
mov eax, 0x417ef6
call fcn.00416820
mov eax, dword [0x45145c]
xor ebx, ebx
mov dword [0x45f514], eax
mov eax, dword [0x45f3a0]
mov dword [0x45f518], eax
mov eax, dword [0x451468]
mov dword [ebp - 0x14], ebx
cmp eax, 0x10000
jb 0x403d83
add eax, 0x5000
and eax, 0xffff0000
mov dword [0x45f51c], eax
mov eax, dword [0x45f3a4]
push dword [0x45f51c]
mov dword [0x45f520], eax
mov dword [ebp - 4], ebx
call fcn.00415a30
pop ecx
push dword [0x45f520]
mov dword [0x45f52c], eax
mov dword [ebp - 4], 2
call fcn.00415a30
pop ecx
push 0x451570
push dword [0x45f51c]
mov dword [0x45f630], eax
push dword [0x45f52c]
push dword [0x45f514]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x403e03
push dword [0x45f514]
push str.ReadProcessMemory_Error_CSAcquire_address:__p
call fcn.0040d967
push ebx
call fcn.0040d967
add esp, 0xc
xor eax, eax
call fcn.00416760
ret
mov eax, dword [0x451570]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0x40
pop ecx
mov dword [0x45f51c], eax
lea eax, [ebp - 0x14]
push eax
push ecx
push dword [0x45f520]
mov dword [ebp - 0x18], ecx
push dword [0x45f518]
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x403e47
push dword [0x45f518]
push str.VirtualProtectEx_Error_CSAcquire_address:__p
call fcn.0040d967
push 0
jmp 0x403df3
push 0x451570
push dword [0x45f520]
push dword [0x45f630]
push dword [0x45f518]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x403e78
push dword [0x45f518]
push str.ReadProcessMemory_Error_CSAcquire_address:__p
jmp 0x403e3e
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [0x45f520]
push dword [0x45f518]
push dword [ebp + 8]
call ebx
test eax, eax
je 0x403e33
push str.Process_memory_buffered_successfully.
call fcn.0040d967
xor eax, eax
pop ecx
inc eax
jmp 0x403dfd
Function at 0x404519
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x140
mov eax, 0x417f4b
call fcn.004167e0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
push edi
push edi
push 0x1004
push dword [0x44f3e8]
call esi
mov ebx, eax
test ebx, ebx
je 0x4046fb
push edi
push edi
push 0x1032
push dword [0x44f3e8]
call esi
test eax, eax
je 0x4046fb
push edi
push edi
push 0xb
push dword [0x44f3e8]
call esi
mov edi, 0x44577b
lea ecx, [ebp - 0x114]
push edi
call fcn.00401ccb
and dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
push edi
call fcn.00401ccb
push dword [0x44f344]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4046d7
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
call dword [sym.imp.USER32.dll_EmptyClipboard]
xor edi, edi
test ebx, ebx
jle 0x404689
push 2
push edi
push 0x102c
push dword [0x44f3e8]
call esi
test eax, eax
je 0x404680
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140D.dll_memset
and dword [ebp - 0x144], 0
lea eax, [ebp - 0x110]
add esp, 0xc
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x134], 0x100
push eax
push edi
push 0x102d
push dword [0x44f3e8]
call esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push 0x445dac
push eax
call fcn.0040b3e3
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.00413eae
push 0x4468f8
lea ecx, [ebp - 0x114]
call fcn.0040336f
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.0040334b
push 0
lea ecx, [ebp - 0x114]
call fcn.0040e805
inc edi
cmp edi, ebx
jl 0x4045cb
lea ecx, [ebp - 0x118]
call fcn.0040b986
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x118]
mov edi, eax
call fcn.004029e2
mov cl, byte [eax]
inc eax
mov byte [edi], cl
inc edi
test cl, cl
jne 0x4046b7
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 1
push 0xb
push dword [0x44f3e8]
call esi
lea ecx, [ebp - 0x118]
call fcn.004026a7
lea ecx, [ebp - 0x114]
call fcn.004026a7
call fcn.00416780
ret