joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001fc40
Capabilities:
Get file size

Disassembly:
cmp dword [esp + 0xc], 3
push esi
push edi
jne 0x1001fcac
mov edi, dword [esp + 0x10]
lea esi, [edi + 4]
push esi
push 0x12
push dword [esp + 0x14]
call fcn.1001d240
mov ecx, eax
test ecx, ecx
je 0x1001fc84
cmp ecx, 0xfffffffb
jne 0x1001fd00
push esi
push 0x10
push dword [esp + 0x14]
mov dword [edi + 8], 1
call fcn.1001d240
mov ecx, eax
test ecx, ecx
jne 0x1001fd00
push 0
push 2
push dword [esi]
call fcn.1001d440
lea ecx, [edi + 0x14]
push ecx
push dword [esi]
call fcn.1001d220
push 0
push 0
push dword [esi]
call fcn.1001d440
pop edi
xor eax, eax
pop esi
ret 0xc
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push esi
push 0x12
push edi
call fcn.1000b760
mov ecx, eax
test ecx, ecx
je 0x1001fcde
cmp ecx, 0xfffffffb
jne 0x1001fd00
push esi
push 0x10
push edi
mov dword [esi + 8], 1
call fcn.1000b760
mov ecx, eax
test ecx, ecx
jne 0x1001fd00
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
jne 0x1001fca5
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov eax, 0xfffffbf8
pop esi
ret 0xc
cmp ecx, 0xfffffffc
jne 0x1001fd0f
pop edi
mov eax, 0xfffff8f1
pop esi
ret 0xc
cmp ecx, 0xfffffffe
jne 0x1001fd1e
pop edi
mov eax, 0xfffff8ed
pop esi
ret 0xc
cmp ecx, 0xfffffffd
mov eax, 0xfffffbf8
mov edx, 0xfffffc01
pop edi
cmove eax, edx
pop esi
ret 0xc
Function at 0x1004d3d5
Capabilities:
Encode data using xor

Disassembly:
call 0x1004d34e
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 0x1004d37e
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 0x1004d39a
xor edx, 0
jmp 0x1004d3a5
xor edx, edx
jmp 0x1004d3bc
jmp 0x1004d3c8
xor eax, eax
push 0x8427d7c0
call 0x1004d3d5
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1004d411
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 0x1004d3ea
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 0x1004d428
add eax, 0
jno 0x1004d42d
add esi, 0
ret 0x10

Function at 0x1004e196
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 0x1004e1b8
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 0x1004e35a
cmp edi, dword [ebp + 0x10]
jb 0x1004e35a
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.1004dc82
inc edi
jmp 0x1004e241
jmp 0x1004e24e
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004dc82
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004dc82
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 0x1004e2a2
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 0x1004e286
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1004e2d0
add dword [eax], 0x39
jle 0x1004e2ac
sub al, 0xf5
mov ch, al
call fcn.1004e2e5
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1004ffbd
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 0x1004ffd3
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 0x1004ffe4
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10050025
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 0x10052391
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 0x100522da
add ebx, 0
push ecx
call 0x100522ef
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, 0x1005a09f
sub ebx, dword [0x100798de]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100798ce
call fcn.1004ddb9
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1004d2c7
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005244d
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005244d
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 0x10052404
mov eax, 1
lock xchg dword [0x100798da], eax
push 0x3dd1fc71
call 0x10052391
push esi
add esp, 8
cmp eax, 0
jne 0x1005237a
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100523a0
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100523b5
cmp ecx, edx
cmp eax, 0
je 0x100523da
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 0x100523c4
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100523f3
dec eax
loope 0x100523f6
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100798da], 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 0x1005242a
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005243f
jmp 0x1005244a
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10052338
Function at 0x100594b2
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 0x10059788
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x10066552
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1005d518
push 0xffffffffffffffff
call fcn.100506b2
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 0x1005951c
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10059534
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 0x1005977c
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10059750
Function at 0x10068f82
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 0x10068fa4
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10068fa4
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10068fa4
ret
cmp word [ebx + 4], 0x14c
jne 0x10068fa4
test word [ebx + 0x16], 2
je 0x10068fa4
test word [ebx + 0x16], 0x100
je 0x10068fa4
cmp word [ebx + 0x18], 0x10b
jne 0x10068fa4
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10068fa4
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10069030
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10068fc4
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004ff0f
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10068fa4
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 0x10069030
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 0x10068fa4
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10068fa4
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10068fa4
ret
cmp word [ebx + 4], 0x14c
jne 0x10068fa4
test word [ebx + 0x16], 2
je 0x10068fa4
test word [ebx + 0x16], 0x100
je 0x10068fa4
cmp word [ebx + 0x18], 0x10b
jne 0x10068fa4
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10068fa4
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10069030
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10068fc4
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004ff0f
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10068fa4
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 0x100690e7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10069140
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100690e7
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100690f6
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 0x1046ed99
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 0x10069147
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.1004ffbd
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100691e6
add edi, 4
add eax, 2
dec ecx
jne 0x1006912c
call 0x10069193
loope 0x10069189
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100691e3
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 0x100691f4
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 0x100691a7
cmp eax, ecx
ja 0x100691a7
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10069231
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10069227
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1005049c
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100690f6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10069140
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100690e7
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100690f6
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 0x1046ed99
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 0x10069147
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.1004ffbd
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100691e6
add edi, 4
add eax, 2
dec ecx
jne 0x1006912c
call 0x10069193
loope 0x10069189
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100691e3
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 0x100691f4
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 0x100691a7
cmp eax, ecx
ja 0x100691a7
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10069231
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10069227
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1005049c
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x413fcb
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x41fc1a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f8bc

