joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70a5e670
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x28
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, 0x70a60760
lea edi, [ebp + 0x48]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
xor edi, edi
xor eax, eax
mov dword [esp + 0x14], ebp
mov ebp, edx
jmp 0x70a5e6cc
mov ecx, edx
shl ecx, 8
movzx edx, byte [ebx + eax]
or edx, ecx
inc eax
xor ecx, ecx
cmp eax, ebp
setl cl
neg ecx
and eax, ecx
dec esi
jne 0x70a5e69e
xor edx, dword [edi*4 + 0x70a61760]
mov ecx, dword [esp + 0x14]
mov dword [ecx + edi*4], edx
inc edi
cmp edi, 0x12
je 0x70a5e6d5
mov esi, 4
xor edx, edx
jmp 0x70a5e69e
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov ebx, ebp
lea eax, [ebp + 0x48]
lea edi, [esp + 0x24]
lea edx, [esp + 0x20]
mov dword [esp + 0x10], edx
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
lea ecx, [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp], ebp
call sym.avutil_ttv_51.dll_av_blowfish_crypt_ecb
mov edx, dword [esp + 0x20]
mov dword [ebx], edx
mov edx, dword [esp + 0x24]
mov dword [ebx + 4], edx
add ebx, 8
cmp ebx, esi
jne 0x70a5e6fc
mov ebx, dword [esp + 0x14]
lea eax, [ebp + 0x1000]
mov dword [esp + 0x14], eax
jmp 0x70a5e77f
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
lea edx, [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp], ebp
call sym.avutil_ttv_51.dll_av_blowfish_crypt_ecb
mov eax, dword [esp + 0x20]
mov dword [ebx + esi*4 + 0x48], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + esi*4 + 0x4c], eax
add esi, 2
cmp esi, 0x100
jne 0x70a5e73c
add ebx, 0x400
cmp ebx, dword [esp + 0x14]
je 0x70a5e783
xor esi, esi
jmp 0x70a5e73c
add esp, 0x28
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x50ac60ed
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x27060f7
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
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 0x490485
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00490504
jae 0x490491
xor ecx, ecx
call fcn.00490504
jae 0x4904bb
xor eax, eax
call fcn.00490504
jae 0x4904cc
mov al, 0x10
call fcn.00490504
adc al, al
jae 0x4904ad
jne 0x4904f9
stosb byte es:[edi], al
jmp 0x490492
call fcn.00490510
dec ecx
loop 0x4904d8
mov eax, ebp
call fcn.0049050e
jmp 0x4904fa
lodsb al, byte [esi]
shr eax, 1
je 0x490520
adc ecx, 2
mov ebp, eax
jmp 0x4904fa
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0049050e
cmp eax, 0x7d00
jae 0x4904f8
cmp eax, 0x500
jae 0x4904f9
cmp eax, 0x7f
ja 0x4904fa
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x490492
pop ebp
ret 8
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 0x423e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x423e6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x423e71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x423e60
mov eax, 1
add ebx, ebx
jne 0x423e83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x423e78
jne 0x423e94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423e78
xor ecx, ecx
sub eax, 3
jb 0x423ea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x423f1a
mov ebp, eax
add ebx, ebx
jne 0x423eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x423ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x423ee4
inc ecx
add ebx, ebx
jne 0x423ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x423ec5
jne 0x423ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423ec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x423f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x423ef5
jmp 0x423e66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x423f04
add edi, ecx
jmp 0x423e66
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423f22
cmp byte [edi], 9
jne 0x423f22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x423f27
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x423f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28198]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28260]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423f54
mov ecx, edi
jns 0x423f83
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 + 0x28264]
or eax, eax
je 0x423f99
mov dword [ebx], eax
add ebx, 4
jmp 0x423f71
call dword [esi + 0x28274]
mov ebp, dword [esi + 0x28268]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x423fd3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x4014b0
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x40d890
call fcn.00409683
mov eax, dword [0x41204c]
mov ecx, 0x41204c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push str.RootGeniusEx.zip
lea ecx, [ebp - 0x18]
call fcn.004010f5
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401792
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401f7c
mov edi, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
lea eax, [ebp - 0x14]
push eax
push 0x85
call fcn.004012f8
pop ecx
pop ecx
mov byte [ebp - 0xd], al
test al, al
je 0x40155c
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x40fc84
call fcn.004010f5
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esp
lea eax, [edi - 0x10]
mov dword [ebp - 0x18], esp
call fcn.00401b0b
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
mov byte [ebp - 4], 0
call fcn.00401fac
add esp, 0xc
push edi
mov byte [ebp - 0xd], al
call esi
lea eax, [edi - 0x10]
call fcn.00401f7c
mov al, byte [ebp - 0xd]
call fcn.00409722
ret

Function at 0x40156d
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edi, ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x40fb38
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
and dword [ebp - 0x10], 0x80000000
and eax, 0x7fffffff
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x20], eax
xor esi, esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], esi
fild qword [ebp - 0x24]
fild qword [ebp - 0x14]
fchs
faddp st(1)
fld qword [0x40fcc0]
fmul st(1), st(0)
fmulp st(1)
fcomp qword [0x40fcb8]
fnstsw ax
test ah, 5
jp 0x401607
push 4
mov eax, edi
pop ecx
and eax, 0x3ff
push 0x30
cmp cx, ax
jne 0x4015fa
push 0x40fb40
push 0x40fb48
jmp 0x401604
push str.Warning
push str.C_disk_space_will_cause_the_software_can_not_be_used_
push esi
call ebx
mov byte [ebp - 5], 1
call fcn.00401386
test al, al
jne 0x401619
mov byte [ebp - 5], al
jmp 0x401687
push 0x40fae0
lea ecx, [ebp - 0x10]
call fcn.004010f5
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop ecx
push dword [eax]
call esi
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401f7c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004013f9
test al, al
jne 0x401657
mov byte [ebp - 5], al
jmp 0x40167a
push 0x40fbec
lea ecx, [ebp - 0x10]
call fcn.004010f5
pop ecx
push dword [eax]
call esi
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401f7c
call fcn.004014b0
cmp byte [ebp - 5], 0
jne 0x4016b0
xor esi, esi
push 4
pop eax
and edi, 0x3ff
push 0x30
cmp ax, di
jne 0x4016a3
push 0x40fc0c
push 0x40fc14
jmp 0x4016ad
push str.Error
push str.Root_Genius_failed_to_initialize_
push esi
call ebx
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x401140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401159
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40116d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40118e
cmp esi, eax
jae 0x401167
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401180
cmp esi, eax
jae 0x401167
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4018f0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x7c
push esi
push edi
mov edi, dword [esp + 0x88]
xor esi, esi
cmp edi, esi
je 0x401af7
mov ecx, dword [edi + 0x1c]
push ebx
push ebp
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
sub ebx, eax
mov dword [esp + 0x58], edx
push 2
sub ebx, 2
mov dword [esp + 0x28], str.Enable
mov dword [esp + 0x2c], str.Item
mov dword [esp + 0x30], 0x44a668
mov dword [esp + 0x34], str.Status
mov dword [esp + 0x38], str.City
mov dword [esp + 0x3c], str.Population
mov dword [esp + 0x40], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x60], edx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
sub ebx, eax
mov ecx, str.Enable
xor eax, eax
mov edx, esi
dec edx
neg edx
sbb edx, edx
and edx, 2
cmp esi, 5
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x44], edx
jne 0x4019b8
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + eax + 0x28]
test ecx, ecx
mov dword [esp + 0x54], esi
jne 0x4019d5
mov edx, dword [esp + 0x10]
mov eax, ebx
sub eax, edx
sub eax, 2
jmp 0x4019e7
mov eax, dword [eax + 0x4560d4]
imul eax, ebx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
push eax
push esi
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x1c]
push 0x101b
push ecx
call ebp
inc esi
lea eax, [esi*4]
mov ecx, dword [esp + eax + 0x24]
test ecx, ecx
jne 0x401995
mov edx, dword [edi + 0x6c]
xor ebx, ebx
push ebx
push ebx
push 0x1200
push edx
xor esi, esi
call ebp
test eax, eax
jle 0x401a8f
nop
mov ecx, dword [edi + 0x6c]
lea eax, [esp + 0x60]
push eax
push esi
push 0x1203
push ecx
mov dword [esp + 0x70], 0x24
call ebp
mov ecx, dword [esp + 0x74]
or ecx, 0x800
cmp esi, ebx
mov dword [esp + 0x74], ecx
je 0x401a64
cmp esi, 3
mov dword [esp + 0x7c], ebx
jne 0x401a6c
mov dword [esp + 0x7c], 1
mov eax, dword [edi + 0x6c]
lea edx, [esp + 0x60]
push edx
push esi
push 0x1204
push eax
call ebp
mov ecx, dword [edi + 0x6c]
push ebx
push ebx
push 0x1200
push ecx
inc esi
call ebp
cmp esi, eax
jl 0x401a30
xor edx, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
xor esi, esi
mov ebx, 9
mov eax, esi
dec eax
neg eax
sbb eax, eax
and eax, 2
cmp esi, 5
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
jne 0x401ad7
mov dword [esp + 0x44], 1
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push esi
push 0x101a
push edx
mov dword [esp + 0x64], esi
call ebp
mov eax, dword [esp + esi*4 + 0x28]
inc esi
test eax, eax
jne 0x401ab8
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x7c
ret 4
Function at 0x402300
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
push esi
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x402368
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402353
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x4026e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
test ebx, ebx
je 0x402859
cmp byte [ebx], 0
je 0x402859
mov ecx, dword [esp + 0x218]
test ecx, ecx
mov eax, str.open
je 0x402714
mov eax, 0x44b158
push ebp
mov ebp, dword [esp + 0x218]
push esi
push ebp
push 0
push 0
push ebx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40284d
lea eax, [esp + 0xc]
push eax
push str..htm
push 0x80000000
call fcn.00402300
add esp, 0xc
test eax, eax
jne 0x40284d
push edi
lea edi, [esp + 0x10]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402760
mov ecx, dword [str._shellopencommand]
mov edx, dword [0x44b140]
mov eax, dword [0x44b144]
mov dword [edi], ecx
mov ecx, dword [0x44b148]
mov dword [edi + 4], edx
mov edx, dword [0x44b14c]
mov dword [edi + 8], eax
lea eax, [esp + 0x10]
mov dword [edi + 0xc], ecx
push eax
mov ecx, eax
push ecx
push 0x80000000
mov dword [edi + 0x10], edx
call fcn.00402300
add esp, 0xc
test eax, eax
jne 0x40284c
lea edx, [esp + 0x10]
push str.__1_
push edx
call fcn.004326fd
add esp, 8
test eax, eax
jne 0x4027f2
lea eax, [esp + 0x10]
push 0x44b130
push eax
call fcn.004326fd
add esp, 8
test eax, eax
jne 0x4027f2
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4027e3
sub eax, edx
lea eax, [esp + eax + 0xf]
jmp 0x4027f5
mov byte [eax], 0
mov edi, eax
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4027f8
mov cx, word [0x44ae28]
mov word [edi], cx
mov ecx, ebx
mov esi, ebx
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x402810
sub ecx, esi
mov edx, ecx
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402820
mov ecx, edx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [0x4560d0]
push ebp
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov eax, 0x24
pop ebx
add esp, 0x208
ret
Function at 0x403000
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4489c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x8c]
test eax, eax
jne 0x403126
push ebx
call fcn.00446e39
mov ebx, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f89
push 0
call ebx
test eax, eax
mov dword [ebp + 0x8c], eax
jne 0x403125
push esi
call fcn.00443009
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x18], 0
jge 0x40308e
push 0x104
lea ecx, [esp + 0x10]
call fcn.00401440
mov esi, dword [esp + 0xc]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test esi, esi
jne 0x4030a2
xor eax, eax
jmp 0x4030b6
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4030a7
sub eax, edx
js 0x403136
cmp eax, dword [esi - 8]
jg 0x403136
push edi
push 0xd
mov dword [esi - 0xc], eax
push str.winhlp32.exe
lea ecx, [esp + 0x18]
mov byte [eax + esi], 0
call fcn.00402cc0
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x403101
push 0x6a
push esi
call ebx
test eax, eax
je 0x4030fa
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebp + 0x8c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x403124
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebx
mov ecx, dword [esp + 8]
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0x80070057
call fcn.00401120
int3
Function at 0x42a250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x448eb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00444550
xor ecx, ecx
lea ebp, [esi + 0x10]
mov dword [esi], method.CDC.virtual_0
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], 0x44e1d0
mov ebx, dword [esp + 0x2c]
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
mov byte [esp + 0x24], 1
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x42a317
mov eax, dword [ebx]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call dword [eax + 0x50]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0044491e
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
sub ecx, edx
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.00444b68
test ebp, ebp
je 0x42a2f5
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call fcn.00444bf1
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004446a0
jmp 0x42a329
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4324ce
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.004326c0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x432569
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 [0x459fa8]
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 0x432569
cmp eax, 1
je 0x43258a
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 0x432569
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x432536
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x432565
xor eax, eax
inc eax
jmp 0x4325a9
cmp edi, eax
jae 0x43256d
xor eax, eax
jmp 0x4325a9
cmp eax, esi
jae 0x432574
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 [0x459fa8]
jmp 0x43258d
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