joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb0f4961
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0xb0f4980
mov byte [ebp - 8], 1
mov edx, ebx
jmp 0xb0f49b7
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov esi, 0xb7
cmp edx, esi
jne 0xb0f49b3
push 0xffffffffffffffff
push 3
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.0b0f49ed
mov edx, eax
test edx, edx
jne 0xb0f49b3
mov eax, dword [ebp - 0x18]
shr eax, 4
test al, 1
cmove edx, esi
mov byte [ebp - 8], bl
pop esi
mov eax, dword [ebp - 8]
pop ebx
leave
ret 4

Function at 0xb0f4cf8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push 0xb086258
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0xb0f4d1f
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0xb0f4d22
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0b0f4cd4
pop esi
leave
ret 8

Function at 0xb0f5b06
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0xb0f5b3b
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0xb0f5b38
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0xb0f5b44
add edx, 0x28
cmp edx, esi
jne 0xb0f5b26
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0xb0f5b41

Function at 0xb0f6b0a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0xb0f6b49
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xb0f6b49
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xb0f6b49
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xb0f6b49
cmp dword [ecx + 0x74], 0xe
jbe 0xb0f6b49
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xb10ed90
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 0xb10edaa
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 0xb10edc1
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0xb10ee19
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.0b114c72
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0xb10ee19
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 0xb10ee19
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0xb10ee19
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0xb10ee13
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0xb10ee15
xor bl, bl
mov al, bl
jmp 0xb10ee1b
xor al, al
pop esi
pop ebx
leave
ret
Function at 0xb1101bc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0b0f6d70
mov eax, dword [0xa4020c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0b10c81b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0xb1101fe
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0xb110375
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0b11c850
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0xa4186c0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0b110ffc
mov ecx, dword [esi*4 + 0xa4186c0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0xb11036e
cmp eax, dword [edi + ecx + 0x24]
jne 0xb11036e
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xb11036e
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0b110ffc
add esp, 0x14
cmp edx, esi
jl 0xb11036e
jg 0xb1102c9
cmp eax, esi
jb 0xb11036e
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0xb11036e
jl 0xb1102eb
cmp dword [ebp - 0x1008], eax
ja 0xb11036e
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0xb110310
cmp ebx, esi
je 0xb110355
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0xb110355
mov al, byte [ecx]
cmp al, 0xd
jne 0xb110336
lea eax, [edi - 1]
cmp ecx, eax
jae 0xb110342
cmp byte [ecx + 1], 0xa
jne 0xb110342
inc ecx
jmp 0xb110342
movzx eax, al
movsx eax, byte [eax + 0xa402510]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0xb11031c
cmp edx, ebx
jne 0xb11031c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0xb110373
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0b0f5922
leave
ret
Function at 0xb110488
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0xa4186c0]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0xb1104ca
cmp byte [ebx], 0xa
jne 0xb1104ca
or byte [edi + eax + 0x28], 4
jmp 0xb1104cf
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0xb1105d2
mov cl, byte [eax]
cmp cl, 0x1a
je 0xb1105ad
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0xb1104fe
mov eax, dword [ebp - 8]
jmp 0xb11051e
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0xb11053a
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0xb110518
add eax, 2
mov cl, 0xa
jmp 0xb11051b
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0xb1104e0
jmp 0xb1105d2
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xb1105a8
cmp dword [ebp - 0x10], 0
je 0xb1105a8
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0xa4186c0]
test byte [eax + edi + 0x28], 0x48
je 0xb110587
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0xb110577
mov byte [esi], 0xa
jmp 0xb1105d1
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0xa4186c0]
mov byte [eax + edi + 0x2a], cl
jmp 0xb1105d1
cmp byte [ebp - 1], 0xa
jne 0xb110591
cmp esi, ebx
je 0xb110572
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0b11101a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0xb1105d2
mov byte [esi], 0xd
jmp 0xb1105d1
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0xa4186c0]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0xb1105cf
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0xb1105d2
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0xb1105db
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0xa4186c0]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0xb11061f
push 0xa
pop esi
cmp word [ebx], si
jne 0xb11061f
or byte [eax + edi + 0x28], 4
jmp 0xb110624
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0xb11078f
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0xb110767
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0xb110671
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0xb11069b
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0xb1106ba
push 0xa
pop ebx
cmp word [edx], bx
jne 0xb110688
push ebx
add eax, 4
pop edx
jmp 0xb110690
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0xb110636
jmp 0xb11078f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xb110762
cmp dword [ebp - 0x14], 0
je 0xb110762
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0xa4186c0]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0xb11073e
mov dx, word [ebp - 4]
cmp dx, ax
jne 0xb110706
mov word [esi], ax
jmp 0xb11078c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0xa4186c0]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0xa4186c0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0xa4186c0]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0xb11078c
cmp word [ebp - 4], ax
jne 0xb110748
cmp esi, ebx
je 0xb1106fe
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0b11101a
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0xb11078f
push 0xd
pop eax
jmp 0xb1106fe
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0xa4186c0]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0xb110789
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0xb11078f
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0xb113d9d
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 0xb113e3a
push ebx
push esi
call fcn.0b113d66
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.0b10e9c8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0xb113de7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0xb113e39
push edi
push eax
call fcn.0b10b5e0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0xb113e07
call fcn.0b10b470
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0xb113e38
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0b10e9c8
add esp, 0x20
test eax, eax
jne 0xb113e26
push edi
call fcn.0b10b470
jmp 0xb113e2e
push ebx
call fcn.0b10b470
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 0xb113e3d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0xb113e4e
pop esi
ret
push ebx
push edi
push esi
call fcn.0b113d66
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0b10b5e0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0xb113e76
push ebx
push esi
push edi
call fcn.0b0f7670
add esp, 0xc
push 0
call fcn.0b10b470
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0xb1145cd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0b1140e9

Function at 0xb116c6b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0b10b21b
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xb116cda
cmp esi, dword [ebp - 4]
je 0xb116cd5
cmp dword [ebp + 0xc], 0
je 0xb116cd5
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0xb116cb2
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0b1167c0
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0xb116cdc
xor eax, eax
inc eax
jmp 0xb116cdc
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0xb116d47
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xa4020c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0b10b21b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0b10b21b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0xb116dbe
cmp word [ecx], dx
je 0xb116dbe
mov eax, dword [0xb089c0c]
push edi
dec eax
push eax
push 0xb089af8
call fcn.0b116ce0
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0xb116e31
cmp word [eax], dx
je 0xb116e31
mov eax, dword [edi]
test eax, eax
je 0xb116de2
cmp word [eax], dx
je 0xb116de2
lea eax, [ebp - 0x10]
push eax
call fcn.0b1166c6
jmp 0xb116deb
lea eax, [ebp - 0x10]
push eax
call fcn.0b116761
cmp dword [ebp - 0x10], 0
pop ecx
jne 0xb116e5b
mov eax, dword [0xb089af4]
push dword [ebp - 0x14]
dec eax
push eax
push 0xb0897e8
call fcn.0b116ce0
add esp, 0xc
test al, al
je 0xb116e5b
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0xb116e26
cmp word [eax], di
je 0xb116e26
lea eax, [ebp - 0x10]
push eax
call fcn.0b1166c6
pop ecx
jmp 0xb116e5d
lea eax, [ebp - 0x10]
push eax
call fcn.0b116761
jmp 0xb116e23
mov eax, dword [edi]
test eax, eax
je 0xb116e48
cmp word [eax], dx
je 0xb116e48
lea eax, [ebp - 0x10]
push eax
call fcn.0b11667b
pop ecx
jmp 0xb116e5b
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0xb116f26
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0b116b65
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0xb116f26
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0xb116f26
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0xb116f26
mov eax, dword [ebp - 0x18]
test eax, eax
je 0xb116eb3
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0b10d341
test ebx, ebx
je 0xb116f21
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0b10d341
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xb116f26
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xb116f26
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0b11accf
add esp, 0x10
xor eax, eax
inc eax
jmp 0xb116f28
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0b0f5922
leave
ret
Function at 0xb11b36f
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0b11b2eb
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0xb11b4de
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0xb11b4de
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0xb11b493
jg 0xb11b3cb
test eax, eax
je 0xb11b489
push 1
push 0x1000
call fcn.0b10b580
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0xb11b3ee
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0xb11b480
push 0x8000
push ebx
call fcn.0b1094a1
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0xb11b417
jg 0xb11b412
cmp ecx, 0x1000
jb 0xb11b417
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0b10f837
add esp, 0x10
cmp eax, 0xffffffff
je 0xb11b45c
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0xb11b412
jl 0xb11b443
test ecx, ecx
jne 0xb11b404
push dword [ebp - 0xc]
push ebx
call fcn.0b1094a1
push esi
call fcn.0b10b470
add esp, 0xc
xor ebx, ebx
jmp 0xb11b4ec
cmp byte [edi + 0x24], 0
je 0xb11b473
cmp dword [edi + 0x20], 5
jne 0xb11b473
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0xb11b47e
mov ebx, dword [edi + 0x18]
jmp 0xb11b480
xor ebx, ebx
push esi
call fcn.0b10b470
pop ecx
jmp 0xb11b4ec
test ecx, ecx
jg 0xb11b455
jl 0xb11b493
test eax, eax
jae 0xb11b455
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0b11101a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0xb11b4b3
cmp byte [edi + 0x1c], 0
je 0xb11b455
jmp 0xb11b4e4
push ebx
call fcn.0b114c72
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0xb11b455
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0xb11b4ec
cmp byte [edi + 0x1c], 0
je 0xb11b4e9
mov ebx, dword [edi + 0x18]
jmp 0xb11b4ec
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0b11101a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0xb11c730
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xb11c75d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xb11c75d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10003760
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001262d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1001e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0x1001af4d
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10006060
test al, al
jne 0x1000381d
mov eax, dword [ebp + 0x18]
inc eax
push eax
call fcn.10006d17
add esp, 4
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov ebx, eax
mov edx, ebx
cmovae ecx, dword [ebp + 8]
sub edx, ecx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100037c0
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100037d2
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.10009260
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1000384d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003843
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000385f
push edx
push ecx
call fcn.1000679f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100099dc
int3
Function at 0x99677c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9967a3
call fcn.00938d18
mov dword [eax], esi
call fcn.00938d05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093995a
mov eax, esi
jmp 0x9967f8
test dword [ebp + 0xc], 0xfffffff9
jne 0x996789
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9967d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00938d2b
pop ecx
call fcn.00938d05
mov eax, dword [eax]
jmp 0x9967f8
test al, 0x10
jne 0x9967f6
test al, 1
je 0x9967f6
test byte [ebp + 0xc], 2
je 0x9967f6
call fcn.00938d18
mov dword [eax], 5
call fcn.00938d05
mov dword [eax], 0xd
jmp 0x9967c7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x7ffe53a5
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
nop
lea esp, [esp]
cld
and bh, 0xff
cld
lea esp, [esp]
cld
pushal
inc eax
popal
nop
add eax, 0
nop
pushal
inc eax
popal
stc
pushal
inc eax
popal
clc
lea esp, [esp]
clc
pushal
inc eax
popal
cld
lea esp, [esp]
cld
add eax, 0
clc
lea esp, [esp]
cld
push edx
cdq
pop edx
cld
lea esp, [esp]
cld
push edx
cdq
pop edx
clc
pushal
inc eax
popal
nop
push edx
cdq
pop edx
clc
add eax, 0
stc
pushal
inc eax
popal
nop
add eax, 0
nop
pushal
inc eax
popal
clc
add eax, 0
stc
lea esp, [esp]
cld
push edx
cdq
pop edx
cld
and bh, 0xff
nop
add eax, 0
nop
pushal
inc eax
popal
clc
stc
call 0x7ffe541e
pop edx
push eax
pop eax
stc
xor dx, dx
nop
push edx
cdq
pop edx
add edx, 0xd5e0
and bh, 0xff
xor ecx, ecx
clc
clc
mov cl, 0x1e
add eax, 0
cld
inc esi
dec esi
stc
xor byte [ecx + edx], 0x3a
loop 0x7ffe543f
push dword fs:[0x24]
lea esp, [esp]
stc
stc
pop dword [edx + 0xa]
clc
and al, 0xff
stc
mov cl, 0xff
push edx
cdq
pop edx
clc
nop
push edx
loop 0x7ffe545f
mov dword [edx + 0x11], 0xffffacbb
nop
add eax, 0
cld
clc
nop
mov ecx, dword [eax + 0x2c]
pushal
inc eax
popal
lea esp, [esp]
mov dword [edx + 0x1b], ecx
cld
stc
cld
mov dword [edx + 0x100], ecx
mov dword [eax + 0x2c], esp
nop
push edx
cdq
pop edx
clc
pushal
inc eax
popal
cld
push 0
stc
nop
push 0
push edx
cdq
pop edx
clc
lea esp, [esp]
clc
cld
push 0
cld
inc esi
dec esi
clc
push 0
cld
push 0x30
cld
and bh, 0xff
cld
and bh, 0xff
push 0x20
cld
add eax, 0
cld
and bh, 0xff
stc
push 0
add eax, 0
add al, 0
stc
push 0
push edx
cdq
pop edx
add edx, 0xffff7f35
pushal
inc eax
popal
inc esi
dec esi
nop
push edx
nop
lea esp, [esp]
clc
and bh, 0xff
clc
push edx
add eax, 0
stc
push 0
pushal
inc eax
popal
nop
pushal
inc eax
popal
clc
cld
call dword [edx + 0x820e]
clc
pushal
inc eax
popal
cld
clc
add esp, 0x3f8
push es
pop ds
nop
xor eax, eax
stc
add al, 0
cld
inc eax
push es
pop ds
nop
ret 0xc