joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ac02
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0042c300
mov eax, dword [0x474a60]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.004359fc
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x43ad35
push 2
push esi
push dword [ebp + 8]
call fcn.004359fc
add esp, 0xc
cmp eax, ebx
je 0x43ad35
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x43acd5
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0042c680
push 0x8000
push dword [ebp + 8]
call fcn.0043b9d4
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x43ac8b
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.00435783
add esp, 0xc
cmp eax, 0xffffffff
je 0x43acab
sub edi, eax
test edi, edi
jg 0x43ac83
jmp 0x43acc3
call fcn.00430385
cmp dword [eax], 5
jne 0x43acc0
call fcn.0043037c
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0043b9d4
pop ecx
pop ecx
jmp 0x43ad1d
jge 0x43ad1d
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004359fc
push dword [ebp + 8]
call fcn.00438c8e
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x43ad1d
call fcn.0043037c
mov dword [eax], 0xd
call fcn.00430385
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.004359fc
add esp, 0xc
mov eax, esi
pop edi
jmp 0x43ad37
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0042b91e
leave
ret
Function at 0x43b7ff
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x43b818
or eax, 0xffffffff
jmp 0x43b879
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x43b875
push 0x3d
push esi
call fcn.0042f805
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x43b875
cmp esi, eax
je 0x43b875
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x47e918]
sete cl
cmp eax, dword [0x47e91c]
mov dword [ebp - 8], ecx
jne 0x43b85b
mov edi, eax
call fcn.0043b79e
mov dword [0x47e918], eax
cmp eax, ebx
jne 0x43b8b4
cmp dword [ebp + 0xc], ebx
je 0x43b87d
cmp dword [0x47e920], ebx
je 0x43b87d
call fcn.0043ab72
test eax, eax
je 0x43b8b4
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x43b886
xor eax, eax
jmp 0x43b878
push 4
call fcn.0042c2e5
cmp eax, ebx
pop ecx
mov dword [0x47e918], eax
je 0x43b875
mov dword [eax], ebx
cmp dword [0x47e920], ebx
jne 0x43b8b4
push 4
call fcn.0042c2e5
cmp eax, ebx
pop ecx
mov dword [0x47e920], eax
je 0x43b875
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x47e918]
call fcn.0043b751
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x43b915
cmp dword [esi], ebx
je 0x43b915
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0042c1cd
cmp dword [ebp - 8], ebx
pop ecx
jne 0x43b8f8
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x43b956
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x43b8ef
mov eax, edi
shl eax, 2
push eax
push dword [0x47e918]
call fcn.0042f3f7
cmp eax, ebx
pop ecx
pop ecx
je 0x43b956
jmp 0x43b951
cmp dword [ebp - 8], ebx
jne 0x43b9c1
cmp edi, ebx
jge 0x43b924
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x47e918]
call fcn.0042f3f7
cmp eax, ebx
pop ecx
pop ecx
je 0x43b875
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x47e918], eax
cmp dword [ebp + 0xc], ebx
je 0x43b9ab
push dword [ebp - 4]
call fcn.0042be00
inc eax
inc eax
push eax
call fcn.0042c2e5
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x43b9ab
push dword [ebp - 4]
push esi
call fcn.0042c740
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x43b9a4
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0042c1cd
pop ecx
cmp dword [ebp - 8], ebx
je 0x43b9b9
push dword [ebp - 4]
call fcn.0042c1cd
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x43b878
push dword [ebp - 4]
call fcn.0042c1cd
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x43b882
Function at 0x43c387
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, dword [ebx + 0x3c]
push ebx
add esi, ebx
movzx eax, word [esi + 6]
mov edi, dword [esi + 0x54]
mov dword [ebp - 4], eax
call fcn.0043c87a
cmp edi, eax
jae 0x43c3b0
mov eax, edi
jmp 0x43c3b6
push ebx
call fcn.0043c87a
mov ecx, dword [esi + 0x3c]
push eax
push ebx
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0x38]
push dword [ebp + 8]
mov dword [ebp - 0xc], ecx
call fcn.0043ccd7
movzx eax, word [esi + 0x14]
cmp dword [ebp - 4], 0
lea eax, [eax + esi + 0x18]
jle 0x43c42b
lea edi, [eax + 0xc]
lea esi, [eax + 0x10]
add eax, 0x14
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x43c41c
mov eax, ecx
xor edx, edx
div dword [ebp - 8]
xor edx, edx
imul eax, dword [ebp - 8]
sub ecx, eax
add eax, ebx
add ecx, dword [esi]
push ecx
push eax
mov eax, dword [edi]
div dword [ebp - 0xc]
imul eax, dword [ebp - 0xc]
add eax, dword [ebp + 8]
push eax
call fcn.0043ccd7
add dword [ebp + 0xc], 0x28
add esi, 0x28
add edi, 0x28
dec dword [ebp - 4]
jne 0x43c3ec
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8

Function at 0x43c434
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468028
push 0x42c428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 8]
cmp ecx, edx
jne 0x43c472
mov dword [ebp - 0x1c], 0x57
jmp 0x43c4e6
mov dword [ebp - 0x20], ecx
cmp word [ecx], 0x5a4d
je 0x43c485
mov dword [ebp - 0x1c], 0xc1
jmp 0x43c4e6
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x2c], eax
cmp dword [eax], 0x4550
jne 0x43c47c
lea ecx, [eax + 4]
mov dword [ebp - 0x24], ecx
cmp word [ecx + 2], dx
je 0x43c47c
cmp word [ecx], 0x14c
jne 0x43c4cf
mov cx, word [ecx + 0x12]
test ch, 1
je 0x43c4cf
test cl, 2
je 0x43c4cf
add eax, 0x18
mov dword [ebp - 0x28], eax
cmp word [eax], 0x10b
jne 0x43c47c
cmp dword [eax + 0x38], edx
je 0x43c47c
cmp dword [eax + 0x3c], edx
jne 0x43c4e6
jmp 0x43c47c
mov dword [ebp - 0x1c], 0x32
jmp 0x43c4e6
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43c87a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468068
push 0x42c428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor eax, eax
and dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3c]
add ecx, edx
mov dword [ebp - 0x20], ecx
movzx edx, word [ecx + 6]
mov dword [ebp - 0x28], edx
movzx esi, word [ecx + 0x14]
lea ecx, [esi + ecx + 0x18]
mov dword [ebp - 0x1c], ecx
dec edx
mov dword [ebp - 0x28], edx
lea esi, [edx + edx*4]
lea ecx, [ecx + esi*8]
mov dword [ebp - 0x1c], ecx
test edx, edx
jl 0x43c8fb
mov esi, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
add esi, edi
cmp eax, esi
jbe 0x43c8e1
mov esi, eax
mov eax, esi
mov dword [ebp - 0x24], eax
sub ecx, 0x28
mov dword [ebp - 0x1c], ecx
dec edx
mov dword [ebp - 0x28], edx
jmp 0x43c8cf
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43cee0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x474a60]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x88], ecx
mov byte [ebp - 0x48], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x47]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x88]
call fcn.0043da10
mov byte [ebp - 0x80], 0
mov ecx, 0xd
xor eax, eax
lea edi, [ebp - 0x7f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x84], 0
jmp 0x43cf4e
mov edx, dword [ebp - 0x84]
add edx, 1
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x84], 0x38
jge 0x43cf74
mov eax, dword [ebp - 0x84]
movsx ecx, byte [eax + str.91__]
mov edx, dword [ebp - 0x84]
mov al, byte [ebp + ecx - 0x49]
mov byte [ebp + edx - 0x80], al
jmp 0x43cf3f
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.0043cfa0
mov ecx, dword [ebp - 4]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x43d200
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x474a60]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x68], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x67]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0xc8], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xc7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov byte [ebp - 0x88], 0
xor ecx, ecx
mov dword [ebp - 0x87], ecx
mov dword [ebp - 0x83], ecx
mov dword [ebp - 0x7f], ecx
mov dword [ebp - 0x7b], ecx
mov dword [ebp - 0x77], ecx
mov dword [ebp - 0x73], ecx
mov dword [ebp - 0x6f], ecx
mov word [ebp - 0x6b], cx
mov byte [ebp - 0x69], cl
mov byte [ebp - 0x108], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x114]
call fcn.0043da10
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.0043d7b0
push 0x20
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0042b5b0
add esp, 0xc
push 0x20
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.0042b5b0
add esp, 0xc
mov dword [ebp - 0x10c], 0
jmp 0x43d31d
mov ecx, dword [ebp - 0x10c]
add ecx, 1
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0x10
jge 0x43d349
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.0043d600
jmp 0x43d30e
push 0x20
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0042b5b0
add esp, 0xc
push 0x20
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.0042b5b0
add esp, 0xc
mov dword [ebp - 0x110], 0
jmp 0x43d391
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
cmp dword [ebp - 0x110], 0x40
jge 0x43d3c2
mov edx, dword [ebp - 0x110]
movsx eax, byte [edx + 0x468390]
mov ecx, dword [ebp - 0x114]
add ecx, dword [ebp - 0x110]
mov dl, byte [ebp + eax - 0x109]
mov byte [ecx + 0x600], dl
jmp 0x43d382
push 0x40
mov eax, dword [ebp - 0x114]
add eax, 0x600
push eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x680
push ecx
mov ecx, dword [ebp - 0x114]
call fcn.0043da70
mov ecx, dword [ebp - 4]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x43d400
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x474a60]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x68], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x67]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0xc8], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xc7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov byte [ebp - 0x88], 0
xor ecx, ecx
mov dword [ebp - 0x87], ecx
mov dword [ebp - 0x83], ecx
mov dword [ebp - 0x7f], ecx
mov dword [ebp - 0x7b], ecx
mov dword [ebp - 0x77], ecx
mov dword [ebp - 0x73], ecx
mov dword [ebp - 0x6f], ecx
mov word [ebp - 0x6b], cx
mov byte [ebp - 0x69], cl
mov byte [ebp - 0x108], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x114]
call fcn.0043da10
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.0043d7b0
push 0x20
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0042b5b0
add esp, 0xc
push 0x20
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.0042b5b0
add esp, 0xc
mov dword [ebp - 0x10c], 0
jmp 0x43d51d
mov ecx, dword [ebp - 0x10c]
add ecx, 1
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0x10
jge 0x43d54e
mov edx, dword [ebp + 0xc]
push edx
mov eax, 0xf
sub eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.0043d600
jmp 0x43d50e
push 0x20
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0042b5b0
add esp, 0xc
push 0x20
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.0042b5b0
add esp, 0xc
mov dword [ebp - 0x110], 0
jmp 0x43d596
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
cmp dword [ebp - 0x110], 0x40
jge 0x43d5c7
mov edx, dword [ebp - 0x110]
movsx eax, byte [edx + 0x468390]
mov ecx, dword [ebp - 0x114]
add ecx, dword [ebp - 0x110]
mov dl, byte [ebp + eax - 0x109]
mov byte [ecx + 0x640], dl
jmp 0x43d587
push 0x40
mov eax, dword [ebp - 0x114]
add eax, 0x640
push eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x688
push ecx
mov ecx, dword [ebp - 0x114]
call fcn.0043da70
mov ecx, dword [ebp - 4]
call fcn.0042b91e
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x43d7b0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x43d7cb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jge 0x43d7ec
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + str.:2_]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x43d7c2
mov esp, ebp
pop ebp
ret 8

Function at 0x43d800
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x43d81b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x30
jge 0x43d83c
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x468140]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x43d812
mov esp, ebp
pop ebp
ret 8

Function at 0x43d9c0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x43d9db
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x43d9fc
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x468370]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x43d9d2
mov esp, ebp
pop ebp
ret 8

Function at 0x43dfd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x10325476
push 0x40
push 0
mov eax, dword [ebp - 4]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 4]
call fcn.0043f1d0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x5c], 0x80
mov esp, ebp
pop ebp
ret

Function at 0x43f8b0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
mov dword [esi], vtable.xThread.0
je 0x43f8f8
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x43f8db
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x43f8db
mov dword [esi + 0x14], 0
push 1
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esi, dword [esi + 0x10]
cmp esi, 0xffffffff
je 0x43f8f8
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret
Function at 0x43f900
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45d2cb
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push edi
mov edi, ecx
mov eax, dword [edi + 0x84]
xor ebp, ebp
cmp eax, ebp
jne 0x43f9fd
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x43f93c
mov dword [edi + 0x84], eax
jmp 0x43f954
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ecx]
mov dword [edi + 0x84], edx
push ebx
push esi
mov esi, dword [edi + 0x84]
mov eax, esi
imul eax, eax, 0x1c
add eax, 4
push eax
call fcn.0044dbf9
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebp
mov dword [esp + 0x3c], ebp
je 0x43f993
push fcn.0043f8b0
push 0x43f850
push esi
lea ebx, [eax + 4]
push 0x1c
push ebx
mov dword [eax], esi
call fcn.0042e82d
jmp 0x43f995
xor ebx, ebx
mov ecx, dword [edi + 0x84]
xor eax, eax
cmp ecx, eax
mov dword [edi + 0x80], ebx
jle 0x43f9fb
xor ebx, ebx
jmp 0x43f9b0
xor eax, eax
lea ecx, [ecx]
mov ecx, dword [edi + 0x80]
mov dword [ecx + ebx + 0x18], edi
mov esi, dword [edi + 0x80]
lea edx, [esp + 0x44]
push edx
push eax
add esi, ebx
push esi
push 0x40be00
push eax
push eax
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
call fcn.0042e3fb
add esp, 0x18
cmp eax, 0xffffffff
je 0x43f9ed
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x84]
inc ebp
add ebx, 0x1c
cmp ebp, eax
jl 0x43f9ab
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 4

Function at 0x43fc40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d2a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [esp + 0x18]
cmp dword [eax - 0x14], 0x558800aa
je 0x43fc8c
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call dword [edx + 8]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
push edi
lea edi, [eax - 0x10]
push edi
lea ecx, [esi + 0x28]
call fcn.0043faf0
push edi
lea ecx, [esi + 0x30]
call fcn.0043fb80
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call dword [eax + 8]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4426a0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4426ce
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp + 8]
neg ecx
sbb ecx, ecx
and ecx, 2
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x14]
push edx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x44271a
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x442730
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468640
push 0x42c428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 1
mov ecx, dword [ebp - 0x24]
call fcn.004426a0
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x442795
mov dword [ebp - 0x20], 0
jmp 0x4427ac
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4427ac
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004427ba
jmp 0x4427bb
cmp dword [ebp - 0x1c], 0
je 0x4427cb
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov ecx, dword [ebp - 0x24]
call fcn.004426a0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x442a70
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d567
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x4686e4
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], 0x4686e0
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x7a0], 0
je 0x442ac9
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x7a0]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
call fcn.00446e00
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x442af8
push 1
mov ecx, dword [ebp - 0x10]
call fcn.004450f0
mov dword [ebp - 0x1c], eax
jmp 0x442aff
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x18]
call fcn.00445000
cmp eax, 1
jne 0x442b14
mov ecx, dword [ebp - 0x18]
call fcn.0040c020
call fcn.004427f0
mov ecx, eax
call fcn.00445070
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0x78c
call fcn.00407d40
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x442b47
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
mov dword [ebp - 0x20], ecx
jmp 0x442b4e
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
call fcn.0041ed50
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x442b6b
mov edx, dword [ebp - 0x18]
add edx, 0x18
mov dword [ebp - 0x24], edx
jmp 0x442b72
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x24]
call fcn.00444fb0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.0040bd00
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x442b9e
mov eax, dword [ebp - 0x18]
add eax, 0x1c
mov dword [ebp - 0x28], eax
jmp 0x442ba5
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
call fcn.004462e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret