joyce8/EMBER2024-capa huggingface dataset:
Function at 0x518bf0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x52f010]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x518cda
cmp byte [ebx + 0x3e], 0
je 0x518cda
mov eax, dword [ebx]
push esi
push edi
mov esi, dword [eax + 0xc]
call fcn.00518e50
movzx edi, ax
mov ecx, ebx
push edi
call esi
movzx ecx, ax
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ecx
mov eax, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.00518e90
test al, al
jne 0x518cc6
mov ecx, dword [ebx + 0x38]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x518c89
sub eax, 1
je 0x518c8d
sub eax, 2
jne 0x518cc6
pop edi
mov byte [ebx + 0x3e], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00527df2
add esp, 0x30
ret
mov byte [ebx + 0x3e], 0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
sub esi, eax
je 0x518cad
push dword [ebx + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x518cc6
cmp byte [ebx + 0x3e], 0
pop edi
pop esi
sete al
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00527df2
add esp, 0x30
ret
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00527df2
add esp, 0x30
ret
mov ecx, dword [esp + 0x30]
mov al, 1
pop ebx
xor ecx, esp
call fcn.00527df2
add esp, 0x30
ret
Function at 0x5279cb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.005279a7
pop esi
leave
ret 8

Function at 0x52893f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x52897e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x52897e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x52897e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x52897e
cmp dword [ecx + 0x74], 0xe
jbe 0x52897e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4019aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [0x536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call 0x51427a
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x401a72
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call 0x51427a
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call 0x50df55
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x401b18
cmp edi, dword [esi + 0x7c]
jge 0x401b18
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.004163bc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004163bc
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x51427a
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x51427a
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x401a6a
jmp 0x401a3a
call fcn.0041a5e3
int3
Function at 0x417717
Capabilities:
Encode data using xor

Disassembly:
jne 0x4176ef
sub eax, 0x73a4e5a3
dec esp
mov dh, 0xc9
loopne 0x417797
fmul dword [ecx + 0x77fcb589]
adc esp, ebx
sbb dword [ecx - 0x32], 0x68
and eax, 0x1c96a722
xchg esi, eax
jnp 0x4176e8
inc ebx
jmp 0x4176f2
xchg edx, eax
dec ebp
adc eax, 0xfc1885fd
mov byte [0xa4734431], al
jo 0x4177a0
mov ah, 0x35
mov eax, 0x68a6d587
rcl byte [edx + 0x6c], 0x58
push eax
or dword [eax], esi
xchg ebp, eax
cmp esp, dword [edx + 0xf28fefb]
daa
mov dword [esp + ebp*4 - 0x41], 0x6fed8adb
adc al, 0xc1
inc esp
mov dword [0xa71b8fc], eax
bound edi, qword [esi]
jl 0x417821
jl 0x417821
inc edx
dec byte [edi + ebp*8 + 0x23]
mov byte [0x800f1b03], al
jae 0x41773f
sub al, 0xb2
pop esi
mov ecx, 0x73fe6aff
cmp bh, dh
pop eax
mov dl, 0x5f
cmc
dec edx
inc esi
dec ebx
push eax
imul edi, ebp, 0xffffffef
dec bl
mov dword [0xd8e03601], eax
ret
cmpsb byte [esi], byte es:[edi]
fisubr dword [ebp - 0x41]
xlatb
mov ebp, 0x6ab1922e
mov cl, 0x6a
sub dword [esi + edi*4], ebp
xor ebp, 0xffffffef
scasd eax, dword es:[edi]
pop ss
sbb ch, byte [edx*2 - 0x2f3497f]
add eax, 0xfd4916dd
xor eax, 0xb9e27277
out 0x4e, al
out dx, eax
add ebx, eax
frstor dword [ebp - 0x2f]
les edx, [ebx + ecx - 0x4a]
test dword [ebp + 0x40], ebx
adc eax, 0x7de71c06
sar dword [ebx + 0x79], 0xa5
inc ebx
sbb al, 0
fnsave dword [esi - 0x3ff74893]
cmp byte [esi], dh
xchg byte [edx - 0x33], dl
pop edi
jecxz 0x417819
movsb byte es:[edi], byte [esi]
cli
daa
test dword [edx], esi
and eax, 0x9324a5c5
retf
Function at 0x422aaa
Capabilities:
Encode data using xor

Disassembly:
test dword [esi + 0x561fd438], esi
xchg byte [edi], dl
scasd eax, dword es:[edi]
lodsd eax, dword [esi]
xchg esp, eax
push esi
xchg ebx, eax
push edi
add byte [edi - 0x6ca96b53], ch
mov esp, 0x57ccc667
pop edi
stosb byte es:[edi], al
jl 0x422a46
push es
mov bl, 0xde
add ecx, ebp
pop ds
adc dl, byte [edi]
inc esi
inc ebp
adc dword [esi + 0x59], 0x2c
stosb byte es:[edi], al
push esi
pop ecx
sub al, 0xaa
mov dl, 0x3e
aad 0xd5
inc edi
aad 0xf8
and eax, dword [edi - 0x47a0071d]
inc ebp
xchg edi, eax
or eax, 0x715f81a1
cmpsd dword [esi], dword es:[edi]
aaa
inc ebp
test byte [ebx], bh
sbb al, 0x71
push eax
retf
xchg ebp, eax
xor byte [esi], al
inc edi
invalid
pop ds
cmp dl, byte [esp]
dec ecx
sahf
add al, 0x72
jb 0x422a16
jo 0x422a39
test eax, 0xa1599026
mov ebp, 0xbf0d6bd
pop edi
idiv byte [esp + edx + 0x5d]
pop es
sbb edi, dword [ecx + 0x27fab6dd]
push es
idiv byte [ecx]
je 0x4229f4
jno 0x4229fb
aad 0x37
fild dword [esi]
mov al, byte es:[0x1697c5b7]
mov edx, edi
scasb al, byte es:[edi]
out dx, eax
cld
pop ebx
inc esi
add ah, byte [edi - 0x112c1de3]
cld
xor al, 0x2e
ja 0x422b08
adc esi, edx
adc al, 0x4c
push cs
mov ebp, 0xdfe37c94
push ebx
ficom dword [edi]
into
lcall 0x94b9, 0xd9749fd2
xchg ebp, eax
push edi
push edx
daa
invalid
push ss
mov al, byte [0xa77a7d91]
loop 0x422a46
sub al, byte [ebx - 0x7875abcd]
outsd dx, dword [esi]
or al, 0xa6
ror dword [ebp - 0x68adbb09], cl
push edx
xchg edi, eax
inc edi
cmp eax, 0x9a03bb5e
sub eax, 0x49f322a
lodsd eax, dword [esi]
xlatb
jb 0x422ae0
sbb byte [edi + esi*4], al
push ds
les ebp, [ecx]
aas
sal cl, 1
inc edi
cld
out 0x35, eax
xor dl, byte [esi + 0x766fb6b6]
fsin
mov eax, dword [eax - 0x3b5e91e4]
invalid
xchg esi, eax
mov dh, 0xb6
outsd dx, dword [esi]
jbe 0x422abf
dec byte [ebx - 0x5e91e380]
invalid
xor dword [ecx + 0x368696a7], ebp
and dword [esi - 0xc], ebx
iretd

Function at 0x440132
Capabilities:
Encode data using xor

Disassembly:
and eax, 0xe2637e5f
call 0xc1580418
jno 0x4400fc
pop ds
inc ebp
adc eax, 0xb242d570
dec ecx
cmp al, 0xfa
test al, 0xd7
push eax
arpl dx, di
cli
inc ecx
mov eax, dword [0x51439ae1]
sub al, 0xec
mov dword [0x11105440], eax
and ch, byte [ebx + 0x34]
xchg ecx, eax
daa
stosb byte es:[edi], al
pop ebp
aaa
mov dl, 0x13
retf
adc edx, dword [ebx - 0xcd6fe75]
rcl dword [edx - 0x3e], cl
in eax, 0xf7
add ebx, dword [ebx]
loop 0x440116
cmp eax, 0x7293015a
aam 0xb6
xlatb
and eax, dword [ebx - 0x29]
sbb bl, ah
insb byte es:[edi], dx
arpl word [edx], si
je 0x4400fc
popfd
jge 0x440187
cmp eax, 0x6625b4fb
retf 0x4501
inc ebp
fiadd dword [ebx]
cmp al, 0x15
test dword [ecx + 0x483333ce], edi
lahf
adc eax, 0x33ceb985
xor ecx, dword [eax - 0x61]
mov dword [ebp - 0x5d], esi
les ebp, [ebp + 0x3692f8fb]
mov ebp, 0x724d020b
xor al, 0x71
nop
adc al, 0x89
loopne 0x44018b
fimul dword [esi]
invalid
Function at 0x45d3ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
and al, 0x38

Function at 0x46bc7e
Capabilities:
Encode data using xor

Disassembly:
inc esp
jecxz 0x46bcc7
adc dword [edi - 0x132033fd], ebp
xor bl, cl
lahf
xor byte [esi + ecx*4], bh
adc dword [ebx + edi + 0x106d5edb], ebx
mov ebx, 0xd3453963
fistp dword [esi + 0x6d]
adc byte [esi], dh
mov ebx, 0xd3453963
xor eax, 0x4b7e49f8
jg 0x46bcb2
xchg edi, eax
push edi
fmul qword [ebp + 0x3360e6c8]
cmp byte [esi], dl
loopne 0x46bc91
retf
not edx
popal
pop es
dec edi
aas
mov bh, 0x34
daa
fsub st(5), st(0)
inc ecx
adc byte [ecx - 0x23a5522c], al
rcl dword [edi + 0x4d32a6d8]
les ecx, [ecx]
mov ebx, 0xededfc4
cmpsb byte [esi], byte es:[edi]
xor cl, byte [ebp - 0x3c]
or dword [ebx + 0xededfc4], edi
or dword [edx], ecx
invalid
Function at 0x4743ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [0x536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call fcn.00586c9a
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x474492
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call fcn.00586c9a
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call fcn.00580975
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x474538
cmp edi, dword [esi + 0x7c]
jge 0x474538
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.00488ddc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00488ddc
fld qword [esi + 0x88]
fmul qword [0x560e70]
call fcn.00586c9a
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call fcn.00586c9a
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x47448a
jmp 0x47445a
call fcn.0048d003
int3
Function at 0x499942
Capabilities:
Encode data using xor

Disassembly:
imul eax, ebx, 0x71
cmp dword [ecx + 0x6c], eax
mov esi, 0x4225e44
and dh, byte [ecx]
cmp byte [esi - 0x28a54de9], ah
lodsb al, byte [esi]
push ds
pop ebp
jo 0x499926
rcl dword [edi + 0x410991a7], 0xcf
dec edx
leave
loope 0x499980
adc al, 0x49
fmul qword [ebx + 0x7360df0d]
mov edx, 0xc4925cfb
cmp eax, esi
push esp
dec eax
inc eax
in eax, 0x26
aam 0x10
das
adc byte [edi], dl
insb byte es:[edi], dx
cmpsd dword [esi], dword es:[edi]
jno 0x4999d6
test al, 0xe6
push esi
daa
inc ebx
retf 0x5c2f
out 0xbe, eax
cmpsd dword [esi], dword es:[edi]
pop ecx
pushfd
cmp dword [esi], esp
jge 0x4999d0
aaa
out dx, al
and esp, edx
sub bh, byte [esi + 0x5cfe775]
fcom qword [esi + 0x48]
out 0xb2, eax
hlt
iretd
push ebx
push 9
xor byte [ecx], dh
jbe 0x4999a7
ror byte [ecx], 1
jne 0x499995
dec ecx
add byte [ebp - 0x46], dh
inc edi
or dword [eax], edi
mov dword [0x43ef01d4], eax
insd dword es:[edi], dx
jl 0x499a04
aam 0x16
mov esi, 0x777433c4
sbb dh, al
mov eax, dword [0x59ee202e]
pop es
shl dword [edx], cl
push ecx
jmp 0xb92f3273
mov edx, 0xb3383e77
xchg edx, eax
dec ebp
dec esp
aas
cmp byte ds:[ebx + 0x3f4c4d92], dh
cld
mov ebp, 0xb266e4f9
lds ebx, [edx - 0x1235e1d9]
and eax, 0x4abd5a25
std
rol esp, cl
clc
inc edx
fnstcw word [ecx - 0x26]
pop esi
cwde
out dx, al
cmp dword [edx], edx
cld
mov bh, byte [edx + 0x41]
xor al, byte [ecx + 0x5c]
pop ds
or dword [esi - 0x418367bc], ebp
or eax, 0x527ef5cd
mov esi, 0x3495aa79
xchg edi, eax
inc ebp
and edi, dword [ecx + 0x26]
jne 0x499a06
out dx, eax
cmp ecx, eax
push 0x36be61f3
push ds
sal byte [esi], cl
fsub dword [0xe52699dc]
rol dword [esi], cl
sub edi, dword [ebp - 0x3d]
lea eax, [edx]
mov esi, 0x7c7d870b
sbb esi, ebp
leave
xchg esp, eax
push ebp
test al, 0x6a
inc ecx
push cs
popfd
les edx, [esi]
mov eax, dword [0x36881566]
xchg ebx, eax
mov ebp, 0xc5796cac
jge 0x499acb
test al, 0xbe
add dword [ebp + 0x26], esp
push ebx
iretd
pop ebx
invalid

Function at 0x49a4fe
Capabilities:
Encode data using xor

Disassembly:
pop es
jp 0x49a50f
adc dword [eax + 0x342d707e], ecx
scasd eax, dword es:[edi]
or ebp, dword [ebx - 0x56]
adc bh, byte [ebx + 0x24]
retf
push dword [edi - 0x53]
add eax, 0x1cc1b7dc
mov ebp, 0xd82c6730
and dword [ebx + 0x38ea9cd5], 0xffffffc7
mov edi, 0x52c9e636
salc
mov al, byte [0x52c724d2]
xor eax, 0xe6f25623
pop edi
invalid
Function at 0x4a2d2a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [0x536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call fcn.005b55fa
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x4a2df2
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call fcn.005b55fa
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call fcn.005af2d5
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js fcn.004a2e98
cmp edi, dword [esi + 0x7c]
jge fcn.004a2e98
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.004b773c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004b773c
fld qword [esi + 0x88]
fmul qword [0x560e70]
call fcn.005b55fa
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call fcn.005b55fa
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x4a2dea
jmp 0x4a2dba

Function at 0x4b0c80
Capabilities:
Encode data using xor

Disassembly:
mov byte [0x9dd76e07], al
pop ecx
test dword [ebx - 0x3e], eax
insd dword es:[edi], dx
adc dword [ecx - 0x5b], ebp
or esp, dword [ebx + 0xbd1a95b]
invalid
Function at 0x4b8c67
Capabilities:
Encode data using xor

Disassembly:
adc byte [eax - 0x140c8fbf], 0x60
in eax, dx
xchg esi, eax
imul ecx, dword [0x58971562], 0xffffffeb
invalid
mov ebx, 0x565fe662
adc cl, ah
jp 0x4b8cea
pop esp
adc esp, dword [edi]
stosb byte es:[edi], al
dec ecx
leave
pop ecx
inc ebp
jl 0x4b8c80
sub al, 0x98
loopne 0x4b8c2c
insd dword es:[edi], dx
inc esi
inc esi
mov bh, 0xf9
pop ds
stosd dword es:[edi], eax
cmp ebp, esp
pop esi
sbb al, 0xc8
mov byte [0x912ccf57], al
ljmp 0x6272
or eax, 0xa9133625
mov al, byte [0x328b1a5a]
mov ebp, 0x20f0af56
jbe 0x4b8d1e
scasd eax, dword es:[edi]
lock and byte [esi + 0x23], dh
xor eax, 0x776e2d17
mov edx, 0x1f64be5f
and eax, ebp
sbb ah, byte [ebx]
adc byte [edx], dl
jg 0x4b8cf6
popal
dec edi
xchg esi, eax
cwde
movsb byte es:[edi], byte [esi]
lodsd eax, dword [esi]
cmpsd dword [esi], dword es:[edi]
imul dword [ebx]
mov ah, 0x49
cmp edi, dword [edi]
xchg edi, eax
aaa
add ah, ch
int1
in eax, 0xf1
out dx, eax
sbb eax, 0x7d276e39
jne 0x4b8d5a
pop eax
cmp dword [esp + edi*8 - 0x2a09bae1], esi
mov al, byte [0xb7a47876]
adc ecx, eax
xchg byte [ecx], dh
invalid
mov byte [0x9e9ffc1e], al
invalid

Function at 0x4ba5d1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2410
cmp edx, dword [eax]
je 0x4ba5f3
add eax, 8
inc ecx
cmp eax, 0x4c24a0
jl 0x4ba5e4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2410]
jne 0x4ba721
mov eax, dword [0x4c6db4]
cmp eax, 1
je 0x4ba6fb
test eax, eax
jne 0x4ba624
cmp dword [0x4c2338], 1
je 0x4ba6fb
cmp edx, 0xfc
je 0x4ba721
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba65b
lea eax, [ebp - 0x1a4]
push 0x4bf958
push eax
call fcn.004bafb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb440
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba69e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb440
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf954
push edi
call fcn.004bd310
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bf938
push eax
call fcn.004bafb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bafc0
lea eax, [ebp - 0xa0]
push 0x4bf934
push eax
call fcn.004bafc0
push dword [esi + 0x4c2414]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bafc0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bf90c
push eax
call fcn.004bd284
add esp, 0x2c
pop edi
jmp 0x4ba721
lea eax, [ebp + 8]
lea esi, [esi + 0x4c2414]
push 0
push eax
push dword [esi]
call fcn.004bb440
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 0x4f885772
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4f88e064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7c
pop ebx
push ebx
lea eax, [ebp - 0x80]
mov edi, edx
push 0
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x104], ebx
mov edx, ebx
lea ecx, [ebp - 0xfc]
push esi
call fcn.4f883ee0
test eax, eax
js 0x4f88584a
push 0x4f881408
lea ecx, [ebp - 0xfc]
call fcn.4f885585
test eax, eax
js 0x4f88584a
lea eax, [ebp - 0x100]
xor ebx, ebx
push eax
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], ebx
call fcn.4f88a5f8
test eax, eax
jne 0x4f88584a
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x100]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x100]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4f88584a
mov al, byte [ebp - 0x80]
test al, al
je 0x4f88584a
lea edx, [ebp - 0x80]
mov ecx, edx
inc ecx
test al, al
je 0x4f88583b
cmp al, 0x5c
je 0x4f885833
cmp al, 0x3a
jne 0x4f885835
mov edx, ecx
mov al, byte [ecx]
test al, al
jne 0x4f885826
push edx
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov word [edi], ax
xor eax, eax
inc eax
jmp 0x4f88584c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f88caa0
leave
ret

Function at 0x4f887e74
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f88e064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [ebp - 0x214], eax
push ecx
lea ecx, [ebp - 0x20c]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.4f886f30
push 0x4f88177c
lea ecx, [ebp - 0x20c]
call fcn.4f886e4f
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x4f887ef5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4f887f1f
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc9
call fcn.4f887b88
mov edi, eax
jmp 0x4f887f1f
lea edx, [ebp - 0x210]
mov dword [ebp - 0x210], edi
mov ecx, esi
call fcn.4f887d5a
mov ebx, eax
test ebx, ebx
jns 0x4f887f25
push ebx
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xcf
call fcn.4f887b6b
mov edi, ebx
test esi, esi
je 0x4f887f3d
jmp 0x4f887f37
mov ecx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
push esi
call fcn.4f887c08
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f88caa0
leave
ret 8