joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b300
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push 0x4c
mov eax, 0x42c9b4
call fcn.0042a817
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x49], bl
call fcn.0041b531
pop ecx
push ebx
push ebx
push 3
push ebx
push 1
mov edi, 0x80000000
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call dword [0x430220]
mov esi, dword [0x430058]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x50], eax
jne 0x41b3c4
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041b531
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0041b9e1
test al, al
jne 0x41b39b
lea ecx, [ebp - 0x2c]
call fcn.0041b9e1
test al, al
je 0x41b39b
push ebx
lea ecx, [ebp - 0x48]
call dword [0x430220]
push eax
lea ecx, [ebp - 0x2c]
call dword [0x430220]
push eax
call dword [0x4300b8]
test eax, eax
je 0x41b39b
lea ecx, [ebp - 0x2c]
call dword [0x430220]
push eax
call dword [0x43008c]
push ebx
push ebx
push 3
push ebx
push 1
push edi
lea ecx, [ebp - 0x2c]
call dword [0x430220]
push eax
call esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], bl
call dword [0x430230]
cmp dword [ebp - 0x50], 0xffffffff
je 0x41b402
push ebx
push dword [ebp - 0x50]
call dword [0x430054]
cmp eax, 0x10
jb 0x41b3f9
push ebx
lea eax, [ebp - 0x54]
push eax
push 0x10
push section..QMGuid
push dword [ebp - 0x50]
mov dword [ebp - 0x54], ebx
call dword [0x430080]
test eax, eax
je 0x41b3f9
cmp dword [ebp - 0x54], 0x10
jne 0x41b3f9
mov byte [ebp - 0x49], 1
push dword [ebp - 0x50]
call dword [0x430110]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call dword [0x430230]
mov al, byte [ebp - 0x49]
call fcn.0042a89a
ret

Function at 0x41b418
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x42c97d
call fcn.0042a817
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x49], bl
call fcn.0041b531
pop ecx
push ebx
push ebx
push 2
push ebx
push 1
mov edi, 0x40000000
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [0x430220]
mov esi, dword [0x430058]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x50], eax
jne 0x41b495
push 1
lea ecx, [ebp - 0x48]
call fcn.0041b531
pop ecx
push ebx
push ebx
push 2
push ebx
push 1
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [0x430220]
push eax
call esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], bl
call dword [0x430230]
cmp dword [ebp - 0x50], 0xffffffff
je 0x41b4c1
push ebx
lea eax, [ebp - 0x54]
push eax
push 0x10
push section..QMGuid
push dword [ebp - 0x50]
call dword [0x430068]
test eax, eax
je 0x41b4b8
cmp dword [ebp - 0x54], 0x10
jne 0x41b4b8
mov byte [ebp - 0x49], 1
push dword [ebp - 0x50]
call dword [0x430110]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [0x430230]
mov al, byte [ebp - 0x49]
call fcn.0042a89a
ret
Function at 0x41b531
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x42c943
call fcn.0042a817
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], ebx
call dword [0x430244]
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push ebx
mov dword [ebp - 4], ebx
inc edi
push eax
mov dword [ebp - 0x21c], edi
call fcn.00429e0e
mov al, byte [ebp + 8]
add esp, 0xc
neg al
push edi
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [0x430494]
test eax, eax
je 0x41b5ff
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x23c]
call dword [0x4302ac]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call dword [0x430184]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], bl
call dword [0x430230]
cmp byte [ebp + 8], bl
mov ecx, esi
je 0x41b5d7
push str.TencentDeskUpdate
jmp 0x41b5dc
push str.TencentDesktop
call dword [0x4301c8]
call fcn.0041b607
test al, al
jne 0x41b5f2
mov ecx, esi
call fcn.0041b6f6
push str.Global.db
mov ecx, esi
call dword [0x4301c8]
mov eax, esi
call fcn.0042a89a
ret
Function at 0x41ba32
Capabilities:
Get storage device properties

