joyce8/EMBER2024-capa huggingface dataset:
Function at 0x656f1008
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x656f8000]
jne 0x656f1012
repz ret
jmp fcn.656f1294

Function at 0x656f4dfa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x656f8000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.656f139a
and dword [ebp - 0x14], 0
cmp dword [0x656f9784], 0
mov dword [ebp - 0x18], eax
jne 0x656f4ead
push 0x656f77f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x656f4f55
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x656f77e8
push ebx
call edi
test eax, eax
je 0x656f4f55
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x656f77d8
push ebx
mov dword [0x656f9784], eax
call edi
push eax
call esi
push 0x656f77c4
push ebx
mov dword [0x656f9788], eax
call edi
push eax
call esi
push 0x656f77a8
push ebx
mov dword [0x656f978c], eax
call edi
push eax
call esi
mov dword [0x656f9794], eax
test eax, eax
je 0x656f4ead
push 0x656f7790
push ebx
call edi
push eax
call esi
mov dword [0x656f9790], eax
mov eax, dword [0x656f9790]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x656f4f06
cmp dword [0x656f9794], ecx
je 0x656f4f06
push eax
call esi
push dword [0x656f9794]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x656f4f06
test ebx, ebx
je 0x656f4f06
call edi
test eax, eax
je 0x656f4efd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x656f4efd
test byte [ebp - 8], 1
jne 0x656f4f06
or dword [ebp + 0x10], 0x200000
jmp 0x656f4f39
mov eax, dword [0x656f9788]
cmp eax, dword [ebp - 0x18]
je 0x656f4f39
push eax
call esi
test eax, eax
je 0x656f4f39
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x656f4f39
mov eax, dword [0x656f978c]
cmp eax, dword [ebp - 0x18]
je 0x656f4f39
push eax
call esi
test eax, eax
je 0x656f4f39
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x656f9784]
call esi
test eax, eax
je 0x656f4f55
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x656f4f57
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.656f1008
leave
ret
Function at 0x1009e19e
Capabilities:
Encode data using xor

Disassembly:
call 0x1009e117
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 0x1009e147
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 0x1009e163
xor edx, 0
jmp 0x1009e16e
xor edx, edx
jmp 0x1009e185
jmp 0x1009e191
xor eax, eax
push 0x8427d7c0
call 0x1009e19e
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1009e1da
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 0x1009e1b3
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 0x1009e1f1
add eax, 0
jno 0x1009e1f6
add esi, 0
ret 0x10

Function at 0x1009ef5f
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 0x1009ef81
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 0x1009f123
cmp edi, dword [ebp + 0x10]
jb 0x1009f123
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.1009ea4b
inc edi
jmp 0x1009f00a
jmp 0x1009f017
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1009ea4b
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1009ea4b
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 0x1009f06b
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 0x1009f04f
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1009f099
add dword [eax], 0x39
jle 0x1009f075
sub al, 0xf5
mov ch, al
call fcn.1009f0ae
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x100a0d86
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 0x100a0d9c
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 0x100a0dad
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100a0dee
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 0x100a315a
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 0x100a30a3
add ebx, 0
push ecx
call 0x100a30b8
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, 0x73a871c0
sub ebx, dword [0x73aa69ff]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73aa69ef
call fcn.1009eb82
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1009e090
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100a3216
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100a3216
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 0x100a31cd
mov eax, 1
lock xchg dword [0x73aa69fb], eax
push 0x3dd1fc71
call 0x100a315a
push esi
add esp, 8
cmp eax, 0
jne 0x100a3143
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100a3169
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100a317e
cmp ecx, edx
cmp eax, 0
je 0x100a31a3
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 0x100a318d
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100a31bc
dec eax
loope 0x100a31bf
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73aa69fb], 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 0x100a31f3
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100a3208
jmp 0x100a3213
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100a3101
Function at 0x100aa27b
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 0x100aa551
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73a93673
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73a8a639
push 0xffffffffffffffff
call fcn.100a147b
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 0x100aa2e5
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100aa2fd
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 0x100aa545
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100aa519
Function at 0x100b9d4b
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 0x100b9d6d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100b9d6d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100b9d6d
ret
cmp word [ebx + 4], 0x14c
jne 0x100b9d6d
test word [ebx + 0x16], 2
je 0x100b9d6d
test word [ebx + 0x16], 0x100
je 0x100b9d6d
cmp word [ebx + 0x18], 0x10b
jne 0x100b9d6d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100b9d6d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100b9df9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100b9d8d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a0cd8
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100b9d6d
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 0x100b9df9
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 0x100b9d6d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100b9d6d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100b9d6d
ret
cmp word [ebx + 4], 0x14c
jne 0x100b9d6d
test word [ebx + 0x16], 2
je 0x100b9d6d
test word [ebx + 0x16], 0x100
je 0x100b9d6d
cmp word [ebx + 0x18], 0x10b
jne 0x100b9d6d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100b9d6d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100b9df9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100b9d8d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a0cd8
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100b9d6d
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 0x100b9eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100b9f09
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100b9eb0
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100b9ebf
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 0x104bfb62
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 0x100b9f10
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.100a0d86
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100b9faf
add edi, 4
add eax, 2
dec ecx
jne 0x100b9ef5
call 0x100b9f5c
loope 0x100b9f52
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100b9fac
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 0x100b9fbd
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 0x100b9f70
cmp eax, ecx
ja 0x100b9f70
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100b9ffa
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100b9ff0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100a1265
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100b9ebf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100b9f09
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100b9eb0
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100b9ebf
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 0x104bfb62
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 0x100b9f10
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.100a0d86
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100b9faf
add edi, 4
add eax, 2
dec ecx
jne 0x100b9ef5
call 0x100b9f5c
loope 0x100b9f52
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100b9fac
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 0x100b9fbd
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 0x100b9f70
cmp eax, ecx
ja 0x100b9f70
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100b9ffa
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100b9ff0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100a1265
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401443
pop dword [ebp - 0x18]
mov eax, 0x401443
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xee0f5a37
sub dword [ebp - 0x28], 0x9fbd14ec
mov dword [ebp - 0x24], 0xd7b03152
add dword [ebp - 0x24], 0x5a831af3
mov dword [ebp - 0x20], 0xd3bcc72
add dword [ebp - 0x20], 0x3f1077bc
mov dword [ebp - 0x1c], 0xb7e00a7
sub dword [ebp - 0x1c], 0xb7e00a7
lea eax, [ebp - 0x28]
push eax
mov eax, 0xec38033f
add eax, 0x14087d39
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x6ac588bc
add dword [ebp - 0x28], 0x9ace09a
mov dword [ebp - 0x24], 0x3875303b
add dword [ebp - 0x24], 0x8f7313a
mov dword [ebp - 0x20], 0x535b092d
sub dword [ebp - 0x20], 0xefeb9cc1
mov dword [ebp - 0x1c], 0xc8491c28
sub dword [ebp - 0x1c], 0xc8491c28
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3c555
push 0
call eax
mov ecx, 0x24cc2a4f
sub ecx, 0x24cbd27b
mov ebx, eax
mov edi, 0xf035406b
add edi, 0x100fd395
add edi, dword [ebp - 0x18]
mov edx, 0xee81f2f7
sub edx, 0x790a689c
sub dword [ebp - 4], 0x8abb3cc7
mov esi, dword [edi]
sub esi, edx
xor dword [ebp - 0x10], 0xb7c710d7
mov dword [ebx], esi
xor dword [ebp - 0x10], 0x642c71a0
add ebx, 0xf2afac4f
sub ebx, 0xf2afac4b
add edi, 0xf81496dc
sub edi, 0xf81496d8
loop 0x40155b
add eax, 0xb99b429b
sub eax, 0xb999f078
xor ebx, ebx
add ebx, eax
add eax, 0x53675a5a
add eax, 0xac98a5ab
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x401f00
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 1
push 0x23
lea eax, [ebp - 0x108]
mov esi, ecx
push eax
mov dword [ebp - 0x10c], esi
push 0
mov dword [ebp - 0x10c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x401f4b
push str.c:windows_temp
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [ebp - 0x108]
push edi
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 0xffffffff
jne 0x401f72
push 0
lea eax, [ebp - 0x108]
push eax
call edi
push str.Thunder_Network
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x401f9d
push 0
lea eax, [ebp - 0x108]
push eax
call edi
push str.DownloadLib
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x401fc8
push 0
lea eax, [ebp - 0x108]
push eax
call edi
lea ecx, [ebp - 0x108]
mov dword [esi + 0x10], 0
pop edi
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
pop ebx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401fe4
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
mov ecx, esi
call fcn.00404cb0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041ba48
mov esp, ebp
pop ebp
ret
Function at 0x410500
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, esi
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x410527
mov eax, dword [esi]
push 0x64
mov byte [eax], 0
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0041d240
add esp, 0xc
lea eax, [ebp - 0x80]
push 0
push 0
push 0
push 0
push eax
push 0x64
lea eax, [ebp - 0x7c]
push eax
push 0x44a2a4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x41056c
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ba48
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x80]
mov eax, ecx
shr eax, 0x18
push 0
push 0
push eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
push eax
lea eax, [ebp - 0x18]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.00410420
lea edx, [ebp - 0x18]
add esp, 0x20
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4105a6
sub edx, ecx
lea eax, [ebp - 0x18]
push edx
push eax
mov ecx, esi
call fcn.00404cb0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0041ba48
mov esp, ebp
pop ebp
ret
Function at 0x410dc0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2b18
call fcn.0041ba60
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
mov esi, ecx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x410f4c
push 0x2710
lea eax, [ebp - 0x2afc]
mov dword [ebp - 0x2b00], 0
push 0
push eax
mov dword [ebp - 0x2b08], 0
mov dword [ebp - 0x2b04], 0
call fcn.0041d240
add esp, 0xc
mov dword [ebp - 0x2b14], 0
lea eax, [ebp - 0x2b14]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2afc]
push eax
push 0xc
lea eax, [ebp - 0x2b08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x410f45
mov edx, dword [ebp - 0x2ae4]
lea eax, [ebp - 0x3ec]
push eax
push ecx
lea ecx, [ebp - 0x2afc]
call fcn.00410c50
movsx eax, byte [ebp - 0x3ec]
push eax
call fcn.004279fe
add esp, 0xc
test eax, eax
jne 0x410eb5
movsx eax, byte [ebp - 0x3d9]
push eax
call fcn.004279fe
add esp, 4
test eax, eax
je 0x410f45
lea ecx, [ebp - 0x3ec]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410ec0
sub ecx, edx
lea eax, [ebp - 0x3ec]
push ecx
push eax
mov ecx, esi
call fcn.00404cb0
mov ecx, dword [esi + 0x14]
mov eax, esi
mov byte [ebp - 0x2b09], 0x20
cmp ecx, 0x10
jb 0x410eeb
mov eax, dword [esi]
mov edx, dword [esi + 0x10]
add eax, edx
mov dword [ebp - 0x2b10], eax
mov eax, esi
cmp ecx, 0x10
jb 0x410eff
mov eax, dword [esi]
add eax, edx
mov edx, esi
cmp ecx, 0x10
jb 0x410f0a
mov edx, dword [esi]
push eax
push edx
lea edx, [ebp - 0x2b09]
lea ecx, [ebp - 0x2b18]
call fcn.00411730
add esp, 8
mov ecx, esi
push dword [ebp - 0x2b10]
push dword [eax]
lea eax, [ebp - 0x2b10]
push eax
call fcn.00411690
cmp dword [esi + 0x10], 0
mov eax, 1
movzx ebx, bl
cmovne ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ba48
mov esp, ebp
pop ebp
ret