joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454995
Capabilities:
Encode data using xor

Disassembly:
or esi, ebx
rsm
and edx, dword [esi]
imul ebp, dword [edx + 0x18], 0xfffffff1
int 0xbc
mov al, byte [0x87de2d52]
fisub dword [edx + 0x13e372ff]
push dword [edx - 0x1d]
invalid
mov ch, 0x68
jns 0x4549fc
push dword [edx - 0x1d]
adc esi, dword [ebp - 0x63a08698]
pushfd
and dword [eax], eax
sbb dword gs:[ecx], edx
je 0x454982
jo 0x454a06
test dword [eax], 0x70370d33
outsd dx, dword [esi]
lds esi, [edi]
xchg ecx, eax
inc ecx
neg dword [ebp - 0x41]
mov dword [edx + 0x27452c63], esp
ror byte [ecx + 0x328df23], 1
mov al, 0x9f
mov edi, 0x26bdffa0
pushal
adc dword [ebx + 0x50], esp
jo 0x4549ff
salc
movsb byte es:[edi], byte [esi]
sbb al, 0xc6
inc edx
salc
mov ebx, 0x57c0ee4e
add byte [ebx - 0x17], dl
insd dword es:[edi], dx
or byte [edi*8 - 0x5c36eadd], ah
wait
mov eax, dword [0x146b6a1f]
mov ah, 6
dec esi
out dx, al
rcl byte [edi], 0x53
push ebx
jmp 0xfd695279
jb 0x454a77
or al, 0x90
adc edx, dword [esi]
xchg ebx, eax
pop ds
sub bh, ch
adc byte [edx + 0x255df0b1], al
je 0x454a01
jg 0x454a18
retf 0x1d53
stosb byte es:[edi], al
sbb edx, dword cs:[edi + 6]
dec edi
add byte [eax + 0x4a], bl
and esi, ebx
fist word [ecx - 0xb1ec199]
inc ebp
dec edx
mov gs, word [edx - 0x18]
xor al, 0x4a
adc eax, 0x30d191c3
adc eax, 0x230332de
push edi
salc
xchg esi, eax
adc byte [edx + eax*2 - 0x4dc97c17], ah
mov ebp, 0x77eb5fe
jnp 0x454aad
arpl word [ebx + 0x59844753], sp
mov dx, 0xe7c0
mov eax, 0xa2478ea8
push ebx
inc edi
test byte [ecx + 0x66], bl
mov edx, 0xa8b8e7c0
mov es, word [edi - 0x5e]
xor ebp, edx
sbb al, 0x76
mov bh, 0x83
fiadd dword [edx + ecx*2 + 0x1e]
mov bh, 0x65
cmp eax, 0x29600650
or byte [edi + 0x26], al
rol ah, 1
invalid

Function at 0x489806
Capabilities:
Encode data using xor

Disassembly:
adc byte [ebp - 0x23], dl
mov esi, 0xd9f92bcb
xchg esp, eax
or esp, dword [edi - 0x319e0019]
fnstcw word [edx + ebx*8]
mov ch, 0x85
out dx, al
aam 0xfd
cli
ret
stosb byte es:[edi], al
das
jle 0x489847
xor al, dh
ljmp 0x7cae
scasb al, byte es:[edi]
jl 0x4897dd
insd dword es:[edi], dx
pop ecx
nop
jo 0x489842
adc bl, ah
test al, 0xe1
scasb al, byte es:[edi]
jecxz 0x489839
inc edi
pop ebp
jbe 0x489802
sub dh, byte [edi + ebx*4]
mov fs, word [eax]
and dword [esi + eax*4 + 0xbc8c7c4], eax
add eax, 0x5465d0eb
iretd
mov esi, 0x48b88e78
pop ebp
adc dword [edi], 0x8fef82c1
sub bh, 0x8f
sub edx, ecx
sar dword [0x9ab03083], 1
jae 0x4897f7
shl dword [edi + 0x3f3e726f], 0x4e
aas
dec esi
xor byte [eax + 9], bh
dec ebp
dec edx
push 0xe6183c31
loopne 0x489854
adc byte [ecx + edi + 0x2c], bl
pop ecx
sub byte [esp - 0x5dc4b9b0], ah
lcall 0xec12, 0x147c6f82
xor edx, dword [esi + ebx*2 + 0x29]
push ecx
jle 0x489814
or ah, byte [edx + 0x20]
cmp eax, 0x5c4dcab9
add ebx, dword [esi + 0x552d59c4]
out 0x18, eax
popal
ret 0x11e9

Function at 0x5627ca
Capabilities:
Accept command line arguments

Disassembly:
salc
and bh, dh
jbe 0x5627d7
sub dh, bh
int 0x7c
invalid
out dx, eax
sbb dword [eax], ebx
and bl, al
clc
loop 0x562773
push ebx
sub dword [esi - 0x72], edi
in al, dx
mov dh, 0xa
mov bh, 0x5a
or esp, 0x384ed4d8
dec esi
mov al, byte [0x1cb85055]
mov bl, 0xd
and eax, 0x4244489
Function at 0x6079b5
Capabilities:
Encode data using xor

Disassembly:
push cs
pushal
cmp dl, dh
wait
invalid
jns 0x607951
rcl byte [eax - 0x78]
or byte [eax - 0x359c86af], bl
and eax, 0x9f290e1e
pop edx
rcr dword [esi], 0x3a
fidiv dword [ecx - 0x39]
fmul qword [edx - 8]
invalid

Function at 0x628595
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x62f3d0
cmp edx, dword [eax]
je 0x6285b7
add eax, 8
inc ecx
cmp eax, 0x62f460
jl 0x6285a8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x62f3d0]
jne 0x6286e5
mov eax, dword [0x637d78]
cmp eax, 1
je 0x6286bf
test eax, eax
jne 0x6285e8
cmp dword [0x62f2f8], 1
je 0x6286bf
cmp edx, 0xfc
je 0x6286e5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62861f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00628f80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629410
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628662
lea eax, [ebp - 0x1a4]
push eax
call fcn.00629410
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62d6e4
push edi
call fcn.0062b2e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00628f80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00628f90
lea eax, [ebp - 0xa0]
push 0x62d6c4
push eax
call fcn.00628f90
push dword [esi + 0x62f3d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00628f90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b254
add esp, 0x2c
pop edi
jmp 0x6286e5
lea eax, [ebp + 8]
lea esi, [esi + 0x62f3d4]
push 0
push eax
push dword [esi]
call fcn.00629410
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 0x404910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.004047d8
cld
call fcn.00404977
pushal
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov ebp, esp
movzx ecx, word [edx + 0x26]
xor edi, edi
mov esi, dword [edx + 0x28]
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x404909
sub al, 0x20
ror edi, 0xd
add edi, eax
dec ecx
jne 0x404900
out dx, eax
push edx
push edi
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
add eax, edx
mov eax, dword [eax + 0x78]
test eax, eax
je 0x40496e
add eax, edx
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x20]
push eax
add ebx, edx
test ecx, ecx
je 0x40496d
xor edi, edi
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edx
xor eax, eax
lodsb al, byte [esi]
ror edi, 0xd
add edi, eax
cmp al, ah
jne 0x404939
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jne 0x40492d
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
popal
pop ecx
pop edx
push ecx
jmp eax
pop eax
pop edi
pop edx
mov edx, dword [edx]
jmp 0x4048f7
Function at 0x4089d0
Capabilities:
Encode data using xor

Disassembly:
inc eax
add ah, bh
adc al, byte [eax]
and byte [esi + 0x40], al
add byte [0x3ca84088], dh
mov byte [eax], al
xor dword [eax - 0x77b5ffc0], ecx
inc eax
add byte [ecx + 0xa], dl
inc eax
add byte [eax + ecx*4 + 0x40], dh
add ah, bh
cld
cld
mov byte [eax], al
pop edi
mov byte [eax], al
test dword [esi + 0x3f], ecx
add byte [eax + ecx*4 - 0x7729ffc0], cl
inc eax
sbb dword [edx - 0x5effd206], 0xa8004088
mov byte [eax], al
scasd eax, dword es:[edi]
mov byte [eax], al
cld
mov byte [0xb888fc00], bh
inc esp
cld
mov byte [eax], al
mov dh, 0x88
inc eax
add byte [ebp - 0x3bb9bf78], bh
mov bh, ah
add byte [eax - 0x36dbf78], dh
mov byte [eax + 0x46], al
les ecx, [eax - 0x774fff19]
inc eax
xchg edx, eax
cld
mov byte [eax], al
cld
mov byte [eax], al
cld
salc
inc eax
add dl, dl
mov ch, ah
add cl, bl
xor byte [eax], al
loopne 0x408942
inc eax
add bh, ah
mov byte [eax], al
out dx, al
mov ch, al
add ch, dh
mov byte [0x90909000], bh
nop
nop
mov esp, 0x8b559090
in al, dx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
scasb al, byte es:[edi]
jne 0x4089e3
push edi
mov edi, dword [ebp + 0x10]
push 0xffffffffffffff9d
push ebx
leave
push 0x47dc00
push edi
adc byte [eax], al
push 0x300
not byte [0x7d40c094]
test eax, eax
jne 0x408a3e
mov esp, ebp
sbb al, 0xf9
inc eax
add byte [ebp + 0x395b74c9], al
cmp al, 0xd8
sbb bl, al
inc eax
add byte [eax], al
jns 0x408999
or al, 0xc5
and al, 0xc3
inc eax
add byte [eax - 0xc], al
leave
imul ebx
jmp 0x408a5f
mov cl, byte [eax + esi - 0x5a]
dec eax
cmp cl, 0xd
je 0x408a62
cmp cl, 0xa
jne 0x408a51
out 4, al
xor byte [eax], ah
test eax, eax
sub ebp, ecx
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
inc ebp
mov edi, dword [ebp + 0x10]
push edi
push 0xb7a8b2
push ebx
test al, 0xb7
add byte [ebx + 0x56], dl
push esi
call fcn.00408680
add esp, 0x10
mov eax, esi
pop edi
scasb al, byte es:[edi]
pop ebx
dec ecx
xchg esi, eax
nop
nop
nop
pop es
xchg edx, eax
nop
nop
insb byte es:[edi], dx
nop
ficom word [ebp - 0x75]
les eax, [0xff5008f4]
adc eax, 0x5ac114
xor eax, 0xc02d043b
je 0x408a66
mov ecx, dword [ebp + 0x10]
mov ecx, dword [edi + 0x5251500c]
call 0xffba4e80
add esp, 0xffffff81
pop ebp
inc ebx
mov eax, dword [ebp + 0x10]
or dword [ebp - 0x53], 0x40f95468
add byte [eax + 0x51], dl
aas
invalid
Function at 0x100016a0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov dword [ebp - 4], ecx
xor edi, edi
mov dword [ebp - 8], edx
xor ecx, ecx
nop dword [eax + eax]
mov eax, ecx
mov byte [ebp + ecx - 0x108], cl
cdq
idiv esi
mov al, byte [edx + 0x1001a800]
mov byte [ebp + ecx - 0x208], al
inc ecx
cmp ecx, 0x100
jl 0x100016c0
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
mov dl, byte [ebp + esi - 0x108]
movzx eax, byte [ebp + esi - 0x208]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x10001716
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi - 0x108]
mov byte [ebp + edi - 0x108], dl
mov byte [ebp + esi - 0x108], al
inc esi
cmp esi, 0x100
jl 0x100016f0
xor edi, edi
cmp dword [ebp - 8], ebx
jle 0x100017b0
mov esi, dword [ebp + 0x10]
sub dword [ebp - 4], esi
inc ebx
and ebx, 0x800000ff
jns 0x10001752
dec ebx
or ebx, 0xffffff00
inc ebx
movzx eax, byte [ebp + ebx - 0x108]
add edi, eax
and edi, 0x800000ff
jns 0x1000176c
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [ebp + ebx - 0x108]
mov dl, byte [ebp + edi - 0x108]
mov byte [ebp + edi - 0x108], al
mov byte [ebp + ebx - 0x108], dl
movzx ecx, byte [ebp + edi - 0x108]
movzx eax, dl
add ecx, eax
movzx eax, cl
mov ecx, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0x108]
xor al, byte [ecx + esi]
mov byte [esi], al
inc esi
sub dword [ebp - 8], 1
jne 0x10001741
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10005d5d
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000ac5e
push ebx
push esi
call fcn.1000ab8a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000ab20
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000ac0b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ac5d
push edi
push eax
call fcn.10006ac0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000ac2b
call fcn.10006a70
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ac5c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000ab20
add esp, 0x20
test eax, eax
jne 0x1000ac4a
push edi
call fcn.10006a70
jmp 0x1000ac52
push ebx
call fcn.10006a70
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1000e5cb
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x1000e5e5
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x1000e5fc
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1000e654
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.1000c325
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x1000e654
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1000e654
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1000e654
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x1000e64e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x1000e650
xor bl, bl
mov al, bl
jmp 0x1000e656
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x10013d9a
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x1003ee55
call fcn.1003b3a5
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x10013e8c
cmp byte [esi + 0x45], bl
je 0x10013e8c
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10013dcf
xor al, al
jmp 0x10013e8e
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.10014076
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x10013dfc
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10013e23
dec eax
je 0x10013e27
dec eax
dec eax
je 0x10013e7a
xor bl, bl
jmp 0x10013e7c
mov byte [esi + 0x45], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x10013e37
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x10013e60
cmp eax, 0x10
jae 0x10013e46
lea edi, [ebp - 0x28]
push dword [esi + 0x50]
push ebx
push 1
push edi
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x10013e1f
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x45], 0
je 0x10013e7a
test ebx, ebx
jne 0x10013df0
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.10014015
jmp 0x10013dea
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10010630
mov al, bl
jmp 0x10013e8e
mov al, 1
call fcn.1003b354
ret
Function at 0x1002cb97
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x1003ee55
call fcn.1003b3a5
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x1002cc90
cmp byte [esi + 0x46], bl
je 0x1002cc90
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x1002cbd3
xor al, al
jmp 0x1002cc92
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.10014076
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x1002cc00
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1002cc27
dec eax
je 0x1002cc2b
dec eax
dec eax
je 0x1002cc7e
xor bl, bl
jmp 0x1002cc80
mov byte [esi + 0x46], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x1002cc3b
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x1002cc64
cmp eax, 0x10
jae 0x1002cc4a
lea edi, [ebp - 0x28]
push dword [esi + 0x50]
push ebx
push 1
push edi
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x1002cc23
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x46], 0
je 0x1002cc7e
test ebx, ebx
jne 0x1002cbf4
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.10014015
jmp 0x1002cbee
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10010630
mov al, bl
jmp 0x1002cc92
mov al, 1
call fcn.1003b354
ret

Function at 0x1002ed97
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.MSVCR120.dll__beginthreadex]
mov dword [esi], eax
add esp, 0x18
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
pop esi
pop ebp
ret
Function at 0x100397ce
Capabilities:
Inspect section memory permissions

Disassembly:
pop ebp
or al, 0xeb
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x100397f0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1003980e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1003986c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10039853
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1003985c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10039866
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10039848
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100397d2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100398b9
dec eax
je 0x100398b0
sub eax, 3
je 0x100398a7
mov dword [ebp - 4], 0x40
jmp 0x100398d6
mov dword [ebp - 4], 4
jmp 0x100398bc
mov dword [ebp - 4], 0x20
jmp 0x100398bc
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
mov ch, 0x54
invalid
invalid
invalid
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10039908
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10039888
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10039119
aas
in eax, 0xee
mov ah, 0xff
jne 0x10039913
push 1
rcr byte [edi + 0x5e], 0x5b
Function at 0x10039b6f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x10039b89
push dword [ebp + 0x14]
call fcn.100390de
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10039119
jp 0x10039b7d
test eax, eax
cld
invalid
stosb byte es:[edi], al
inc ebp
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
inc dword [eax]
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.10039129
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100390de
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.10039119
jle 0x10039c5a
sub al, 0x5e
and byte [ebp - 0x664], 0
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
clc
stc
invalid
lea eax, [ebp - 0x664]
push eax
call fcn.10039129
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100390de
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.10039129
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100390de
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.10039119
add eax, dword [ecx - 0x46]
rol dword [eax - 0x5135b], cl
inc dword [eax]
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
invalid
test edx, edi

Function at 0x10039e01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cli
invalid
inc dword [ecx]
cmp dword [ebp - 0x398], 0
je 0x10039e0d
cmp dword [ebp - 0x398], 0
je 0x10039fd7
add byte [eax], al
cmp dword [ebp + 0xc], 1
je 0x10039fd7
cmp dword [ebp + 0xc], 8
jne 0x10039f9f
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
invalid
test dword [esi - 7], ecx
Function at 0x1003a09f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x11fffffc]
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10039129
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100390de
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10039119
sti
out 0xd1, eax
lea ebp, [eax + 4]
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x1003ac99
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ecx]
jne 0x1003ad45
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.10039129
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.1003908a
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x1003b091
cmp dword [ebp - 0x6fc], 2
jne 0x1003ae02
and byte [ebp - 0x79c], 0
and byte [ebp - 0x79b], 0
mov byte [ebp - 0x79a], 0x10
and byte [ebp - 0x799], 0
mov byte [ebp - 0x798], 0xb3
mov byte [ebp - 0x797], 0x8c
mov byte [ebp - 0x796], 0x80
invalid
test dword [ebx - 8], ebp

Function at 0x1003b2eb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.10039119
invalid
invalid
mov al, byte [eax]
inc edi