Function at 0x414dd1
Capabilities:
Encode data using xor

Disassembly:
xor dword [esi], ecx
add edi, ebx
add edi, 0xb42e393f
or edi, edi
add esi, 4
mov ebx, 0x19c66604
sub ebx, 0xfc2f5f7
cmp esi, edx
jne fcn.00414dd1
or edi, ebx
or edi, eax
add ebx, ebx
ret
Function at 0x100012a3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
test dl, dl
je 0x100012c5
cmp byte [ebp + 0xc], 0
je 0x100012bd
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax]
mov eax, dword [ebp + 8]
add dword [eax], ecx
pop ebp
ret
mov eax, dword [ebp + 0x10]
add dword [eax], 0x18
pop ebp
ret
cmp byte [ecx], 0
je 0x100012da
xor eax, eax
push eax
push 0xdea
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop ebp
ret

Function at 0x1000130b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x10], 0
je 0x1000131e
push 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x1000133b
push 0x1778
push 0x2218
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret

Function at 0x100014f9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 8], 0
mov byte [ebp - 4], cl
je 0x1000154d
test cl, cl
je 0x1000152b
push 0x3c43
push 0xfe3
push 1
push 0x4303
xor dl, dl
mov byte [ebp + 0xb], 0
lea ecx, [ebp + 0xb]
call fcn.100012a3
jmp 0x10001575
cmp byte [edx], 0
je 0x10001588
push 1
push 0x7800
push 0
mov edx, 0x33f7
mov ecx, 0x2cea
call fcn.1000130b
add esp, 0xc
jmp 0x10001588
cmp byte [ebp + 0x10], 0
je 0x1000157a
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x10001588
push 0x828
push 1
push 0
push 0x21ec
mov edx, 0x400a
xor cl, cl
call fcn.100011dc
add esp, 0x10
jmp 0x10001588
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x100090b4
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f00f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x28], 0
push fcn.10013ead
push fcn.10004883
push 1
push 0x18
lea eax, [ebp - 0x4c]
push eax
call fcn.10047c5a
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], 0x344d
mov dword [ebp - 0x2c], str.auwdmdgfo_cpy_qsaidgww_dwvqu_dmvkn_rahluyjqz_noe_ygd_eoflbprel_xhrlytjhf_xhuc_mfv_yjyjdova
cmp dword [ebp - 0x24], 0x34f5
jle 0x100091a5
and dword [ebp - 0x14], 0
jmp 0x10009120
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4ece
jge 0x1000919d
and dword [ebp - 0x18], 0
jmp 0x10009136
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x77c9
jge 0x10009198
and dword [ebp - 0x1c], 0
jmp 0x1000914c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x69e8
jge 0x10009196
and dword [ebp - 0x20], 0
jmp 0x10009162
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1446
jge 0x10009194
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
mov ecx, dword [ebp - 0x20]
sar eax, cl
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
mov ecx, 0x10079c18
call fcn.100048ed
jmp 0x1000915b
jmp 0x10009145
jmp 0x1000912f
jmp 0x10009119
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0x4258
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 0x10]
push 0x3764
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push 0
call fcn.10009cc5
add esp, 0x1c
mov byte [ebp - 4], 2
cmp dword [ebp - 0x24], 0x343c
jge 0x100091e0
mov edx, dword [ebp - 0x2c]
mov ecx, 0x10079c18
call fcn.10006b05
jmp 0x100091fc
mov dword [ebp - 4], 1
jmp 0x1000920c
push 0x18
pop eax
imul eax, eax, 0
lea eax, [ebp + eax - 0x4c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10013e87
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
push fcn.10013ead
push 1
push 0x18
lea eax, [ebp - 0x4c]
push eax
call fcn.10047b8d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000967e
Capabilities:
Create thread
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f061
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10009804
lea eax, [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x100096d9
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10009802
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0x46b7
mov dword [ebp - 0x3c], str.jfh_ugqrjsmdw_haa_kmfyjxf_tqdx_jzidjou_nim
cmp dword [ebp - 0x24], 0x48bf
jle 0x100097a5
and dword [ebp - 0x14], 0
jmp 0x10009707
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x8021
jge 0x100097a5
and dword [ebp - 0x18], 0
jmp 0x10009721
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x430a
jge 0x100097a0
and dword [ebp - 0x1c], 0
jmp 0x10009737
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3319
jge 0x1000979b
and dword [ebp - 0x20], 0
jmp 0x1000974d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5dfb
jge 0x10009799
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
imul edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
call fcn.10002dd6
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.100048cd
push eax
call fcn.100476ff
pop ecx
lea ecx, [ebp - 0x60]
call fcn.100048c3
jmp 0x10009746
jmp 0x10009730
jmp 0x1000971a
jmp 0x10009700
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100097c6
push 0
push 0xdea
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x42d0
jge 0x100097dc
push dword [ebp - 0x3c]
call fcn.100476ff
pop ecx
jmp 0x100097f8
or dword [ebp - 4], 0xffffffff
jmp 0x10009802
jmp 0x10009821
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
push 0x1cf1
push 0
push 0x7445
call fcn.10008fd5
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009d12
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f0a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x28], 0
push fcn.10004a4f
push fcn.10006f0c
push 1
push 0x18
lea eax, [ebp - 0x4c]
push eax
call fcn.10047c5a
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], 0x7089
mov dword [ebp - 0x2c], str.vxpyxddzq_nwox_xsekytte_dukx_emshfbggz_taxuefd_odtd_qfea_fruf
cmp dword [ebp - 0x24], 0x7228
jle 0x10009e0c
and dword [ebp - 0x14], 0
jmp 0x10009d7e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3c7a
jge 0x10009df6
and dword [ebp - 0x18], 0
jmp 0x10009d94
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x69c4
jge 0x10009df4
and dword [ebp - 0x1c], 0
jmp 0x10009daa
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4db
jge 0x10009df2
and dword [ebp - 0x20], 0
jmp 0x10009dc0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xb26
jge 0x10009df0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
mov ecx, 0x10079c18
call fcn.100048ed
jmp 0x10009db9
jmp 0x10009da3
jmp 0x10009d8d
jmp 0x10009d77
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.1000c4ee
add esp, 0x14
mov byte [ebp - 4], 2
cmp dword [ebp - 0x24], 0x7026
jge 0x10009e3d
mov edx, dword [ebp - 0x2c]
mov ecx, 0x10079c18
call fcn.10006b05
jmp 0x10009e59
mov dword [ebp - 4], 1
jmp 0x10009e69
push 0x18
pop eax
imul eax, eax, 0
lea eax, [ebp + eax - 0x4c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10004a02
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
push fcn.10004a4f
push 1
push 0x18
lea eax, [ebp - 0x4c]
push eax
call fcn.10047b8d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret