joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100411e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp byte [eax + 0x2b], 1
je 0x100412d2
push ebp
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x100412d1
push ebx
push esi
push edi
test ecx, ecx
je 0x1004124f
movzx eax, word [ebp + 0x34]
xor edi, edi
test eax, eax
je 0x100412bb
mov ebx, dword [ebp + 4]
nop word [eax + eax]
cmp word [ebx], 0
jl 0x100412f4
mov eax, dword [ebp + 0x20]
mov esi, ecx
mov eax, dword [eax + edi*4]
sub esi, eax
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x100412d4
test edx, edx
jne 0x100412e6
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov ebx, dword [esp + 0x18]
test ecx, ecx
je 0x10041278
mov eax, dword [ebx]
xor esi, esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x10041278
nop dword [eax]
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x10041270
mov eax, dword [ebx + 0x78]
mov edi, ebx
test eax, eax
mov ecx, esi
cmovne edi, eax
mov eax, 1
shl eax, cl
mov edx, dword [edi + 0x58]
test edx, eax
jne 0x100412a6
bts edx, esi
mov dword [edi + 0x58], edx
cmp esi, 1
jne 0x100412a6
push edi
call fcn.10066870
add esp, 4
mov eax, dword [edi + 0x54]
push 0xffffffffffffffff
bts eax, esi
push ebp
push ebx
mov dword [edi + 0x54], eax
call fcn.1006eea0
add esp, 0xc
mov ebp, dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
test ebp, ebp
jne 0x10041202
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
movzx ecx, byte [ecx + 0x100b0f70]
movzx edx, byte [edx + 0x100b0f70]
sub edx, ecx
jne 0x100412ec
inc eax
jmp 0x10041234
movzx eax, word [ebp + 0x34]
mov ecx, dword [esp + 0x20]
inc edi
add ebx, 2
cmp edi, eax
jl 0x10041220
jmp 0x100412bb

Function at 0x10042ac0
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
push dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
mov byte [edi + 0x10], 1
push ebx
push ebx
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push edi
call fcn.10066290
add esp, 0x1c
cmp dword [esp + 0x14], 0
jne 0x10042b08
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push edi
call fcn.10066290
add esp, 0x14
pop edi
pop ebx
ret
Function at 0x1005d9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
mov ebp, dword [esi]
mov eax, dword [ebp + 0x20]
and eax, 0x4000
or eax, 0
je 0x1005db32
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2b], 0
jne 0x1005db32
push ebx
mov ebx, dword [esi + 8]
push edi
xor edi, edi
test ebx, ebx
jne 0x1005da00
cmp dword [esi + 0x78], edi
jne 0x1005d9f1
test byte [ebp + 0x50], 8
jne 0x1005d9f1
mov byte [esi + 0x17], 1
push esi
call fcn.1007aff0
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
push 0
push dword [eax]
add ecx, 0x38
push ecx
call fcn.1002be90
add esp, 0xc
cmp dword [eax + 8], edi
jne 0x1005da5a
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x1005db30
cmp byte [ecx + 0x18], 0
jne 0x1005da46
mov eax, dword [ebp + 0x20]
and eax, 0x80000
or eax, 0
jne 0x1005da46
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x1005da27
pop edi
pop ebx
pop esi
pop ebp
ret
dec dword [esi + 0x38]
mov edi, dword [esi + 0x38]
push edi
push 1
push 0x31
push ebx
call fcn.1007a9c0
add esp, 0x10
push 0
push 0
push 0
push 0
push dword [esp + 0x28]
mov byte [esi + 0x9b], 1
push ebp
call fcn.10075030
add esp, 0xc
push eax
push esi
call fcn.100543a0
mov byte [esi + 0x9b], 0
add esp, 0x14
mov eax, dword [ebp + 0x20]
and eax, 0x80000
or eax, 0
jne 0x1005db06
mov eax, dword [ebx + 0x6c]
add eax, 2
push eax
push 0
push 0x31
push ebx
call fcn.1007a9c0
mov ebp, dword [esi + 8]
add esp, 0x10
test ebp, ebp
jne 0x1005dacb
cmp dword [esi + 0x78], ebp
jne 0x1005dac0
mov eax, dword [esi]
test byte [eax + 0x50], 8
jne 0x1005dac0
mov byte [esi + 0x17], 1
push esi
call fcn.1007aff0
add esp, 4
mov ebp, eax
mov ecx, dword [esi + 0x78]
test ecx, ecx
push 0xffffffffffffffff
push 0
push 0
push 2
cmovne esi, ecx
push 0x313
push 0x46
push ebp
mov byte [esi + 0x15], 1
call fcn.1007aa80
mov eax, dword [ebp + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x1005db06
lea ecx, [eax + eax*4]
mov edx, 4
mov eax, dword [ebp + 0x68]
mov word [eax + ecx*4 - 0x12], dx
test edi, edi
je 0x1005db30
mov ecx, dword [ebx + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1005db27
push edi
push ebx
push ecx
call fcn.100430f0
add esp, 0xc
pop edi
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edi*4], eax
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x10098fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push 0
push 0x14
mov dword [ebp], 0
call fcn.10065ae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10098fd5
lea eax, [esi + 7]
pop esi
pop ebp
ret
cmp byte [0x100bc0dc], 0
push ebx
push edi
je 0x10099028
mov eax, dword [0x100bc1d8]
test eax, eax
je 0x10098ff7
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x10099028
mov eax, dword [esp + 0x18]
lea ebx, [esi + 4]
push ebx
push 0
push esi
push 0x100765e0
lea edi, [esi + 8]
mov dword [edi], eax
mov eax, dword [esp + 0x2c]
push 0
push 0
mov dword [esi + 0xc], eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x1009903b
jmp 0x1009902e
lea edi, [esi + 8]
lea ebx, [esi + 4]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [edi], 0
jne 0x10099056
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [esp + 0x1c]
mov dword [ebx], eax
call dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x10], eax
pop edi
pop ebx
mov dword [ebp], esi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401cd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d28
cmp byte [esi + ebx - 1], 0xa
je 0x401cfc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4030f8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x402280
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x422413fe
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x711c4383
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x21db1a92
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x7db82490
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0xc2e262
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp]
lea esp, [esp + 3]
mov dword [esp], eax
push ecx
call fcn.00c2e1e5
mov dword [esp], edx
mov dword [esp + 8], edi
lea esp, [esp + 8]
jmp 0xc2e29a
push 0xf0c1f6e8
jmp 0xc2e284
pushfd
jmp 0xc2e26f
pop word [esp + 4]
lea esp, [esp + 0x15]
lea esp, [esp + 6]
jmp 0xc2e252

Function at 0xc2e27b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 8], esi
call 0xc2e262
lea eax, [eax + ecx]
mov ebp, 0x15f33b00
cpuid
dec esi
jmp 0xc2e452
mov ebp, dword [esp + 0x2c]
neg dh
jno 0xc2e361
jo 0xc2e2e3
add ecx, 0xd80b9ba3
jmp 0xc2ebf9
add ecx, 0x5e489bf6
jmp 0xc2ec79
lea eax, reloc.RASAPI32.dll_RasHangUpA
mov esi, 0xad6c89bf
rdtsc
jmp 0xc2e36e
lea eax, reloc.RASAPI32.dll_RasHangUpA
mov esi, 0xad6c89bf
rdtsc
jmp 0xc2e2c0
jg 0xc2e29d
jle 0xc2e29d
ror dx, cl
jbe 0xc2ec30
bswap edx
cmc
jmp 0xc2ec34
cmc
jmp 0xc2ec34
bswap edx
jmp 0xc2ec1a
mov ecx, dword [ecx + reloc.RASAPI32.dll_RasHangUpA]
mov edx, esi
mov dx, word [esp]
jmp 0xc2e2d7
call fcn.00c2ec81
mov esp, edi
neg dx
jg 0xc2ecb5
mov edx, eax
mov dx, 0xc52b
mov edx, dword [esp]
jmp 0xc2ecb9
setb dh
bsr edx, edx
jmp 0xc2ec9b
js 0xc2ec5e
jns 0xc2ec5e
mov dx, 0xc52b
mov edx, dword [esp]
jmp 0xc2ecb9
mov edx, eax
jmp 0xc2ec9f
push ecx
ret

Function at 0xc2e577
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp]
lea esp, [esp + 3]
mov dword [esp], eax
push ecx
call fcn.00c2e1e5
mov dword [esp], edx
mov dword [esp + 8], edi
lea esp, [esp + 8]
jmp 0xc2e29a
push 0xf0c1f6e8
jmp 0xc2e284
pushfd
jmp 0xc2e26f
pop word [esp + 4]
lea esp, [esp + 0x15]
lea esp, [esp + 6]
jmp 0xc2e252
Function at 0xc33055
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 3]
call 0xc32f56

Function at 0xc60ae2
Capabilities:
Encode data using base64

Disassembly:
mov byte [edx + 2], 0x3d
jmp 0xc605c5
cmp edi, 0x1a
jmp 0xc60b55
jb 0xc20749
jae 0xc60ab2
and esi, dword [ebp + reloc.RASAPI32.dll_RasHangUpA]
xor esp, dword [esi + reloc.RASAPI32.dll_RasHangUpA]
push edi
mov esi, 0xe24b2889
mov word [esp + 1], cx
lea esp, [esp + 4]
mov byte [edx + 1], cl
jmp 0xc60ac8
jae 0xc20799
lea ecx, [edi + 0x41]
jmp 0xc20775

Function at 0xc60b2e
Capabilities:
Encode data using base64

Disassembly:
call fcn.00c60bef
or al, 0x15
add cl, byte [edi - 0x7b097415]
jb 0xc207ea
inc edx
loop 0xc207f0
cmp dword [eax], ebx
jnp 0xc20801
clc
mov eax, dword [reloc.RASAPI32.dll_RasHangUpA]
not cx
jmp 0xc60b3a
lea esp, [esp + 4]
jae 0xc207af
jb 0xc60b18
lea ecx, [edi - 4]
jmp 0xc20775

Function at 0xc60b7c
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esi], reloc.RASAPI32.dll_RasHangUpA
sti
dec dword [ebp + reloc.RASAPI32.dll_RasHangUpA]
cld
sti
inc dword [ebx - reloc.RASAPI32.dll_RasHangUpA]
add esp, 0
cmp edi, eax
call fcn.00c60b98
add byte [eax], al
in eax, dx
jo 0xc60b56
xor dword [eax - 0x4d], reloc.RASAPI32.dll_RasHangUpA
ja 0xc60b6b
cld
iretd
mov word [esp], bx
jmp 0xc60b63

Function at 0xc60b98
Capabilities:
Encode data using base64

Disassembly:
lea ecx, [ecx*4 + 0x2b]
jmp 0xc20775
lea esp, [esp + 0x10]
setne cl
jmp 0xc60b82

Function at 0xc618c5
Capabilities:
Encode data using xor

Disassembly:
and ecx, ebx
and edx, ebx
call fcn.00c618ef
mov al, byte [edx]
nop
add byte [eax], al
add byte [edx + 0x2f79002], cl
ror byte [eax - 0x39], 0x57
test dword [edx], reloc.RASAPI32.dll_RasHangUpA
xor al, cl
jg 0xc618d1
js 0xc618cb
mov dword [eax - 0x31], edi
aad 0x44
Function at 0xcd10f1
Capabilities:
Execute anti-debugging instructions

Disassembly:
bsr di, sp
sub eax, edi
btc ecx, edx
xchg ecx, esi
jmp 0xcd1120
cpuid
rdtsc
not ch
mov esi, 0xf83d18dd
sub esp, 0xe
mov ch, 0xb
jmp 0xcd15b1
push eax
mov edi, 0xa5447a17
call fcn.00cd1194
mov ebp, dword [esp]
mov eax, ebp
mov byte [esp], cl
mov si, bx
mov al, byte [esp]
push di
jmp 0xcd1235
bsf eax, edx
btc edx, esp
xchg byte [esp], bl
xchg dword [esp], edi
pushal
mov di, word [esp + 0x1b]
jmp 0xcd11da
bswap edi
mov ax, cx
mov word [esp], dx
lea ebx, [ebx - 0x31]
xchg cl, ch
jmp 0xcd1244
mov al, 0xc4
cpuid
xchg byte [esp + 1], dh
mov al, 0xd
std
xchg edx, eax
jmp 0xcd121f
mov word [esp], bx
lea esp, [esp + 2]
lea esp, [esp]
mov ebp, 0xe5c491f6
lea edx, [ebx*4]
jmp 0xcd1295
pop ax
pop eax
rdtsc
btr cx, sp
or bl, 0x4f
pop word [esp + 5]
jmp 0xcd120b
xchg byte [esp + 4], dh
inc bx
mov eax, ebp
call fcn.00cd12c5
insd dword es:[edi], dx
imul esp, dword [ecx + ebp*2 + 0x53], 0x61657274
insd dword es:[edi], dx
dec edi
jo 0xcd12f4
outsb dx, byte [esi]
add byte [esi + 0x61], dh
mov al, byte [0xd58766e3]
xchg bp, dx
xchg cx, ax
mov cl, byte [esp]
lea esi, [eax*4]
sub esp, 0xd
pop word [esp + 7]
jmp 0xcd1275
invalid
xchg dword [esp], eax
mov ch, byte [esp]
cmp dx, cx
lea esp, [esp + 2]
sub esp, 0x13
xchg word [esp + 1], dx
jmp 0xcd1262
lea esp, [esp + 0x28]
cpuid
btr di, ax
mov byte [esp], bh
xchg si, ax
push word [esp + 1]
jmp 0xcd1307

Function at 0xcd1bf9
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, 0x81673047
lea esp, [esp + 4]
rdtsc
sub esp, 0xf
jmp 0xcd1bad
mov word [esp + 0xc], cx
push word [esp + 0x10]
push word [esp + 0x19]
pop edi
dec cl
rdtsc
jmp 0xcd1b6b
bsr ecx, edx
cpuid
bswap ebx
not di
std
lea esp, [esp + 0x27]
jmp 0xcd1bdc
btr cx, ax
mov word [esp + 0x24], dx
setnp ah
inc eax
mov ebx, ebp
bswap edi
jmp 0xcd1b97
mov cl, ah
mov di, dx
shr ebp, cl
not cl
lea ecx, reloc.RASAPI32.dll_RasHangUpA
bsf bx, bx
jmp 0xcd1b81
cpuid
call fcn.00cd1c0d
pop dword [esp]
mov dh, byte [esp]
add esp, 2
add ax, bp
mov dl, 0xe4
jmp 0xcd1c5a
mov dx, cx
push dword [esp + 0x1d]
mov bx, 0x7a03
lea eax, [esi*4]
jmp 0xcd1bc7
bsf ebx, edi
rdtsc
xchg byte [esp], cl
call fcn.00cd1c44
lea esp, [esp + 2]
lea esp, [esp + 0xc]
popal
clc
cld
cld
jmp 0xcd1cc6
popfd
jmp 0xcd2086
push 0x37e5645a
add dword [esp], reloc.RASAPI32.dll_RasHangUpA
call fcn.00cd202e

Function at 0xcd6699
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0xcd10cb
call 0xcd52ba
jmp 0xcd6423
pop eax
jmp 0xcd64ac
push eax
jmp 0xcd52b5
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0xcd6439
sub eax, 0x8d52ba
push eax
jmp 0xcd0f8d
lea esp, [esp + 0x18]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xcd6453
push bx
lea esp, [esp + 2]
mov dword [esp + 0x18], edi
jmp 0xcd65c0
Function at 0x4059c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42f008
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x43bb60]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CBrush.0
mov dword [esp + 0x30], 0
cmp dword [0x43ff0c], 7
jne 0x405a33
call fcn.00405f60
test eax, eax
jne 0x405a33
push 0xf
jmp 0x405a35
push 4
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
call edi
cmp dword [esp + 0x38], 0
jne 0x405a5a
fld qword [0x434b18]
sub esp, 8
mov ecx, eax
fstp qword [esp]
call fcn.00402620
add esp, 8
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.0040d748
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.0040d79b
cmp dword [0x43ff0c], 2
jl 0x405aa4
mov edx, dword [esi + 4]
push 0xf
push 2
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawEdge]
push 7
call edi
cmp dword [esp + 0x3c], 0
jne 0x405ac3
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
add edi, 4
add edx, 4
mov ecx, eax
call fcn.00405040
jmp 0x405ad8
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
add ecx, 4
push ecx
add ebx, 5
mov ecx, eax
mov edx, esi
call fcn.00404f30
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.0040d79b
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x405f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x138
mov eax, dword [0x43bb60]
xor eax, esp
mov dword [esp + 0x134], eax
cmp dword [0x43ffd8], 0
jne 0x406069
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push 0x80000001
mov dword [0x43ffd8], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406069
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40605f
mov edx, dword [str.Windows_Classic.theme]
mov eax, dword [0x433f40]
mov ecx, dword [0x433f44]
mov dword [esp + 0xc], edx
mov edx, dword [0x433f48]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov eax, dword [0x433f4c]
mov dword [esp + 0x1c], ecx
mov cx, word [0x433f50]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], cx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x40605d
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40605d
mov dword [0x43ffd4], 1
pop edi
pop esi
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x134]
mov eax, dword [0x43ffd4]
xor ecx, esp
call fcn.0041ac00
add esp, 0x138
ret

Function at 0x406f60
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 0x406f79
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406fb4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x406fb0
lea ebx, [ebx]
cmp esi, eax
jae 0x406fb4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406fa0
cmp esi, eax
jb 0x406fba
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4089b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ec48
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x43bb60]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.00411007
push eax
lea ecx, [esp + 0x30]
call fcn.0040d5a3
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.00411007
mov ecx, eax
call fcn.0040d3ac
cmp dword [esi + 0x178], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x408ad1
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x174]
call fcn.0040d510
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x184]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0040d748
test edi, edi
je 0x408a8b
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x178]
push edi
push eax
call fcn.0040d7cd
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x18c], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x178]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x174]
test edx, edx
je 0x408aee
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0040d5f7
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4