joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40effb
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 0x40f01d
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 0x40f1bf
cmp edi, dword [ebp + 0x10]
jb 0x40f1bf
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.0040eae7
inc edi
jmp 0x40f0a6
jmp 0x40f0b3
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0040eae7
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0040eae7
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 0x40f107
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 0x40f0eb
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0040f135
add dword [eax], 0x39
jle 0x40f111
sub al, 0xf5
mov ch, al
call fcn.0040f14a
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x410e22
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 0x410e38
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 0x410e49
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.00410e8a
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 0x4131f6
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 0x41313f
add ebx, 0
push ecx
call 0x413154
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, 0x731ed0fa
sub ebx, dword [0x7320c939]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x7320c929
call fcn.0040ec1e
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0040e12c
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x4132b2
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x4132b2
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 0x413269
mov eax, 1
lock xchg dword [0x7320c935], eax
push 0x3dd1fc71
call 0x4131f6
push esi
add esp, 8
cmp eax, 0
jne 0x4131df
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x413205
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x41321a
cmp ecx, edx
cmp eax, 0
je 0x41323f
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 0x413229
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.00413258
dec eax
loope 0x41325b
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7320c935], 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 0x41328f
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x4132a4
jmp 0x4132af
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x41319d

Function at 0x41a317
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 0x41a5ed
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x731f95ad
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x731f0573
push 0xffffffffffffffff
call fcn.00411517
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 0x41a381
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.0041a399
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 0x41a5e1
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x41a5b5
Function at 0x429de7
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 0x429e09
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x429e09
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x429e09
ret
cmp word [ebx + 4], 0x14c
jne 0x429e09
test word [ebx + 0x16], 2
je 0x429e09
test word [ebx + 0x16], 0x100
je 0x429e09
cmp word [ebx + 0x18], 0x10b
jne 0x429e09
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x429e09
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x429e95
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x429e29
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.00410d74
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x429e09
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 0x429e95
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 0x429e09
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x429e09
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x429e09
ret
cmp word [ebx + 4], 0x14c
jne 0x429e09
test word [ebx + 0x16], 2
je 0x429e09
test word [ebx + 0x16], 0x100
je 0x429e09
cmp word [ebx + 0x18], 0x10b
jne 0x429e09
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x429e09
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x429e95
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x429e29
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.00410d74
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x429e09
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 0x429f4c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x429fa5
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x429f4c
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x429f5b
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 0x82fbfe
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 0x429fac
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.00410e22
cmp eax, dword [ebp + 0xc]
pop eax
je 0x42a04b
add edi, 4
add eax, 2
dec ecx
jne 0x429f91
call 0x429ff8
loope 0x429fee
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x42a048
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 0x42a059
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 0x42a00c
cmp eax, ecx
ja 0x42a00c
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x42a096
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x42a08c
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.00411301
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x429f5b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x429fa5
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x429f4c
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x429f5b
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 0x82fbfe
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 0x429fac
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.00410e22
cmp eax, dword [ebp + 0xc]
pop eax
je 0x42a04b
add edi, 4
add eax, 2
dec ecx
jne 0x429f91
call 0x429ff8
loope 0x429fee
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x42a048
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 0x42a059
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 0x42a00c
cmp eax, ecx
ja 0x42a00c
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x42a096
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x42a08c
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.00411301
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x3000698c
Capabilities:
Create process on windows
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x710
mov eax, dword [0x3000207c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x6b8], ecx
movzx ecx, byte [eax + 0xf]
push edi
push ecx
movzx ecx, byte [eax + 0xe]
push ecx
movzx ecx, byte [eax + 0xd]
push ecx
movzx ecx, byte [eax + 0xc]
push ecx
movzx ecx, byte [eax + 0xb]
push ecx
movzx ecx, byte [eax + 0xa]
push ecx
movzx ecx, byte [eax + 9]
push ecx
movzx ecx, byte [eax + 8]
push ecx
movzx ecx, word [eax + 6]
push ecx
movzx ecx, word [eax + 4]
push ecx
push dword [eax]
lea eax, [ebp - 0x88]
push 0x30002388
push eax
call fcn.3000693b
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x34
lea eax, [ebp - 0x6ac]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push 0x30001288
push 0x80000000
mov word [ebp - 0x394], bx
mov dword [ebp - 0x6ac], ebx
call esi
test eax, eax
jne 0x30006b53
lea eax, [ebp - 0x6a4]
push eax
push edi
push ebx
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x6ac]
mov dword [ebp - 0x6a4], ebx
call esi
test eax, eax
jne 0x30006b3f
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x6b4]
push eax
push ebx
push ebx
push 0x30002370
invalid
mov ch, 0x5c

Function at 0x3000766b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x300076da
mov eax, dword [ebp + 8]
test eax, 3
je 0x3000769c
cmp word [eax], 0
je 0x30007695
lea eax, [eax + 2]
test eax, 3
je 0x3000769c
jmp 0x30007683
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x300076d7
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x3000769c
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x300076d7
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x300076d7
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x3000769c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0xecc6899
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x7d8d2c93
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x60ee4100
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x123f71c7
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x65b84f0a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x662a0014]
mov dword [ebp - 0xc], eax
jmp 0x65b84f93
jmp 0x65b8500e
jmp 0x65b85089
jmp 0x65b85104
jmp 0x65b8517f
jmp 0x65b851fa
jmp 0x65b85275
jmp 0x65b852f0
jmp 0x65b8536b
jmp 0x65b853e6
jmp 0x65b85461
jmp 0x65b854dc
jmp 0x65b85557
jmp 0x65b855d2
jmp 0x65b8564d
cmp dword [ebp - 0xc], 0
je 0x65b8737d
mov eax, dword [0x662a0014]
mov dword [0x662a000c], eax
jmp 0x65b856dc
jmp 0x65b85757
jmp 0x65b857d2
jmp 0x65b8584d
jmp 0x65b858c8
jmp 0x65b85943
jmp 0x65b859be
jmp 0x65b85a39
jmp 0x65b85ab4
jmp 0x65b85b2f
jmp 0x65b85baa
jmp 0x65b85c25
jmp 0x65b85ca0
jmp 0x65b85d1b
jmp 0x65b85d96
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [0x662a0008], eax
jmp 0x65b85e21
jmp 0x65b85e9c
jmp 0x65b85f17
jmp 0x65b85f92
jmp 0x65b8600d
jmp 0x65b86088
jmp 0x65b86103
jmp 0x65b8617e
jmp 0x65b861f9
jmp 0x65b86274
jmp 0x65b862ef
jmp 0x65b8636a
jmp 0x65b863e5
jmp 0x65b86460
jmp 0x65b864db
mov eax, dword [0x662a0008]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x10], eax
jmp 0x65b86561
jmp 0x65b865dc
jmp 0x65b86657
jmp 0x65b866d2
jmp 0x65b8674d
jmp 0x65b867c8
jmp 0x65b86843
jmp 0x65b868be
jmp 0x65b86939
jmp 0x65b869b4
jmp 0x65b86a2f
jmp 0x65b86aaa
jmp 0x65b86b25
jmp 0x65b86ba0
jmp 0x65b86c1b
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [0x662a0004], eax
jmp 0x65b86cc3
jmp 0x65b86d3e
jmp 0x65b86db9
jmp 0x65b86e34
jmp 0x65b86eaf
jmp 0x65b86f2a
jmp 0x65b86fa5
jmp 0x65b87020
jmp 0x65b8709b
jmp 0x65b87116
jmp 0x65b87191
jmp 0x65b8720c
jmp 0x65b87287
jmp 0x65b87302
jmp 0x65b8737d
nop
leave
ret
Function at 0x65b8822e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x662a0008]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x662a0008]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x65b882c9
jmp 0x65b88344
jmp 0x65b883bf
jmp 0x65b8843a
jmp 0x65b884b5
jmp 0x65b88530
jmp 0x65b885ab
jmp 0x65b88626
jmp 0x65b886a1
jmp 0x65b8871c
jmp 0x65b88797
jmp 0x65b88812
jmp 0x65b8888d
jmp 0x65b88908
jmp 0x65b88983
mov dword [ebp - 0x14], 0
jmp 0x65b88a05
jmp 0x65b88a80
jmp 0x65b88afb
jmp 0x65b88b76
jmp 0x65b88bf1
jmp 0x65b88c6c
jmp 0x65b88ce7
jmp 0x65b88d62
jmp 0x65b88ddd
jmp 0x65b88e58
jmp 0x65b88ed3
jmp 0x65b88f4e
jmp 0x65b88fc9
jmp 0x65b89044
jmp 0x65b890bf
mov dword [ebp - 0x18], 0
jmp 0x65b89141
jmp 0x65b891bc
jmp 0x65b89237
jmp 0x65b892b2
jmp 0x65b8932d
jmp 0x65b893a8
jmp 0x65b89423
jmp 0x65b8949e
jmp 0x65b89519
jmp 0x65b89594
jmp 0x65b8960f
jmp 0x65b8968a
jmp 0x65b89705
jmp 0x65b89780
jmp 0x65b897fb
mov dword [ebp - 0x10], 0
jmp 0x65b8987d
jmp 0x65b898f8
jmp 0x65b89973
jmp 0x65b899ee
jmp 0x65b89a69
jmp 0x65b89ae4
jmp 0x65b89b5f
jmp 0x65b89bda
jmp 0x65b89c55
jmp 0x65b89cd0
jmp 0x65b89d4b
jmp 0x65b89dc6
jmp 0x65b89e41
jmp 0x65b89ebc
jmp 0x65b89f37
mov dword [ebp - 0x10], 0
jmp 0x65b8c392
jmp 0x65b89fbe
jmp 0x65b8a039
jmp 0x65b8a0b4
jmp 0x65b8a12f
jmp 0x65b8a1aa
jmp 0x65b8a225
jmp 0x65b8a2a0
jmp 0x65b8a31b
jmp 0x65b8a396
jmp 0x65b8a411
jmp 0x65b8a48c
jmp 0x65b8a507
jmp 0x65b8a582
jmp 0x65b8a5fd
jmp 0x65b8a678
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x662a0004]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x65b8a704
jmp 0x65b8a77f
jmp 0x65b8a7fa
jmp 0x65b8a875
jmp 0x65b8a8f0
jmp 0x65b8a96b
jmp 0x65b8a9e6
jmp 0x65b8aa61
jmp 0x65b8aadc
jmp 0x65b8ab57
jmp 0x65b8abd2
jmp 0x65b8ac4d
jmp 0x65b8acc8
jmp 0x65b8ad43
jmp 0x65b8adbe
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x662a000c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x65b8ae4a
jmp 0x65b8aec5
jmp 0x65b8af40
jmp 0x65b8afbb
jmp 0x65b8b036
jmp 0x65b8b0b1
jmp 0x65b8b12c
jmp 0x65b8b1a7
jmp 0x65b8b222
jmp 0x65b8b29d
jmp 0x65b8b318
jmp 0x65b8b393
jmp 0x65b8b40e
jmp 0x65b8b489
jmp 0x65b8b504
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x65b8b59b
jmp 0x65b8b616
jmp 0x65b8b691
jmp 0x65b8b70c
jmp 0x65b8b787
jmp 0x65b8b802
jmp 0x65b8b87d
jmp 0x65b8b8f8
jmp 0x65b8b973
jmp 0x65b8b9ee
jmp 0x65b8ba69
jmp 0x65b8bae4
jmp 0x65b8bb5f
jmp 0x65b8bbda
jmp 0x65b8bc55
add dword [ebp - 0xc], 0x28
jmp 0x65b8bcd4
jmp 0x65b8bd4f
jmp 0x65b8bdca
jmp 0x65b8be45
jmp 0x65b8bec0
jmp 0x65b8bf3b
jmp fcn.65b8bfb6
mov eax, dword [0x662a0008]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x65b89f43
nop
leave
ret
Function at 0x65ba0ef0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], 0x6629f040
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.65ba0f50

Function at 0x65ba0f50
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x662a0378]
test esi, esi
jle 0x65ba103d
mov edi, dword [0x662a037c]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x65ba0f84
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x65ba1036
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x65ba0f70
mov dword [esp], eax
mov esi, eax
call fcn.65ba16f0
test eax, eax
mov edi, eax
je 0x65ba107a
mov esi, dword [0x662a037c]
lea ebx, [ebx + ebx*2]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.65ba1800
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x662a037c]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x65ba105a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x65ba102f
sub eax, 0x40
and eax, 0xffffffbf
je 0x65ba102f
mov eax, dword [esp + 0x20]
add ebx, dword [0x662a037c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x65ba1044
add dword [0x662a0378], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x65ba0f8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.65ba0ef0
mov eax, dword [0x662a037c]
mov eax, dword [eax + ebx + 4]
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 fcn.65ba0ef0
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.65ba0ef0
lea esi, [esi]
Function at 0x65ba1360
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x662a0388
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x662a0380]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x65ba13b5
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 0x65ba13ae
test esi, esi
je 0x65ba13ae
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x65ba1390
mov dword [esp], 0x662a0388
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret