joyce8/EMBER2024-capa huggingface dataset:
Function at 0x105f13c8
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105f1518
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105f13ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105f13da
add dl, dl
jne 0x105f13f9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105f144c
xor eax, eax
add dl, dl
jne 0x105f1406
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105f14ed
add dl, dl
jne 0x105f1415
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f1420
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f142b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f1436
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105f1442
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105f13e5
mov eax, 1
add dl, dl
jne 0x105f145a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f1465
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105f1451
sub eax, ebx
mov ebx, 1
jne 0x105f1498
mov ecx, 1
add dl, dl
jne 0x105f147e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105f1489
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105f1475
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105f13e5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105f14af
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105f14ba
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105f14a6
cmp eax, 0x7d00
jae 0x105f14dd
cmp eax, 0x500
jb 0x105f14d8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105f13e5
cmp eax, 0x7f
ja 0x105f14e0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105f13e5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105f150e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x105f13e5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4029b0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x402a09
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4029f3
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
cmp eax, 0x22
je 0x4029f3
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
jmp 0x4029d3
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
cmp eax, 0x22
jne 0x402a07
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
jmp 0x402a1f
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x402a1f
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
jmp 0x402a09
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
test eax, eax
je 0x402a3f
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
cmp edx, 0x20
jg 0x402a3f
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x402a1f
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00402ae0
push 0x404004
push section..data
call fcn.00402ab0
add esp, 8
mov edx, dword [ebp - 0x1c]
and edx, 1
je 0x402a78
movzx eax, word [ebp - 0x18]
mov dword [ebp - 0x54], eax
jmp 0x402a7f
mov dword [ebp - 0x54], 0xa
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x50], eax
call fcn.00402b50
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7aa11a1b
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7a9a1bfb
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x54d56c16
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x3aa81051
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x6132124a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2c6b4150
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x435170
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43519d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43519d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x1000120c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x1002005c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xdc], ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._I64d
push dword [ebp - 0xdc]
call fcn.10002730
add esp, 0x10
mov dword [ebp - 0xb4], 0x400
and dword [ebp - 0xb0], 0
push 0x10
lea eax, [ebp - 0xc4]
push eax
push 0x12
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0xc4]
push eax
call fcn.10013f7c
pop ecx
mov dword [ebp - 0xac], eax
push 0x10
lea eax, [ebp - 0xc4]
push eax
push 0x10
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0xc4]
push eax
call fcn.10013f7c
pop ecx
mov dword [ebp - 0xa8], eax
push 0x10
lea eax, [ebp - 0xd4]
push eax
push 0xe
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xa4], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0xf
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0xa0], eax
push 0x10
lea eax, [ebp - 0xc4]
push eax
push 0x1010
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0xc4]
push eax
call fcn.10013f7c
pop ecx
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
push 0x80
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0xd8]
push 0
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea eax, [ebp - 0x98]
push eax
push 0x1001cdd8
push dword [ebp - 0xdc]
call fcn.10002730
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009868
leave
ret 8

Function at 0x100020da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100020f9
xor eax, eax
jmp 0x10002174
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000210f
xor eax, eax
jmp 0x10002174
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x10002157
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x10002157
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x10002130
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x10002163
xor eax, eax
jmp 0x10002174
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x10002171
xor eax, eax
jmp 0x10002174
mov eax, dword [ebp - 4]
leave
ret
Function at 0x10003219
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
movzx eax, byte [0x10021db4]
test eax, eax
jne 0x10003233
xor eax, eax
inc eax
jmp 0x10003299
mov eax, dword [ebp - 8]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000326c
push 0
mov eax, dword [ebp - 8]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x80
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
and eax, 0xffffffbf
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
and eax, 0x80
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
xor eax, eax
jmp 0x10003299
leave
ret 0x10

Function at 0x10003b05
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
push dword [ebp + 8]
mov eax, dword [ebp - 0x38]
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10003b73
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
inc eax
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100029b4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
call fcn.1000278f
mov eax, dword [ebp - 0xc]
jmp 0x10003b7d
mov ecx, dword [ebp + 0xc]
call fcn.100024e0
xor eax, eax
leave
ret 8

Function at 0x100065b2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x100065bb
xor eax, eax
jne 0x100065bb
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100065da
push 0xd
pop eax
jmp 0x10006625
xor eax, eax
jne 0x100065c3
and dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 1
jne 0x100065e8
push dword [ebp - 4]
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
leave
ret 8
Function at 0x100071a7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x1002005c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x150], ecx
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
or eax, 0x2001f
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 0x150]
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.1000712a
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000720f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x14]
call fcn.1000733e
mov eax, dword [ebp - 0x124]
jmp 0x100072ba
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x120]
push eax
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10007274
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x14]
call fcn.100071a7
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000726b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x14]
call fcn.1000733e
mov eax, dword [ebp - 0x128]
jmp 0x100072ba
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x10007216
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x14], 0
je 0x10007294
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x144], eax
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
push dword [ebp + 8]
mov ecx, dword [ebp - 0x150]
call fcn.1000736f
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x14]
call fcn.1000733e
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10009868
leave
ret 4
Function at 0x10009723
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x100212c0], 0
push esi
jne 0x10009696
call fcn.100095bc
test eax, eax
je 0x100096d9
mov eax, dword [0x100212c0]
cmp eax, 1
jne 0x100096b7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100096d9
pop esi
ret
push eax
call dword [0x100212c8]
test eax, eax
jne 0x10009721
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x100096dd
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x100212c0]
call dword [0x100212c8]
mov edi, eax
test edi, edi
je 0x10009702
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1000971e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x100212c0]
call dword [0x100212c4]
add edi, 0x10
cmp edi, esi
jb 0x1000970a
mov eax, edi
pop edi
pop esi
ret
jmp 0x10009683

Function at 0x10009868
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002005c]
jne 0x10009872
repz ret
jmp fcn.1000ad1c
Function at 0x1001300c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000d001
and dword [ebp - 4], 0
cmp dword [0x10021cd4], 0
mov ebx, eax
jne 0x100130bd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001316e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001cd6c
push edi
call esi
test eax, eax
je 0x1001316e
push eax
call fcn.1000cf8f
mov dword [esp], 0x1001cd5c
push edi
mov dword [0x10021cd4], eax
call esi
push eax
call fcn.1000cf8f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10021cd8], eax
call esi
push eax
call fcn.1000cf8f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10021cdc], eax
call esi
push eax
call fcn.1000cf8f
pop ecx
mov dword [0x10021ce4], eax
test eax, eax
je 0x100130bd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000cf8f
pop ecx
mov dword [0x10021ce0], eax
mov eax, dword [0x10021ce0]
cmp eax, ebx
je 0x10013115
cmp dword [0x10021ce4], ebx
je 0x10013115
push eax
call fcn.1000d00a
push dword [0x10021ce4]
mov esi, eax
call fcn.1000d00a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10013115
test edi, edi
je 0x10013115
call esi
test eax, eax
je 0x1001310c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001310c
test byte [ebp - 0xc], 1
jne 0x10013115
or dword [ebp + 0x10], 0x200000
jmp 0x1001314e
mov eax, dword [0x10021cd8]
cmp eax, ebx
je 0x1001314e
push eax
call fcn.1000d00a
pop ecx
test eax, eax
je 0x1001314e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001314e
mov eax, dword [0x10021cdc]
cmp eax, ebx
je 0x1001314e
push eax
call fcn.1000d00a
pop ecx
test eax, eax
je 0x1001314e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10021cd4]
call fcn.1000d00a
pop ecx
test eax, eax
je 0x1001316e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10013170
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10014bcb
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a684
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1002005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov dword [eax], vtable.CDownloadDlg.0
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x44], vtable.CDownloadDlg.1.0
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 4]
test eax, eax
jne 0x10014c27
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x68]
sub eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.10002a85
mov eax, dword [ebp - 0x28]
add eax, 0x44
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x10014c6e
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call fcn.10009671
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
call fcn.10015e64
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x10015fe3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a6ca
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1002005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
call fcn.100024e0
mov eax, dword [0x10021dec]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x24], eax
xor eax, eax
cmp dword [ebp - 0x24], 0
sete al
movzx eax, al
test eax, eax
jne 0x10016101
cmp dword [ebp + 8], 0x91
je 0x10016101
push 0x1002126c
lea ecx, [ebp - 0x14]
call fcn.10002a3c
and dword [ebp - 4], 0
push dword [ebp + 8]
push 0x1001cde0
lea eax, [ebp - 0x14]
push eax
call fcn.10002730
add esp, 0xc
mov eax, dword [0x10021dec]
mov dword [ebp - 0x30], eax
push 0x3e8
mov ecx, dword [ebp + 0xc]
call fcn.100029b4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x30]
push 0x3e8
push dword [ebp - 0x40]
push 0x1001ce84
push dword [ebp - 0x44]
push str.strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x100160b3
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax - 8]
jle 0x100160bd
push 0x80070057
call fcn.10002a19
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dword [eax - 0xc], ecx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
push 0x1001ce70
push 0x1001ce74
mov ecx, dword [ebp + 0xc]
call fcn.100015d4
test eax, eax
je 0x100160ec
jmp 0x100160d4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.10002a85
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp dword [ebp - 0x4c], 0
sete al
movzx eax, al
test eax, eax
je 0x10016141
push 0
push dword [ebp + 8]
call fcn.1000206a
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10016133
jmp 0x10016141
push dword [ebp + 8]
push dword [ebp - 0x50]
mov ecx, dword [ebp + 0xc]
call fcn.10001d87
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x78], eax
xor eax, eax
cmp dword [ebp - 0x78], 0
sete al
movzx eax, al
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret