joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c24
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x45a064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push ebx
push ebx
push 0x451e78
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x402e7a
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00426850
push 0x40
pop eax
push 0x24
pop ecx
push 0x28
pop edx
push 0x29
pop ebx
push 0x72
mov word [0x45d8e0], ax
pop eax
push 0x7d
mov word [0x45d8ea], ax
pop eax
push 0x3d
mov word [0x45d8ec], ax
mov word [0x45d8ee], ax
mov word [0x45d8e6], dx
mov word [0x45d8f0], dx
pop edx
push 0x7b
pop eax
push 0x3b
mov word [0x45d8f8], ax
mov word [0x45d8fe], ax
mov word [0x45d8e2], cx
mov word [0x45d8e4], cx
mov word [0x45d8f6], cx
mov word [0x45d8fa], cx
pop ecx
push 0x33
pop eax
push 0x7e
mov word [0x45d902], ax
mov word [0x45d8e8], bx
mov word [0x45d8f4], bx
pop ebx
push 0x39
pop eax
push 0x7d
mov word [0x45d906], ax
pop eax
push 0x24
mov word [0x45d8f2], dx
mov word [0x45d8fc], dx
mov word [0x45d908], dx
pop edx
push 0x2a
mov word [0x45d900], cx
mov word [0x45d90a], cx
pop ecx
push 0x37
mov word [0x45d90c], ax
pop eax
push 0x39
mov word [0x45d912], ax
pop eax
push 0x41
mov word [0x45d914], ax
pop eax
push 0xd
mov word [0x45d916], ax
pop eax
push 0x28
mov word [0x45d918], ax
pop eax
push 0x40
mov word [0x45d910], cx
mov word [0x45d91c], cx
mov word [0x45d904], bx
mov word [0x45d90e], dx
mov word [0x45d91a], ax
mov word [0x45d91e], dx
mov word [0x45d920], bx
mov word [0x45d922], ax
pop ecx
push 0x6d
mov word [0x45d926], ax
pop eax
push 0x29
mov word [0x45d928], ax
pop eax
push 0x23
mov word [0x45d92a], ax
pop eax
push 0x3a
mov word [0x45d92c], ax
pop eax
mov word [0x45d92e], ax
xor eax, eax
push 0x6b
mov word [0x45d924], cx
mov ecx, 0x45d8e0
pop ebx
mov word [0x45d930], bx
mov word [0x45d932], ax
call fcn.004010ba
push 0x76
pop eax
push 0x39
mov word [0x45d988], ax
mov ecx, 0x45d988
pop eax
mov word [0x45d98a], ax
mov word [0x45d98c], ax
push 0x14
pop eax
mov word [0x45d990], ax
push 0x13
pop eax
mov word [0x45d992], ax
xor eax, eax
mov word [0x45d98e], bx
mov word [0x45d994], ax
call fcn.004010ba
push 0x45d8e0
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042df1d
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042df1d
push 0x45d988
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042df1d
add esp, 0x30
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
je 0x402e7a
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push edi
call esi
xor eax, eax
inc eax
jmp 0x402e7c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f8f4
leave
ret
Function at 0x4035df
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x403606
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403e20
jmp 0x4036bb
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x403628
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x40362a
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x4036af
jg 0x40363f
test esi, esi
je 0x4036af
test ecx, ecx
jl 0x403688
jg 0x403649
test eax, eax
je 0x403688
cmp edi, ecx
jg 0x40365d
jl 0x403653
cmp esi, eax
jae 0x40365d
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.004269b0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x40368b
mov edx, dword [ebp + 8]
test edi, edi
jl 0x4036af
jg 0x403695
test esi, esi
je 0x4036af
cmp dword [ebx + 0x4c], 0
je 0x4036af
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.0042c593
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4036c4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4036eb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403ee7
jmp 0x4037ba
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x40370d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x40370f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x4037ae
jg 0x40372c
test esi, esi
je 0x4037ae
test ecx, ecx
jl 0x403779
jg 0x403736
test eax, eax
je 0x403779
cmp ebx, ecx
jg 0x40374a
jl 0x403740
cmp esi, eax
jae 0x40374a
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.004269b0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x403780
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x4037ae
jg 0x40378a
test esi, esi
je 0x4037ae
cmp dword [edi + 0x4c], 0
je 0x4037ae
mov ecx, edi
call fcn.00404497
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0042ab77
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403a3c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x45a064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x403a62
xor eax, eax
jmp 0x403b27
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x403a8b
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x403a8b
dec dword [edx]
mov eax, ebx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x403b27
cmp dword [esi + 0x4c], 0
je 0x403b25
mov ecx, esi
call fcn.00404497
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x403ab8
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0042c8b1
cmp eax, edi
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x403b25
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x403b25
cmp eax, 1
jle 0x403af4
cmp eax, 3
jne 0x403b25
push dword [esi + 0x4c]
movsx ecx, byte [ebp - 0x25]
push ecx
jmp 0x403aaa
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x403b17
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.0042c593
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x403b25
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x403b27
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f8f4
leave
ret 4

Function at 0x40451f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45a064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x4045a1
cmp byte [esi + 0x3d], 0
je 0x4045a1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x404573
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x404577
sub eax, 1
je 0x40457b
dec eax
sub eax, 1
je 0x4045a1
xor al, al
jmp 0x4045a3
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x404598
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0042c593
add esp, 0x10
cmp edi, eax
jne 0x404573
cmp byte [esi + 0x3d], 0
sete al
jmp 0x4045a3
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040f8f4
leave
ret
Function at 0x406882
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x406a1c
mov edx, 0x10000000
cmp eax, 0x7c
je 0x406a1c
cmp eax, 0x29
jne 0x4068bf
cmp dword [esi + 0x10], 0
jne 0x406a1c
cmp eax, eax
jne 0x4068bf
test dword [esi + 0x50], edx
je 0x406a22
cmp eax, 0x2e
jne 0x4068da
push 5
lea ecx, [esi + 0x24]
call fcn.00406afc
mov ecx, esi
call fcn.0040685a
jmp 0x406a06
cmp eax, 0x5c
jne 0x40692c
mov ecx, esi
call fcn.0040685a
test byte [esi + 0x50], 0x80
je 0x406920
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x406909
push 4
lea ecx, [esi + 0x24]
call fcn.00406afc
mov ecx, esi
call fcn.0040685a
jmp 0x406a0d
cmp al, 0x42
jne 0x406920
push 4
lea ecx, [esi + 0x24]
call fcn.00406afc
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4068fd
mov ecx, esi
call fcn.00407f8e
jmp 0x406a06
cmp eax, 0x5b
jne 0x40698f
mov ecx, esi
call fcn.0040685a
lea ecx, [esi + 0x24]
call fcn.00409570
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x406959
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040685a
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x406977
cmp eax, 0x5d
jne 0x406977
push eax
lea ecx, [esi + 0x24]
call fcn.004095ba
mov ecx, esi
call fcn.0040685a
mov ecx, esi
call fcn.0040936f
cmp dword [esi + 0x4c], 0x5d
je 0x4068ce
push 4
jmp 0x406a24
cmp eax, 0x28
jne 0x4069ac
mov ecx, esi
call fcn.0040685a
mov ecx, esi
call fcn.0040806f
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x406a22
jmp 0x4069fb
cmp eax, 0x5e
jne 0x4069b8
push 2
jmp 0x4068f5
cmp eax, 0x24
jne 0x4069c4
push 3
jmp 0x4068f5
cmp eax, 0x2a
je 0x406a18
cmp eax, 0x2b
je 0x406a18
cmp eax, 0x3f
je 0x406a18
cmp eax, 0x7b
je 0x406a18
cmp eax, 0x7d
jne 0x4069e2
test dword [esi + 0x50], edx
je 0x406a14
cmp eax, 0x5d
jne 0x4069ec
test dword [esi + 0x50], edx
je 0x406988
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040824e
mov bl, 1
mov ecx, esi
call fcn.0040685a
test bl, bl
je 0x406a0d
mov ecx, esi
call fcn.00408174
mov cl, 1
jmp 0x406889
push 6
jmp 0x406a24
push 0xa
jmp 0x406a24
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00405ac5
int3
Function at 0x40833b
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4084d8
mov edx, 0x10000000
cmp eax, 0x7c
je 0x4084d8
cmp eax, 0x29
jne 0x408378
cmp dword [esi + 0x10], 0
jne 0x4084d8
cmp eax, eax
jne 0x408378
test dword [esi + 0x50], edx
je 0x4084de
cmp eax, 0x2e
jne 0x408393
push 5
lea ecx, [esi + 0x24]
call fcn.00406afc
mov ecx, esi
call fcn.00408312
jmp 0x4084c2
cmp eax, 0x5c
jne 0x4083e8
mov ecx, esi
call fcn.00408312
test byte [esi + 0x50], 0x80
je 0x4083dc
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x4083c4
push 4
lea ecx, [esi + 0x24]
call fcn.00406afc
mov ecx, esi
call fcn.00408312
jmp 0x4084c9
cmp eax, 0x42
jne 0x4083dc
push 4
lea ecx, [esi + 0x24]
call fcn.00406afc
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4083b8
mov ecx, esi
call fcn.004097e7
jmp 0x4084c2
cmp eax, 0x5b
jne 0x40844b
mov ecx, esi
call fcn.00408312
lea ecx, [esi + 0x24]
call fcn.0040a75a
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x408415
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00408312
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x408433
cmp eax, 0x5d
jne 0x408433
push eax
lea ecx, [esi + 0x24]
call fcn.0040a7a4
mov ecx, esi
call fcn.00408312
mov ecx, esi
call fcn.0040a576
cmp dword [esi + 0x4c], 0x5d
je 0x408387
push 4
jmp 0x4084e0
cmp eax, 0x28
jne 0x408468
mov ecx, esi
call fcn.00408312
mov ecx, esi
call fcn.004098c8
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4084de
jmp 0x4084b7
cmp eax, 0x5e
jne 0x408474
push 2
jmp 0x4083b0
cmp eax, 0x24
jne 0x408480
push 3
jmp 0x4083b0
cmp eax, 0x2a
je 0x4084d4
cmp eax, 0x2b
je 0x4084d4
cmp eax, 0x3f
je 0x4084d4
cmp eax, 0x7b
je 0x4084d4
cmp eax, 0x7d
jne 0x40849e
test dword [esi + 0x50], edx
je 0x4084d0
cmp eax, 0x5d
jne 0x4084a8
test dword [esi + 0x50], edx
je 0x408444
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00409aa7
mov bl, 1
mov ecx, esi
call fcn.00408312
test bl, bl
je 0x4084c9
mov ecx, esi
call fcn.004099cd
mov cl, 1
jmp 0x408342
push 6
jmp 0x4084e0
push 0xa
jmp 0x4084e0
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00405ac5
int3

Function at 0x412384
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x43347f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004332fe
Function at 0xee8638
Capabilities:
Encode data using xor

Disassembly:
jmp 0xee8642
or eax, dword [eax]
add byte [eax], al
add byte [eax], al
pushal
call 0xee8648
pop ebp
sub ebp, 0x10
sub ebp, 0xae8638
jmp 0xee865e
mov eax, 0xae8638
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c8
mov edx, 0x36a75e94
xor byte [eax], dl
inc eax
dec ecx
jne 0xee8675
jmp 0xee8688
pop ds
pop ecx
pop ds
sbb eax, 0x949494a8
adc eax, 0x94946c55
xchg esp, eax
xchg edi, eax
pop ecx
sub al, 0x91
xchg esp, eax
xchg esp, eax
xchg esp, eax
mov esp, 0x63949494
jbe 0xee863c
pop esp
pop ds
adc eax, 0x94949498
xchg edi, eax
push ecx
les ebx, [ecx]
invalid
Function at 0x405ee0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x428788
push 0x417350
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x42b520]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x24]
push ecx
call dword [0x46c608]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x405f7b
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push ebx
call dword [0x46c60c]
test eax, eax
jne 0x405f61
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [0x46c610]
mov eax, dword [ebp - 0x28]
jmp 0x405f7b
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004113cb
mov esp, ebp
pop ebp
ret