Disassembly:
push ebp
sub esp, 0x40c
lea ebp, [esp - 4]
mov eax, dword [0x440030]
xor eax, ebp
mov dword [ebp + 0x40c], eax
push 0xc
mov eax, 0x42d279
call fcn.0042a7ae
mov eax, dword [ebp + 0x418]
xor esi, esi
mov dword [ebp - 4], esi
push eax
mov ecx, 0x436f7c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esi
call fcn.0041bdc4
push esi
push esi
push 3
push esi
push 3
push esi
mov dword [ebp - 4], esi
push 0x437260
mov dword [ebp - 0x18], 1
call dword [0x430058]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41bb04
push 0xc
lea eax, [ebp]
push esi
push eax
mov dword [ebp - 0x14], esi
call fcn.00429e0e
mov edi, 0x400
push edi
lea eax, [ebp + 0xc]
push esi
push eax
mov dword [ebp], esi
mov dword [ebp + 4], esi
call fcn.00429e0e
add esp, 0x18
push esi
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
push 0xc
lea eax, [ebp]
push eax
push 0x2d1400
push ebx
call dword [0x4300c8]
test eax, eax
je 0x41bafd
mov esi, dword [ebp + 0x1c]
lea esi, [ebp + esi + 0xc]
movsx eax, byte [esi]
push eax
call dword [0x43030c]
test eax, eax
pop ecx
je 0x41bafd
push esi
push dword [ebp - 0x10]
call fcn.0041be3e
push ebx
call dword [0x430110]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x40c]
xor ecx, ebp
call fcn.00429e1a
add ebp, 0x410
leave
ret
Function at 0x41ca01
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x41cd60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
cmp eax, ecx
mov dword [ebp - 8], edi
jb 0x41cded
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00429f4e
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x41cdad
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x41cdcf
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x41cf1b
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
cmp ecx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
jbe 0x41ce15
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x41ce20
xor eax, eax
jmp 0x41ce6b
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x41ce3d
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
push edx
call fcn.00421d69
jmp 0x41ce4e
cmp ecx, 2
jne 0x41ce55
push edx
push dword [edi + 0x30]
mov edx, dword [edi]
call fcn.00421f83
pop ecx
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
pop ecx
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.00429f4e
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edx, dword [esi + 0x74]
cmp edx, 3
jb 0x41ce96
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edi, [eax + ecx]
movzx eax, byte [edi]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edi + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edx, 0x106
jae 0x41ceaa
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x41cd6b
mov ecx, dword [esi + 0x16c0]
mov eax, dword [esi + 0x3c]
cmp ecx, eax
jae 0x41cf1b
mov edi, dword [esi + 0x6c]
add edi, edx
cmp ecx, edi
jae 0x41ceea
sub eax, edi
mov ebx, eax
mov eax, 0x102
cmp ebx, eax
jbe 0x41cecf
mov ebx, eax
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.00429e0e
add esp, 0xc
add ebx, edi
mov dword [esi + 0x16c0], ebx
jmp 0x41cf1b
lea edx, [edi + 0x102]
cmp ecx, edx
jae 0x41cf1b
sub edi, ecx
add edi, 0x102
sub eax, ecx
cmp edi, eax
jbe 0x41cf04
mov edi, eax
mov eax, dword [esi + 0x38]
push edi
add eax, ecx
push 0
push eax
call fcn.00429e0e
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
leave
ret
Function at 0x41d80d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x2a24]
mov eax, 0x2aa4
call fcn.0042bf20
mov eax, dword [0x440030]
xor eax, ebp
mov dword [ebp + 0x2a20], eax
and word [ebp + 0x2818], 0
push 0x206
lea eax, [ebp + 0x281a]
push 0
push eax
call fcn.00429e0e
add esp, 0xc
push 0x104
lea eax, [ebp + 0x2818]
push eax
call dword [0x430094]
push str.iphlpapi.dll
lea eax, [ebp + 0x2818]
push eax
call dword [0x4304a0]
lea eax, [ebp + 0x2818]
push eax
call dword [0x430130]
test eax, eax
mov dword [ebp - 0x7c], eax
jne 0x41d889
xor al, al
jmp 0x41d97a
push str.GetAdaptersInfo
push eax
call dword [0x430138]
test eax, eax
je 0x41d957
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x68]
push ecx
mov dword [ebp - 0x80], 0x2880
call eax
test eax, eax
jne 0x41d957
push ebx
mov dword [ebp - 0x6c], edi
lea eax, [ebp - 0x72]
sub dword [ebp - 0x6c], eax
push esi
lea esi, [ebp - 0x68]
mov dword [ebp - 0x78], 3
lea eax, [esi + 8]
push eax
call fcn.0041d98f
push 6
mov ebx, eax
lea eax, [ebp - 0x72]
push 0
push eax
call fcn.00429e0e
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp - 0x6c]
lea eax, [ebp + ecx - 0x72]
mov dl, byte [edx + eax]
cmp dl, byte [eax]
jne 0x41d8fe
inc ecx
cmp ecx, 6
jb 0x41d8e8
jmp 0x41d913
mov eax, dword [esi + 0x1a0]
cmp eax, 6
je 0x41d90e
cmp eax, 0x17
jne 0x41d94b
cmp dword [ebp - 0x78], ebx
jle 0x41d94b
mov al, byte [esi + 0x194]
mov byte [edi], al
mov al, byte [esi + 0x195]
mov byte [edi + 1], al
mov al, byte [esi + 0x196]
mov byte [edi + 2], al
mov al, byte [esi + 0x197]
mov byte [edi + 3], al
mov al, byte [esi + 0x198]
mov byte [edi + 4], al
mov al, byte [esi + 0x199]
mov byte [edi + 5], al
mov dword [ebp - 0x78], ebx
mov esi, dword [esi]
test esi, esi
jne 0x41d8cb
pop esi
pop ebx
push dword [ebp - 0x7c]
call dword [0x430160]
push 6
lea eax, [ebp - 0x72]
push 0
push eax
call fcn.00429e0e
add esp, 0xc
lea ecx, [ebp - 0x72]
mov eax, edi
call fcn.0041d690
mov ecx, dword [ebp + 0x2a20]
xor ecx, ebp
call fcn.00429e1a
add ebp, 0x2a24
leave
ret
Function at 0x41d98f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x440030]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [section..rdata]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x78], 0x104
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call esi
test eax, eax
jne 0x41db06
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push str._sConnection
push 0xffffffffffffffff
push 0x103
push eax
call dword [0x430460]
add esp, 0x14
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x41dafd
mov esi, dword [0x430004]
push 4
pop eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.MediaSubType
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x41daf4
push 0x104
xor edi, edi
lea eax, [ebp - 0x64]
push ebx
inc edi
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0x103
call fcn.00429e0e
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.PnpInstanceID
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x41daf4
cmp dword [ebp - 0x70], edi
jne 0x41dae4
mov esi, 0x437358
push esi
call fcn.00429e8a
mov edi, dword [0x430310]
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call edi
add esp, 0x10
test eax, eax
jne 0x41dac0
mov dword [ebp - 0x6c], ebx
jmp 0x41daf4
cmp dword [ebp - 0x70], 1
jne 0x41dae4
push esi
call fcn.00429e8a
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call edi
add esp, 0x10
test eax, eax
je 0x41dae4
mov dword [ebp - 0x6c], 2
jmp 0x41daf4
xor eax, eax
cmp dword [ebp - 0x70], 2
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
call dword [0x430018]
push dword [ebp - 0x7c]
call dword [0x430018]
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ebp - 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429e1a
add ebp, 0xa4
leave
ret
Function at 0x41e1e7
Capabilities:
Get storage device properties

Disassembly:
push ebp
sub esp, 0xd0c
lea ebp, [esp - 4]
mov eax, dword [0x440030]
xor eax, ebp
mov dword [ebp + 0xd0c], eax
push 0x54
mov eax, 0x42c7c0
call fcn.0042a7ae
mov eax, dword [ebp + 0xd18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xd1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xd20]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x14], ebx
mov edi, 0xff
cmp byte [ebp - 0xd], bl
jne 0x41e41d
push 0x200
lea eax, [ebp + 0x80c]
push ebx
push eax
call fcn.00429e0e
push dword [ebp - 0x14]
lea eax, [ebp + 0x80c]
push 0x43735c
push 0xffffffffffffffff
push edi
push eax
call dword [0x4303b8]
add esp, 0x20
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp + 0x80c]
push eax
call dword [0x430058]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x41e410
push 0xc
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x20], ebx
call fcn.00429e0e
mov esi, 0x800
push esi
lea eax, [ebp + 0xc]
push ebx
push eax
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
call fcn.00429e0e
add esp, 0x18
push ebx
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0xc
lea eax, [ebp]
push eax
push 0x2d1400
push dword [ebp - 0x18]
call dword [0x4300c8]
test eax, eax
je 0x41e401
push edi
lea eax, [ebp + 0xc0d]
push ebx
push eax
mov byte [ebp + 0xc0c], bl
call fcn.00429e0e
push edi
lea eax, [ebp + 0xb0d]
push ebx
push eax
mov byte [ebp + 0xb0c], bl
call fcn.00429e0e
push edi
lea eax, [ebp + 0xa0d]
push ebx
push eax
mov byte [ebp + 0xa0c], bl
call fcn.00429e0e
mov eax, dword [ebp + 0x1c]
push ebx
lea esi, [ebp + 0xb0c]
lea ecx, [ebp + 0xc]
call fcn.0041dc5e
mov eax, dword [ebp + 0x20]
push ebx
lea esi, [ebp + 0xa0c]
lea ecx, [ebp + 0xc]
call fcn.0041dc5e
mov eax, dword [ebp + 0x24]
push 1
lea esi, [ebp + 0xc0c]
lea ecx, [ebp + 0xc]
call fcn.0041dc5e
movsx eax, byte [ebp + 0xc0c]
mov esi, dword [0x43030c]
push eax
call esi
add esp, 0x34
test eax, eax
jne 0x41e375
movsx eax, byte [ebp + 0xc1f]
push eax
call esi
test eax, eax
pop ecx
je 0x41e407
lea eax, [ebp + 0xc0c]
push eax
lea ecx, [ebp - 0x44]
call dword [0x430224]
mov ecx, dword [ebp - 0x28]
push eax
mov dword [ebp - 4], ebx
call dword [0x43020c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call dword [0x430214]
lea eax, [ebp + 0xb0c]
push eax
lea ecx, [ebp - 0x44]
call dword [0x430224]
mov ecx, dword [ebp - 0x24]
push eax
mov dword [ebp - 4], 1
call dword [0x43020c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call dword [0x430214]
lea eax, [ebp + 0xa0c]
push eax
lea ecx, [ebp - 0x60]
call dword [0x430224]
mov ecx, dword [ebp - 0x1c]
push eax
mov dword [ebp - 4], 2
call dword [0x43020c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call dword [0x430214]
mov byte [ebp - 0xd], 1
jmp 0x41e407
call dword [0x430030]
push dword [ebp - 0x18]
call dword [0x430110]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x10
jl 0x41e233
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xd0c]
xor ecx, ebp
call fcn.00429e1a
add ebp, 0xd10
leave
ret
Function at 0x41f022
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x440030]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
push edi
mov dword [ebp - 0x2c], eax
jne 0x41f04c
xor eax, eax
jmp 0x41f0d5
push 0x10
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00429e0e
push 0x44
pop edi
push edi
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.00429e0e
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add esp, 0x18
push 8
pop ecx
or dword [ebp - 0x58], 0x101
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
push ebx
push 0x8000000
push 1
push ebx
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x84], edi
push eax
mov esi, str._ipconfig___all
lea edi, [ebp - 0x28]
push ebx
mov word [ebp - 0x54], bx
rep movsd dword es:[edi], dword [esi]
call dword [0x430028]
mov edi, eax
cmp edi, ebx
je 0x41f045
push dword [ebp - 0x3c]
mov esi, dword [0x430110]
call esi
push dword [ebp - 0x38]
call esi
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429e1a
leave
ret 4

Function at 0x41f0e6
Capabilities:
Read file on windows

Disassembly:
push 0x428
mov eax, 0x42d9d6
call fcn.0042a817
mov eax, dword [ebp + 8]
mov ebx, ecx
lea esi, [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov edi, edx
call fcn.0041bdab
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [edi], eax
je 0x41f126
push eax
mov esi, edi
call fcn.0041f260
jmp 0x41f129
xor eax, eax
inc eax
xor esi, esi
cmp eax, esi
jne 0x41f147
mov ecx, dword [ebp - 0x418]
add ecx, 0xfffffff0
call fcn.00408b80
mov eax, esi
call fcn.0042a89a
ret 4
push esi
lea eax, [ebp - 0x428]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebx]
jmp 0x41f226
mov edi, dword [ebp - 0x428]
test edi, edi
je 0x41f234
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x440aa8
lea esi, [ebp - 0x424]
call fcn.00420418
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x424]
mov eax, dword [ebx - 0xc]
mov ecx, dword [ebp - 0x418]
mov edi, dword [ecx - 0xc]
mov dword [ebp - 0x420], eax
add eax, edi
mov dword [ebp - 0x42c], ebx
push eax
lea esi, [ebp - 0x418]
sub ebx, ecx
mov dword [ebp - 0x434], eax
call fcn.0041c0e3
cmp ebx, edi
ja 0x41f1c7
add ebx, eax
jmp 0x41f1cd
mov ebx, dword [ebp - 0x42c]
push dword [ebp - 0x420]
add eax, edi
push ebx
push dword [ebp - 0x420]
push eax
call dword [0x430400]
mov eax, dword [ebp - 0x434]
add esp, 0x10
lea edx, [ebp - 0x418]
call fcn.0041c109
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.00408b80
push 0
lea eax, [ebp - 0x428]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x430]
push dword [eax]
call dword [0x430080]
test eax, eax
jne 0x41f162
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x418]
call fcn.0041f281
push dword [ebp - 0x41c]
call fcn.0041fe97
xor esi, esi
test eax, eax
je 0x41f12f
inc esi
jmp 0x41f12f
Function at 0x429e1a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440030]
jne 0x429e24
repz ret
jmp fcn.0042a3dc

Function at 0x42b3f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x42b443
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [0x430464]
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push 2
push 1
push 0x436b38
call dword [0x430464]
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [0x4303cc]
add esp, 4
mov esp, ebp
pop ebp
ret 8

Function at 0x104f18a0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x104f18aa
pushal
call 0x104f18b0
pop ebp
sub ebp, 0x10
sub ebp, 0x4f18a0
mov al, byte [esp + 0x28]
cmp al, 1
je 0x104f18d4
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x104f18dd
cmp bh, byte [ebp - 0x5f47dddb]
sbb byte [edi], cl
mov eax, 0x4f18a0
add eax, ebp
add eax, 0x63
mov ecx, 0x5e5
add byte [eax], al
add byte [ecx + 0x5e5], bh
mov edx, 0xc79036c8
xor byte [eax], dl
inc eax
dec ecx
jne 0x104f18f4
jmp 0x104f1907
inc ebx
add eax, 0xc8f44143
enter 0x49c8, 9
xor al, cl
enter 0xffffffffffffcbc8, 5
jo 0x104f18d9
enter 0xffffffffffffc8c8, 0x72
loopne 0x104f18e7
enter 0x3fc8, 0x2a
retf
Function at 0x402660
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
nop
nop
nop
nop
nop

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor
Execute shellcode via indirect call

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x403008]
cmp eax, 0
jne 0x401021
mov eax, dword [0x40300c]
cmp eax, 0
jne 0x401021
jmp 0x4010b6
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401021
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x401021
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401021
mov eax, dword [0x403008]
cmp eax, 0
je 0x401093
push 0x3e8
call sub.KERNEL32.dll_Sleep
lea eax, [ebp - 0x10]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401067
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x401021
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401067
mov eax, dword [0x40300c]
cmp eax, 0
je 0x4010b6
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401093
cmp eax, dword [ebp - 0x14]
nop
nop
push dword [section.data]
mov eax, 0x40301a
mov ebx, 0x403271
sub ebx, eax
push ebx
push 0x40301a
call fcn.00402bf8
lea eax, [ebp - 4]
push eax
push 0x40
mov eax, 0x40112a
mov ebx, fcn.00402bf8
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
push dword [0x403004]
mov eax, 0x40112a
mov ebx, fcn.00402bf8
sub ebx, eax
push ebx
push 0x40112a
call fcn.00402bf8
lea eax, [ebp - 4]
push eax
push dword [eax]
mov eax, 0x40112a
mov ebx, fcn.00402bf8
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
in al, dx
in al, dx
in al, dx
in al, dx
in al, dx
in al, dx
in al, dx
in al, dx
in al, dx
in al, dx
xchg esp, eax
pop edi
add byte [eax], al
adc al, 0xa4
js 0x40113d
add byte [ecx - 0x6bffc3b2], dl
sal byte [eax + eax], cl
xchg esp, eax
insb byte es:[edi], dx
add byte [eax], al
add byte [esp + esi*2 + 0x16000072], dl
add byte [ebp + 0x4d000023], dl
mov esp, 0xf529bfb5
cdq
call dword [eax + 0x2e2d2f5c]
sub ebp, dword [edx]
dec ebp
mov esp, 0xf58039f5
cmp dword [ebp + esi*8 + 0x39f58839], eax
invalid