joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461e40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00463f50
mov edi, dword [esp + 0x38]
xor ebp, ebp
push edi
mov ebx, eax
mov dword [esp + 0x18], ebp
call dword [0x46e914]
add esp, 8
test ebx, ebx
je 0x461f84
test eax, eax
je 0x461f84
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x461eb2
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x461f71
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x461f3a
cmp eax, 0xea
jne 0x461f5d
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x18]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x461f05
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x461f48
cmp eax, 2
jne 0x461f5d
push esi
call dword [0x46e914]
push eax
push esi
call fcn.00463770
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x461fad
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x461fb9
mov esi, dword [esp + 0x40]
test esi, esi
je 0x461fb9
push esi
call dword [0x46e914]
push eax
push esi
call fcn.00463770
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x462090
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
ja 0x462111
je 0x462102
cmp eax, 0x80000101
ja 0x4620fb
je 0x462102
cmp eax, 0x80000004
je 0x4620dc
cmp eax, 0x80000005
jne 0x462126
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 3
test eax, eax
je 0x462173
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x462173
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 1
push eax
call dword [0x46e914]
mov ebp, dword [esp + 0x44]
mov ebx, eax
add esp, 4
inc ebx
jmp 0x462173
cmp eax, 0x80000201
jne 0x462126
mov ebx, 4
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebx
jmp 0x462173
cmp eax, 0x80000401
je 0x46215e
cmp eax, 0x80000501
je 0x462146
cmp eax, 0x80000601
je 0x46212e
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x46216f
fld dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x46216f
mov ecx, dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xc]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.00463f50
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
call dword [0x46e914]
add esp, 8
test esi, esi
je 0x46224c
test eax, eax
je 0x46224c
inc eax
push edi
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4621ee
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x462242
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x462237
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x462260
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebp
push esi
push edi
push eax
call fcn.00463f50
mov edi, dword [esp + 0x28]
mov ebp, eax
push edi
xor esi, esi
call dword [0x46e914]
add esp, 8
test ebp, ebp
je 0x46232a
test eax, eax
je 0x46232a
inc eax
push ebx
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4622cc
mov byte [esi], 0
inc esi
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x462306
mov ecx, dword [esp + 0x10]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x462319
mov eax, dword [esp + 0x28]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x463100
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x11c]
lea eax, [esp + 0x18]
mov ebx, edi
xor esi, esi
xor ecx, ecx
sub ebx, eax
mov eax, ecx
lea ebp, [esp + ecx + 0x18]
cdq
idiv dword [esp + 0x124]
mov eax, dword [esp + 0x120]
mov byte [ebx + ebp], cl
inc ecx
cmp ecx, 0x100
mov dl, byte [edx + eax]
mov byte [ebp], dl
jl 0x463132
lea ebp, [esp + 0x18]
mov eax, edi
sub ebp, edi
mov dword [esp + 0x10], pe_nt_image_headers32
mov cl, byte [eax]
xor edx, edx
mov dl, byte [eax + ebp]
mov byte [esp + 0x14], cl
mov ebx, dword [esp + 0x14]
add esi, edx
and ebx, 0xff
add esi, ebx
and esi, 0x800000ff
jns 0x463192
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esi + edi]
mov byte [eax], dl
mov byte [esi + edi], cl
mov ecx, dword [esp + 0x10]
inc eax
dec ecx
mov dword [esp + 0x10], ecx
jne 0x463169
xor al, al
mov byte [edi + 0x100], al
mov byte [edi + 0x101], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x463240
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x14]
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
xor esi, esi
mov byte [esp + 0x18], cl
test edi, edi
mov byte [esp + 8], dl
jle 0x4632dc
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov cl, byte [esp + 0x20]
mov bl, byte [esp + 0x10]
inc cl
mov byte [esp + 0x20], cl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
lea edi, [ecx + eax]
mov cl, byte [ecx + eax]
add bl, cl
mov byte [esp + 0x10], bl
mov ebx, dword [esp + 0x10]
and ebx, 0xff
lea ebp, [ebx + eax]
mov bl, byte [ebx + eax]
mov byte [edi], bl
mov byte [ebp], cl
mov bl, byte [edi]
add bl, cl
and ebx, 0xff
mov cl, byte [ebx + eax]
mov bl, byte [esi + edx]
xor bl, cl
mov ecx, dword [esp + 0x1c]
mov byte [esi + edx], bl
inc esi
cmp esi, ecx
jl 0x46326b
mov dl, byte [esp + 0x20]
mov cl, byte [esp + 0x10]
pop ebp
pop ebx
pop edi
mov byte [eax + 0x100], dl
mov byte [eax + 0x101], cl
pop esi
pop ecx
ret
pop edi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop esi
pop ecx
ret
Function at 0x40a550
Capabilities:
Parse credit card information
Parse pe header

Disassembly:
sub esp, 0x9cc
push ebx
push ebp
push esi
mov esi, eax
mov ecx, dword [esi + 0x8c]
mov eax, dword [ecx + 0x7f8]
cmp eax, 0x48
push edi
mov ebp, 1
ja case.default.0x40a57d
movzx eax, byte [eax + 0x40aac0]
jmp dword [eax*4 + 0x40aa98]
mov edx, dword [esi + 0x5550]
cmp edx, 0xa
jg 0x40a59e
mov dword [esi + 0x554c], 0
jmp case.default.0x40a57d
cmp edx, 0x14
jg 0x40a5ae
mov dword [esi + 0x554c], ebp
jmp case.default.0x40a57d
cmp edx, 0x1e
jg 0x40a5bf
mov dword [esi + 0x554c], 2
jmp case.default.0x40a57d
call fcn.004538f0
test al, al
je 0x40a5d0
mov dword [esi + 0x554c], ebp
jmp case.default.0x40a57d
cmp edx, 0x28
jg 0x40a5e1
mov dword [esi + 0x554c], 3
jmp case.default.0x40a57d
cmp edx, 0x31
jg 0x40a5f2
mov dword [esi + 0x554c], 4
jmp case.default.0x40a57d
xor ecx, ecx
jmp fcn.007b46f1
mov dword [esi + 0x554c], 5
jmp case.default.0x40a57d
mov dword [esi + 0x554c], 8
jmp case.default.0x40a57d
mov dword [esi + 0x554c], 7
jmp case.default.0x40a57d
mov dword [esi + 0x554c], 9
call fcn.0040a160
mov eax, dword [esi + 0x554c]
xor edx, edx
cmp eax, edx
je 0x40a6c4
jmp loc.007aaae0
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x5d8], ebp
mov dword [esi + 0x5dc], ebp
mov dword [esi + 0x5e0], ebp
mov dword [esi + 0x5e4], ebp
mov dword [esi + 0x5e8], ebp
mov dword [esi + 0x5ec], edx
mov ecx, dword [eax + 0x7f8]
cmp ecx, edx
jne 0x40a729
mov eax, dword [eax + 0x82c]
cmp eax, edx
je 0x40a707
cmp dword [eax + 0x2c], edx
jg 0x40a729
mov eax, dword [esi + 0x5550]
cmp eax, ebp
jne 0x40a71f
mov dword [esi + 0x5dc], edx
mov dword [esi + 0x5e4], edx
jmp 0x40a72e
cmp eax, 2
je 0x40a72e
cmp eax, 3
jmp 0x40a72c
cmp ecx, 0x26
jne 0x40a73a
mov dword [esi + 0x5d8], edx
mov dword [esi + 0x5e8], edx
mov ebx, 0xfffffffc
lea edx, [ebx + 0x5e]
xor eax, eax
lea edi, [esi + 0x5d8]
lea ebx, [ebx]
mov ecx, dword [edi]
test ecx, ecx
jne 0x40a762
lea ecx, [edx + eax]
mov dword [esi + ecx*4], 2
jmp 0x40a792
cmp ecx, 2
jne 0x40a77e
lea ebp, [ebx + 4]
cmp ebp, 8
lea ebp, [ecx - 1]
ja 0x40a77e
lea ecx, [edx + eax]
mov dword [esi + ecx*4], 3
jmp 0x40a792
cmp ecx, 3
jne 0x40a792
cmp ebx, 4
ja 0x40a792
lea ecx, [edx + eax]
mov dword [esi + ecx*4], 4
add eax, ebp
add edi, 4
cmp eax, 6
jl 0x40a750
add ebx, ebp
lea eax, [ebx + 4]
add edx, 6
cmp eax, 9
jl 0x40a742
jmp loc.007c4491

Function at 0x40ab10
Capabilities:
Packed with generic packer
Parse credit card information
Parse pe header

Disassembly:
mov eax, dword [edi + 0x8c]
cmp dword [eax + 0x768], 0
push esi
je 0x40ab8a
mov ecx, dword [eax + 0x7f8]
cmp ecx, 0x1e
je 0x40ab3b
test ecx, ecx
jne 0x40ab48
mov ecx, dword [eax + 0x82c]
cmp dword [ecx + 0x24], 0xf
jne 0x40ab48
mov esi, dword [edi + 0x160]
call fcn.00425840
pop esi
ret
cmp dword [eax + 0x768], 0
je 0x40ab8a
mov ecx, dword [eax + 0x7f8]
cmp ecx, 0x11
je 0x40ab71
cmp ecx, 0x21
je 0x40ab71
test ecx, ecx
jne 0x40ab8a
mov ecx, dword [eax + 0x82c]
cmp dword [ecx + 0x24], 5
jne 0x40ab8a
cmp dword [eax + 0x7f8], 0
jne 0x40ab3b
mov eax, dword [eax + 0x82c]
test eax, eax
je 0x40ab8a
cmp dword [eax + 0x2c], 0
jg 0x40ab3b
xor esi, esi
lea esp, [esp]
mov eax, esi
call fcn.0040d660
jmp 0x7ad755
Function at 0x7bf837
Capabilities:
Packed with generic packer

Disassembly:
pushal
cmp dword [esi + 0x4c], 0
je 0x7bf8eb
mov eax, dword [esi + 0x30]
add eax, 0x19
mov dword [0x7bf06a], eax
mov eax, dword [esi + 0x34]
add eax, 0x1e
mov dword [0x7bf06e], eax
mov eax, dword [esi + 0x50]
sub eax, dword [esi + 0x4c]
xor ebx, ebx
xor ecx, ecx
cmp eax, 0x64
jl 0x7bf86f
sub eax, 0x64
add ebx, 1
jmp 0x7bf862
cmp eax, 0xa
jl 0x7bf87c
sub eax, 0xa
add ecx, 1
jmp 0x7bf86f
cmp ebx, 0xa
jl 0x7bf8be
sub dword [0x7bf06a], 4
cmp ebx, 0x64
jl 0x7bf8be
sub dword [0x7bf06a], 4
cmp ebx, 0x3e8
jl 0x7bf8be
sub dword [0x7bf06a], 3
mov dword [0x7bf072], 0x7befca
mov dword [0x7bf076], 0x6a7630
call fcn.007bf1e8
jmp 0x7bf8eb
push ecx
push ebx
push 0x7befc3
mov esi, 0x7befd2
call fcn.005b0ca0
add esp, 0xc
mov eax, 0x7befd6
mov dword [0x7bf072], eax
mov dword [0x7bf076], 0x6a7630
call fcn.007bf1e8
popal
ret

Function at 0x7c0c9a
Capabilities:
Packed with generic packer

Disassembly:
pushal
sub esp, 0x100
mov ecx, 0x96
mov ebx, 0x96
call fcn.0046f280
mov ebp, eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00586a30
lea eax, [esp + 0x28]
mov cl, 1
call fcn.00586d40
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x124]
push 0
push 0x3f800000
push 0x3f800000
push eax
call fcn.0046f100
lea ecx, [esp + 0x28]
call fcn.00586b10
mov dword [esp + 4], ebp
add esp, 0x100
popal
ret

Function at 0x7c1c0a
Capabilities:
Packed with generic packer

Disassembly:
pushal
sub esp, 0x200
push dword [esp + 0x230]
lea esi, [esp + 0x108]
call fcn.005b0ca0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, eax
call fcn.00403e20
mov ecx, dword [esp + 0x224]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
call edx
mov ecx, dword [esp + 0x224]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
lea eax, [0x7c1c89]
mov ecx, edi
call fcn.00586cc0
push dword [esp + 0x22c]
push dword [esp + 0x22c]
push dword [esp + 0x224]
mov eax, edi
call fcn.00587120
add esp, 0x200
popal
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x3a93700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.03a9378f
jae 0x3a9370e
xor ecx, ecx
call fcn.03a9378f
jae 0x3a9373d
xor eax, eax
call fcn.03a9378f
jae 0x3a9374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.03a9378f
adc al, al
jae 0x3a9372f
jne 0x3a93779
stosb byte es:[edi], al
jmp 0x3a93711
call fcn.03a9379b
sub ecx, ebx
jne 0x3a93756
call fcn.03a93799
jmp 0x3a93775
lodsb al, byte [esi]
shr eax, 1
je 0x3a93783
adc ecx, ecx
jmp 0x3a93772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03a93799
cmp eax, 0x7d00
jae 0x3a93772
cmp ah, 5
jae 0x3a93773
cmp eax, 0x7f
ja 0x3a93774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3a93711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x402c3e
Capabilities:
Packed with generic packer

Disassembly:
clc
push dword [ebp + 0x2a]
mov eax, dword [ebp + 0x20]
cmp eax, 0xffffffff
jne 0x402c13
cmp byte [esi + 0x38], 0
jne 0x43c61f
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov dword [esi + 0x54], eax
jmp 0x402bec
add byte [eax], al
add byte [ebx + 0x448b604b], cl
and al, 0x10
mov edx, dword [esp + 0x14]
or dword [esp + 0x10], 0xffffffff
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x74]
mov dword [esp + 0xc], ecx
mov eax, dword [eax + edx*4]
mov edi, dword [eax]
mov dword [esp + 0x1c], edi
mov dl, byte [edi + 0x90]
movzx eax, dl
cmp eax, 0x11
jle 0x43c631
sub eax, 0x13
je 0x43cb48
dec eax
je 0x43cb07
dec eax
dec eax
je 0x43ca8e
sub eax, 5
jne 0x43ca78
push edi
push ecx
call fcn.00401b41
push dword [edi]
call dword [0x48f63c]
mov esi, dword [esp + 0xc]
cmp dword [edi + 0x44], 0
jne 0x402ce5
cmp dword [edi + 0x64], 0
jne 0x402cf0
cmp dword [edi + 0x68], 0
jne 0x402cfb
cmp dword [edi + 0x50], 0
jne 0x402d06
mov eax, dword [esp + 0x14]
and al, 0x14
cmp eax, dword [esi + 0x1c]
je 0x402d11
push eax
mov ecx, ebx
call fcn.0040246d
xor eax, eax
inc eax
pop edi
pop esi
idiv edi
push dword [ebx]
rol byte [eax + 0x5f], 0x5e
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [edi + 0x44]
call dword [0x48f0c8]
jmp 0x402cb2
push dword [edi + 0x64]
call dword [0x48f0c8]
jmp 0x402cb8
push dword [edi + 0x68]
call dword [0x48f73c]
jmp 0x402cbe
push dword [edi + 0x50]
call dword [0x48f63c]
jmp 0x402cc4
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x1c], ecx
jmp 0x402ccd
jbe 0x43c645
call edi
mov ecx, dword [ecx + 0x244689fc]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
add al, 0x3a
test cx, cx
jne 0x402be0
dec ebp
or byte [ebp - 0x1607dc37], al
wait
cld
jmp [edx + 1]
push 1
push 0
mov eax, esi
clc
invalid
add bh, bh
call dword ss:[0x448f56c]
jmp 0x402cd2
add byte [eax], al
push dword [edi + 0x34]
invalid
inc ebp
push eax
movsx eax, word [ecx - 0x75ec8b78]
push eax
push dword [ecx]
call dword [0xb48f700]
jmp 0x402cc6
push 0x1053
push dword [edi + 0x34]
invalid

Function at 0x468a97
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c4190]
jne 0x468aa9
call 0x83bb1639
mov eax, dword [0x4c7ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c7ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xff7fdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x468aec
fadd qword [0x4bbac8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4bbaa0]
mov esp, ebp
pop ebp
ret

Function at 0x468afc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4c7530], ecx
inc esi
mov ecx, 0x4c7530
mov edx, esi
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x4c7eec
jl 0x468b0d
mov dword [0x4c4190], esi
mov dword [0x4c7518], esi
pop esi
ret
Function at 0x4693b9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf70dc
lea ecx, [ebp - 0xdc]
push esi
push edi
call fcn.0046920f
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call 0xc69255
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x4693fd
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0046938d
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4693e7
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001050
Capabilities:
Allocate or change rwx memory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push 0x40
push 0x3000
lea eax, [edi + 1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x100010a4
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], edi
je 0x100010ad
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100010c0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push 0xf5c
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [0x10013184], eax
test eax, eax
jne 0x100010e4
push eax
call dword [sym.imp.KERNEL32.dll_ExitThread]
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, dword [0x10013184]
push 0
mov dword [ecx + 0xb20], eax
mov eax, dword [0x10013184]
mov dword [eax + 0xb4c], 0x6e
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [0x10013184]
push 0x104
mov dword [ecx + 0xb1c], eax
mov eax, dword [0x10013184]
add eax, 0x80e
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x10013184]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
add eax, 0x502
push eax
push 0x104
call esi
mov eax, dword [0x10013184]
add eax, 0x606
push eax
push 0x104
call esi
mov eax, dword [0x10013184]
add eax, 0x70a
push eax
push 0x104
call esi
pop esi
ret