Function at 0x405fa0
Capabilities:
Get session user name
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4288c8
push 0x417350
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x42b520]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
xor esi, esi
mov dword [ebp - 4], eax
mov byte [ebp - 0x120], al
push 0x103
push eax
lea eax, [ebp - 0x11f]
push eax
call fcn.004133e0
add esp, 0xc
mov dword [ebp - 0x12c], 0x104
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x120]
push edx
call dword [0x46c614]
test eax, eax
je 0x40607d
mov edx, 6
mov dword [ebp - 0x130], edx
lea ecx, [ebp - 0x120]
or eax, 0xffffffff
mov dword [ebp - 0x124], ecx
mov esi, edx
dec edx
mov dword [ebp - 0x130], edx
test esi, esi
je 0x40605c
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4271c8]
inc ecx
jmp 0x406031
not eax
xor ecx, ecx
cmp eax, 0x39b5d60d
sete cl
mov esi, ecx
jmp 0x406077
mov dword [ebp - 0x128], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004113cb
mov esp, ebp
pop ebp
ret
Function at 0x409d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422d58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x42b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x18]
push 0x46c080
xor ebx, ebx
push eax
xor esi, esi
mov dword [ebp - 4], ebx
call fcn.0040a1b0
add esp, 8
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], ebx
je 0x409e16
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ebx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00409ef0
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x409e09
test ebx, ebx
je 0x409e14
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.__s_
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406de0
mov edi, dword [ebp - 0x14]
mov eax, edi
add esp, 8
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409dc0
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 8]
push edx
push edi
push 2
push 0
push eax
push ebx
call dword [0x46c630]
neg eax
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x409e14
push ebx
call dword [0x46c628]
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409fb0
Capabilities:
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422d20
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x42b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x20]
xor esi, esi
push 0x46ba24
xor ebx, ebx
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], esi
call fcn.0040a1b0
add esp, 8
mov ecx, dword [ebp - 0x20]
cmp dword [ecx - 0xc], esi
je 0x40a0da
push 5
push esi
push esi
call dword [0x46c634]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, esi
je 0x40a0da
mov edx, dword [ebp - 0x20]
push 0x17
push edx
push edi
call dword [0x46c638]
mov ebx, eax
mov dword [ebp - 0x24], eax
cmp ebx, esi
je 0x40a0d0
lea eax, [ebp - 0x18]
push eax
push esi
push esi
mov dword [ebp - 0x18], esi
mov esi, dword [0x46c63c]
push ebx
call esi
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, ecx
je 0x40a0bc
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
push eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x11]
lea edi, [ebp - 0x34]
mov byte [ebp - 0x11], cl
call fcn.00407650
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
sub eax, edi
cmp eax, dword [ebp - 0x18]
jne 0x40a0af
test edi, edi
je 0x40a0af
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
push ebx
call esi
test eax, eax
je 0x40a0af
cmp dword [edi + 4], 2
je 0x40a0af
mov edx, dword [edi + 8]
mov eax, dword [edi]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 2
push eax
push ebx
call dword [0x46c640]
lea esi, [ebp - 0x34]
call fcn.00407620
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
push ecx
push ecx
push ebx
call dword [0x46c644]
push ebx
call dword [0x46c648]
xor ebx, ebx
xor esi, esi
push edi
call dword [0x46c648]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a10a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40a10a
cmp ebx, esi
je 0x40a115
push ebx
call dword [0x46c648]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40a123
push eax
call dword [0x46c648]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40afb0
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423168
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x42b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x40b199
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40aff3
sub eax, edx
sar eax, 1
je 0x40b199
push edi
call dword [0x424194]
test eax, eax
je 0x40b199
push 0x14
push 0x65
push ebx
call dword [0x424020]
mov esi, eax
cmp esi, ebx
je 0x40b18b
push esi
push ebx
call dword [0x424014]
mov edi, eax
cmp edi, ebx
je 0x40b199
push esi
push ebx
call dword [0x42401c]
cmp eax, ebx
je 0x40b199
push eax
call dword [0x424018]
cmp eax, ebx
je 0x40b199
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x30]
push ecx
push edi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004075a0
add esp, 8
cmp eax, ebx
je 0x40b172
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
cmp edi, esi
je 0x40b172
mov edx, dword [ebp + 8]
push 0x427718
push edx
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00412224
add esp, 0xc
test eax, eax
jne 0x40b172
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40b172
push eax
sub esi, edi
push esi
push 1
push edi
call fcn.004123c2
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
cmp esi, eax
sete cl
push edx
mov esi, ecx
call fcn.004124a9
add esp, 0x14
cmp esi, ebx
je 0x40b172
lea esi, [ebp - 0x20]
call fcn.00406800
push 0x6b
mov byte [ebp - 4], 2
call fcn.00406e80
add esp, 4
cmp eax, ebx
je 0x40b16a
push eax
mov eax, 0x6b
mov edi, esi
call fcn.004069d0
cmp eax, ebx
je 0x40b16a
mov edi, dword [ebp - 0x20]
cmp dword [edi - 0xc], ebx
je 0x40b16a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00406820
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040d9d0
mov eax, edi
call fcn.0040d8b0
cmp eax, ebx
je 0x40b162
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [0x424054]
test eax, eax
je 0x40b162
mov eax, dword [ebp - 0x14]
push 1
push ebx
push ebx
push eax
push ebx
push ebx
call dword [0x46c65c]
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x14]
call fcn.0040e5b0
lea eax, [ebp - 0x20]
call fcn.0040e5b0
lea esi, [ebp - 0x30]
call fcn.00407620
jmp 0x40b199
push edi
call dword [0x424058]
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret