joyce8/EMBER2024-capa huggingface dataset:
Function at 0x30001faf
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
push edi
xor edi, edi
push 4
push dword [ebp + 8]
xor esi, esi
inc esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x30002804
push ebx
push esi
call fcn.30047fcd
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov eax, dword [ebx + 0x4a]
cmp eax, edi
je 0x300027f0
pop es
add byte [eax], al
inc ecx
add byte [ebx - 0x24ccac40], cl
push ebx
xor ebx, ebx

Function at 0x30002680
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x30007080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x300070a1
mov eax, 0xff
call fcn.30002680
xor byte [esi], al
inc esi
dec ebx
jne 0x30007091
pop esi
pop ebx
ret
Function at 0x30071e6b
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x30072778
call fcn.30072241
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x30097d18
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x30071c0a
cmp eax, esi
jne 0x30071bfd
xor esi, esi
inc esi
mov ebx, esi
jmp 0x30071c0d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30071be4
xor esi, esi
inc esi
mov eax, dword [0x30097d14]
cmp eax, esi
jne 0x30071c20
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x30071c4f
mov eax, dword [0x30097d14]
test eax, eax
jne 0x30071c49
mov dword [0x30097d14], esi
push 0x300015c0
push 0x300015b4
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30071c4f
jmp 0x30071d77
mov dword [0x30096844], esi
mov eax, dword [0x30097d14]
cmp eax, esi
jne 0x30071c73
push 0x300015b0
push 0x300015a8
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x30097d14], 2
test ebx, ebx
jne 0x30071c7f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x30097d24], 0
je 0x30071ca3
push 0x30097d24
call fcn.300721c9
pop ecx
test eax, eax
je 0x30071ca3
push 0
push 2
push 0
call dword [0x30097d24]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x30071cff
test al, al
je 0x30071cbd
cmp dword [ebp - 0x1c], 0
jne 0x30071cff
mov al, byte [esi]
test al, al
je 0x30071ccd
cmp al, 0x20
ja 0x30071ccd
inc esi
mov dword [ebp - 0x20], esi
jmp 0x30071cbd
test byte [ebp - 0x3c], 1
je 0x30071cd9
movzx eax, word [ebp - 0x38]
jmp 0x30071cdc
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x30096840], eax
cmp dword [0x30096834], 0
jne 0x30071d53
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x30071d0e
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x30071d21
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x30071caa
cmp dword [0x30096844], 0
jne 0x30071d62
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x30096840]
jmp 0x30071d83
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.30072286
ret
call fcn.30071a9e
jmp 0x30071baa
Function at 0x402480
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x42a874]
xor ecx, ecx
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], ecx
push edi
mov dword [esi], 0xa
mov dword [esp + 0x2c], ecx
mov dword [eax], 5
xor eax, eax
mov ecx, 0x27
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], 0x9c
call edi
test eax, eax
setne bl
test bl, bl
jne 0x402525
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x94
call edi
test eax, eax
jne 0x402525
xor al, al
mov ecx, dword [esp + 0xd4]
call fcn.0040649e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x40]
sub eax, 0
je 0x4026c9
dec eax
je 0x402631
dec eax
jne 0x4026cf
mov ecx, dword [esp + 0x34]
cmp ecx, 6
mov edi, dword [esp + 0xc]
mov dl, byte [esp + 0xca]
jne 0x402573
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4025c5
xor eax, eax
cmp dl, 1
setne al
mov dword [esi], eax
jmp 0x4025c5
cmp ecx, 5
jne 0x4025ba
mov eax, dword [esp + 0x38]
cmp eax, 2
jne 0x4025a1
cmp dl, 1
jne 0x402599
cmp di, 9
jne 0x402599
mov eax, dword [ebp + 0xc]
mov dword [esi], ecx
mov dword [eax], 2
jmp 0x4025c5
mov dword [esi], 2
jmp 0x4025c5
cmp eax, 1
jne 0x4025ae
mov dword [esi], 5
jmp 0x4025c5
test eax, eax
jne 0x4025c5
mov dword [esi], 3
jmp 0x4025c5
cmp ecx, 4
ja 0x4025c5
mov dword [esi], 4
test bl, bl
je 0x4026cf
cmp dl, 1
jne 0x4026cf
cmp di, 9
je 0x4026cf
cmp ecx, 4
jne 0x402603
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov al, dl
mov ecx, dword [esp + 0xd4]
call fcn.0040649e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc8]
mov eax, dword [ebp + 0xc]
and edx, 0x200
neg edx
sbb edx, edx
add edx, 2
mov dword [eax], edx
mov al, 1
mov ecx, dword [esp + 0xd4]
call fcn.0040649e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x34], 4
jne 0x4026cf
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x402674
mov al, byte [esp + 0x45]
cmp al, 0x43
mov dword [esi], 7
je 0x402656
cmp al, 0x42
jne 0x4026cf
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 4
mov al, 1
mov ecx, dword [esp + 0xd4]
call fcn.0040649e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x4026a9
mov al, byte [esp + 0x45]
cmp al, 0x41
mov dword [esi], 6
je 0x40268b
cmp al, 0x42
jne 0x4026cf
mov edx, dword [ebp + 0xc]
mov dword [edx], 3
mov al, 1
mov ecx, dword [esp + 0xd4]
call fcn.0040649e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x5a
jne 0x4026cf
mov dword [esi], 8
mov al, 1
mov ecx, dword [esp + 0xd4]
call fcn.0040649e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi], 9
mov ecx, dword [esp + 0xd4]
mov al, 1
call fcn.0040649e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402ae0
Capabilities:
Create service
Persist via windows service

Disassembly:
push 0xffffffffffffffff
push 0x420633
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
mov eax, dword [0x42a874]
push ebx
push ebp
push esi
mov dword [esp + 0x170], eax
push edi
mov esi, ecx
mov al, byte [esi + 0x3c]
xor ebx, ebx
cmp al, bl
mov dword [esp + 0x180], ebx
jne 0x402b42
cmp dword [esp + 0x1a0], 0x10
jb 0x402bf5
mov eax, dword [esp + 0x18c]
push eax
call fcn.0041a53d
add esp, 4
xor al, al
jmp 0x402cbd
cmp dword [esp + 0x19c], ebx
jne 0x402b58
cmp dword [esp + 0x1a0], 0x10
jmp 0x402be3
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x1a
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.Protexis_Licensing_Service
mov byte [ecx + 4], bl
call fcn.004014c0
lea ecx, [esp + 0x30]
call fcn.00412620
mov eax, dword [esp + 0x1a0]
mov ebp, 0x10
cmp eax, ebp
mov eax, dword [esp + 0x18c]
mov byte [esp + 0x180], 1
jae 0x402baa
lea eax, [esp + 0x18c]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x402bfc
cmp dword [esp + 0x2c], ebp
jb 0x402bce
mov eax, dword [esp + 0x18]
push eax
call fcn.0041a53d
add esp, 4
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp eax, ebp
jb 0x402bf5
mov ecx, dword [esp + 0x18c]
push ecx
call fcn.0041a53d
add esp, 4
xor al, al
jmp 0x402cbd
push 2
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
jne 0x402c37
push ebx
push 0xc0000019
lea ecx, [esp + 0x1c]
call fcn.00412bc0
lea ecx, [esp + 0x14]
call fcn.004013a0
lea ecx, [esp + 0x188]
call fcn.004013a0
xor al, al
jmp 0x402cbd
cmp dword [esp + 0x1a0], ebp
mov edx, dword [esp + 0x18c]
jae 0x402c4e
lea edx, [esp + 0x18c]
cmp dword [esi + 0x34], ebp
jb 0x402c58
mov ecx, dword [esi + 0x20]
jmp 0x402c5b
lea ecx, [esi + 0x20]
cmp dword [esi + 0x18], ebp
jb 0x402c65
mov eax, dword [esi + 4]
jmp 0x402c68
lea eax, [esi + 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
push 1
push 2
push ebp
push 0xf01ff
push ecx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
cmp esi, ebx
je 0x402c8b
mov bl, 1
jmp 0x402c9a
push ebx
push 0xc0000023
lea ecx, [esp + 0x1c]
call fcn.00412bc0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
lea ecx, [esp + 0x14]
call fcn.004013a0
lea ecx, [esp + 0x188]
call fcn.004013a0
mov al, bl
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x174]
call fcn.0040649e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret 0x1c
Function at 0x402cf0
Capabilities:
Start service

Disassembly:
push 0xffffffffffffffff
push 0x420648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x42a874]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x2c], eax
mov al, byte [esi + 0x3c]
test al, al
push edi
je 0x402de6
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x1a
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push str.Protexis_Licensing_Service
mov byte [ecx + 4], 0
call fcn.004014c0
lea ecx, [esp + 0x2c]
call fcn.00412620
push 1
push 0
push 0
mov dword [esp + 0x48], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x402d95
push eax
push 0xc0000019
lea ecx, [esp + 0x18]
call fcn.00412bc0
cmp dword [esp + 0x28], 0x10
jb 0x402de6
mov eax, dword [esp + 0x14]
push eax
call fcn.0041a53d
add esp, 4
xor al, al
jmp 0x402e2c
mov eax, dword [esi + 0x18]
mov ebx, 0x10
cmp eax, ebx
jb 0x402da6
mov esi, dword [esi + 4]
jmp 0x402da9
add esi, 4
push 0x20000000
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
push 0
jne 0x402dea
push 0xc0000020
lea ecx, [esp + 0x18]
call fcn.00412bc0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [esp + 0x28], ebx
jb 0x402de6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041a53d
add esp, 4
xor al, al
jmp 0x402e2c
push 0
push esi
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x402e0a
push eax
push 0xc0000024
lea ecx, [esp + 0x18]
call fcn.00412bc0
xor bl, bl
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
cmp dword [esp + 0x28], 0x10
jb 0x402e2a
mov edx, dword [esp + 0x14]
push edx
call fcn.0041a53d
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x30]
call fcn.0040649e
pop edi
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x402e50
Capabilities:
Stop service

Disassembly:
push 0xffffffffffffffff
push 0x420648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x42a874]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x48], eax
mov al, byte [esi + 0x3c]
test al, al
push edi
je 0x402f45
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x1a
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push str.Protexis_Licensing_Service
mov byte [ecx + 4], 0
call fcn.004014c0
lea ecx, [esp + 0x48]
call fcn.00412620
push 1
push 0
push 0
mov dword [esp + 0x64], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x402ef5
push eax
push 0xc0000019
lea ecx, [esp + 0x34]
call fcn.00412bc0
cmp dword [esp + 0x44], 0x10
jb 0x402f45
mov eax, dword [esp + 0x30]
push eax
call fcn.0041a53d
add esp, 4
xor al, al
jmp 0x402f91
mov eax, dword [esi + 0x18]
mov ebx, 0x10
cmp eax, ebx
jb 0x402f06
mov esi, dword [esi + 4]
jmp 0x402f09
add esi, 4
push 0x20000000
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x402f49
push eax
push 0xc0000020
lea ecx, [esp + 0x34]
call fcn.00412bc0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [esp + 0x44], ebx
jb 0x402f45
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041a53d
add esp, 4
xor al, al
jmp 0x402f91
lea edx, [esp + 0x10]
push edx
push 1
push esi
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x402f6f
push 0
push 0xc0000009
lea ecx, [esp + 0x34]
call fcn.00412bc0
xor bl, bl
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
cmp dword [esp + 0x44], 0x10
jb 0x402f8f
mov eax, dword [esp + 0x30]
push eax
call fcn.0041a53d
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4c]
call fcn.0040649e
pop edi
pop esi
pop ebx
add esp, 0x50
ret
Function at 0x402fb0
Capabilities:
Delete service

Disassembly:
push 0xffffffffffffffff
push 0x420648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x42a874]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x2c], eax
mov al, byte [esi + 0x3c]
test al, al
push edi
je 0x4030a5
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x1a
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push str.Protexis_Licensing_Service
mov byte [ecx + 4], 0
call fcn.004014c0
lea ecx, [esp + 0x2c]
call fcn.00412620
push 1
push 0
push 0
mov dword [esp + 0x48], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x403055
push eax
push 0xc0000019
lea ecx, [esp + 0x18]
call fcn.00412bc0
cmp dword [esp + 0x28], 0x10
jb 0x4030a5
mov eax, dword [esp + 0x14]
push eax
call fcn.0041a53d
add esp, 4
xor al, al
jmp 0x4030ea
mov eax, dword [esi + 0x18]
mov ebx, 0x10
cmp eax, ebx
jb 0x403066
mov esi, dword [esi + 4]
jmp 0x403069
add esi, 4
push 0xf003f
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x4030a9
push eax
push 0xc0000020
lea ecx, [esp + 0x18]
call fcn.00412bc0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [esp + 0x28], ebx
jb 0x4030a5
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041a53d
add esp, 4
xor al, al
jmp 0x4030ea
push esi
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x4030c8
push 0
push 0xc0000025
lea ecx, [esp + 0x18]
call fcn.00412bc0
xor bl, bl
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
cmp dword [esp + 0x28], 0x10
jb 0x4030e8
mov edx, dword [esp + 0x14]
push edx
call fcn.0041a53d
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x30]
call fcn.0040649e
pop edi
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x403ea0
Capabilities:
Listen for remote procedure calls

Disassembly:
push 0xffffffffffffffff
push 0x420748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x42a874]
push esi
mov dword [esp + 0x20], eax
push edi
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
push 9
push str.PSI_SVC_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.004014c0
mov eax, dword [esp + 0x20]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0xc]
jae 0x403f05
lea eax, [esp + 0xc]
push 0
push eax
push 0xa
push str.ncalrpc
call dword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpA]
mov esi, eax
test esi, esi
jne 0x403f4e
mov ecx, dword [0x42a0c8]
push eax
push eax
push ecx
call dword [sym.imp.RPCRT4.dll_RpcServerRegisterIf]
mov esi, eax
test esi, esi
je 0x403f3d
cmp dword [esp + 0x20], edi
jb 0x403f61
mov edx, dword [esp + 0xc]
push edx
jmp 0x403f59
push 0
push 0x4d2
push 1
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
mov esi, eax
cmp dword [esp + 0x20], edi
jb 0x403f61
mov eax, dword [esp + 0xc]
push eax
call fcn.0041a53d
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
call fcn.0040649e
add esp, 0x2c
ret

Function at 0x4045b9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ecx
call fcn.004041c3
push eax
push esi
push dword [ebp + 8]
call fcn.00404178
mov dword [ebp - 0xbc], eax
dec dword [ebp + 0x5d88d445]
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004041c3
push eax
push esi
push dword [ebp + 8]
call fcn.00404178
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004041b3
stc
jno 0x40466e
sub dword [eax - 0x8363], ecx
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
invalid
inc ebp
invalid

Function at 0x404851
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x404867
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x404862
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40484c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x404854
cmp edx, ebx
jne 0x4049a2
add dword [eax], eax
invalid
add dword [eax], eax
add byte [ebx + 0x45830448], cl
or byte [edx], al
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x404823
add eax, dword [eax + 4]
jmp 0x404810
mov dword [ebp + 0xc], ebx
jmp 0x404872
Function at 0x4048d4
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40488a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4048a8
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x404906
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
adc byte [ecx + 0xe2], al
and byte [ecx + 0x1065], al
invalid
invalid
adc byte [ecx + 0xe2], al
and byte [ecx + 0x1065], al
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4048ed
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4048f6
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x404900
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4048e2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40486c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x404953
dec eax
je 0x40494a
sub eax, 3
je 0x404941
invalid
mov dword [ebp - 4], 0x40
jmp 0x404970
mov dword [ebp - 4], 4
jmp 0x404956
mov dword [ebp - 4], 0x20
jmp 0x404956
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
cld
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
invalid
test eax, eax
je 0x4049a2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x404922
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004041b3
inc eax
mov esp, 0x1475ffea
push 1
push esi
call edi
mov eax, esi
jmp 0x4049ae

Function at 0x404a2e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
insd dword es:[edi], dx
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
invalid
invalid
Function at 0x406ab9
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00406760
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406b54
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x42d89c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x406b54
cmp eax, 1
je 0x406b75
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406b54
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x406b21
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x406b50
xor eax, eax
inc eax
jmp 0x406b94
cmp edi, eax
jae 0x406b58
xor eax, eax
jmp 0x406b94
cmp eax, esi
jae 0x406b5f
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x42d89c]
jmp 0x406b78
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40791c
Capabilities:
Terminate process

Disassembly:
push 8
push 0x423600
call fcn.00406b9c
push 8
call fcn.00408148
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x42d8dc], esi
jne 0x407950
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x42d8d8], esi
mov al, byte [ebp + 0x10]
mov byte [0x42d8d4], al
cmp dword [ebp + 0xc], edi
jne 0x40799a
cmp dword [0x42f268], edi
je 0x40798a
mov eax, dword [0x42f264]
sub eax, 4
mov dword [0x42f264], eax
cmp eax, dword [0x42f268]
jb 0x40798a
mov eax, dword [eax]
cmp eax, edi
je 0x40796b
call eax
jmp 0x40796b
push 0x42a084
mov eax, 0x42a07c
call fcn.0040789a
pop ecx
push 0x42a090
mov eax, 0x42a088
call fcn.0040789a
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x4079cb
cmp dword [ebp + 0x10], edi
jne 0x4079d9
mov dword [0x42d8dc], esi
push dword [ebp + 8]
call fcn.00407858
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x4079d8
push 8
call fcn.00408093
pop ecx
ret
call fcn.00406bd7
ret