joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020f50
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.100208c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10020f84
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x10033170]
call dword [ebp - 8]
jmp 0x10020f8e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x10020fa0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.100208e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10020fd8
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [0x10033170]
call dword [ebp - 8]
jmp 0x10020fe6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8
Function at 0x1002caf0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.100318f0
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x100440b0]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x1002ccc8
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x1002cc17
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x1002cc17
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x1002cbf5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x1002cb79
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1002cc81
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x1002cce8
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x1002ccc3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x1002cce8
jmp 0x1002cb52
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001dd0
mov esp, ebp
pop ebp
ret
Function at 0x1002cd00
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.100318f0
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x100440b0]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x1002ceeb
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x1002ce36
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x1002ce36
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x1002ce12
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x1002cd89
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1002cea4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x1002cf0b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x1002cee6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x1002cf0b
jmp 0x1002cd62
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001dd0
mov esp, ebp
pop ebp
ret
Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x40ed6e
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x40eae0
call fcn.0040ed93
dec esi
add esi, 0xf381cf2b
xor dword [edi], ecx
sub edx, esi
sub edx, 0x870810ce
inc edi
or esi, edx
add edx, edx
cmp edi, ebx
jne fcn.0040ed6e
ret

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

Disassembly:
pushal
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x403884
Capabilities:
Get file size

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x2000
mov esi, 0x4dc000
add eax, 0x3e8
push esi
push ebx
mov dword [0x46f540], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 3
push 0x80000000
push esi
call fcn.00407199
mov ebp, eax
mov dword [0x40c010], ebp
cmp ebp, 0xffffffff
jne 0x4038dd
mov eax, 0x409cb0
jmp 0x403adc
push esi
mov esi, 0x4cc000
push esi
call fcn.00407398
push esi
call fcn.0040758d
push eax
push 0x4e0000
call fcn.00407398
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [0x420150], esi
test esi, esi
je 0x403a09
mov ebx, dword [esp + 0x38]
cmp dword [0x46f548], 0
mov eax, 0x8000
mov edi, 0x200
cmovne edi, eax
cmp esi, edi
cmovb edi, esi
push edi
push 0x4201e8
call fcn.004035d7
test eax, eax
je 0x403acf
cmp dword [0x46f548], 0
jne 0x4039cb
push 0x1c
push 0x4201e8
lea eax, [esp + 0x20]
push eax
call fcn.00406ed8
test dword [esp + 0x18], 0xfffffff0
jne 0x4039d8
cmp dword [esp + 0x1c], 0xb405362c
jne 0x4039d8
cmp dword [esp + 0x28], 0x78a47133
jne 0x4039d8
cmp dword [esp + 0x24], 0x78a47132
jne 0x4039d8
cmp dword [esp + 0x20], 0x78a47131
jne 0x4039d8
mov eax, dword [0x420154]
or ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [0x46f548], eax
mov eax, ebx
and eax, 2
or dword [0x46f620], eax
cmp ecx, esi
ja 0x403ad7
mov eax, ebx
and al, 0xc
cmp al, 4
je 0x403a01
inc dword [esp + 0x10]
lea esi, [ecx - 4]
cmp edi, esi
jbe 0x4039d8
mov edi, esi
jmp 0x4039d8
test bl, 2
jne 0x4039d8
push 0
call fcn.00403820
pop ecx
cmp esi, dword [0x420150]
jae 0x4039f3
push edi
push 0x4201e8
push dword [esp + 0x1c]
call fcn.004076b7
mov dword [esp + 0x14], eax
add dword [0x420154], edi
sub esi, edi
jne 0x403917
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push 1
call fcn.00403820
cmp dword [0x46f548], 0
pop ecx
je 0x403ad7
test ebx, ebx
je 0x403a51
push dword [0x420154]
call fcn.004035ed
push 4
lea eax, [esp + 0x3c]
push eax
push dword [0x40c010]
call fcn.004071c6
test eax, eax
je 0x403ad7
cmp edi, dword [esp + 0x38]
jne 0x403ad7
push dword [esp + 0x2c]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x46f548]
mov esi, eax
add ecx, 0x1c
push ecx
call fcn.004035ed
push dword [esp + 0x2c]
xor ebx, ebx
push esi
push ebx
push 0xffffffffffffffff
call fcn.00403604
cmp eax, dword [esp + 0x2c]
jne 0x403ad7
test byte [esp + 0x18], 1
mov dword [0x46f550], esi
mov eax, dword [esi]
mov dword [0x46f54c], eax
je 0x403a9d
inc dword [0x46f544]
push 8
pop ecx
lea eax, [esi + 0x44]
lea eax, [eax - 8]
add dword [eax], esi
sub ecx, 1
jne 0x403aa3
push 1
push ebx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0x3c], eax
lea eax, [esi + 4]
push 0x40
push eax
push 0x46f560
call fcn.00406ed8
xor eax, eax
jmp 0x403adc
push 1
call fcn.00403820
pop ecx
mov eax, 0x409cc8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x1000ca40
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword gs:[esi], dword es:[edi]
push eax
sub byte [ebp - 0x67d22e72], al
test dword [esi + 0x32982dd1], ecx
imul edx, ebp, 0x8aff85e0
xlatb
jle 0x1000ca2c
xchg esi, eax
aam 0x1c
mov dl, 0xca
add eax, 0x359c3502
invalid
invalid
push edx

Function at 0x1000dd70
Capabilities:
Encode data using xor

Disassembly:
invalid
outsb dx, byte [esi]
and bh, cl
jno 0x1000dce8
mov edx, 0xa13ec941
sbb byte [edx], ch
js 0x1000dcf7
mov dword [esi - 0xdf9375f], eax
and edi, esp
dec edx
xchg byte [ecx + 0x21f206c8], ah
out 0x64, eax
dec edx
adc dword [ebx + 0xe4ca38], esi
pop ecx
xor byte [ebx - 0x26], ah
fcmovbe st(0), st(1)
jne 0x1000dda5
wait
jge 0x1000dd6d
call 0x9f6aa6d2
pop ebp
cwde
invalid
pop esi

Function at 0x1000def0
Capabilities:
Encode data using xor

Disassembly:
jl 0x1000df55
not dword [edx + 3]
cmp edx, esp
add ecx, dword [0xc607c26e]
jp 0x1000dee7
mov ch, 0x31
push ebp
int 0x24
xchg ecx, eax
in eax, 0x1e
pop ss
ja 0x1000dfb6
invalid
salc
cmp al, 0x4e
xchg esp, eax
sbb eax, 0x2b8d0c1d
invalid

Function at 0x1000df90
Capabilities:
Encode data using xor

Disassembly:
push ss
push ss
jmp 0x1000df8c
adc eax, 0x41712cf6
pop ecx
mov ah, byte [eax + 0x28545105]
pop edx
or byte [ecx], ah
loop 0x1000df25
stosb byte es:[edi], al
xchg esp, eax
invalid

Function at 0x1000ed20
Capabilities:
Encode data using xor

Disassembly:
fstp dword [eax - 0x3a]
sub ebp, dword [edx]
xor dh, ch
xchg esp, eax
sbb eax, dword [esi + 0x4e66e3a6]
jecxz 0x1000ed58
dec esi
mov ecx, 0xa1cdd83b
jb 0x1000ece5
or byte [esi + 0x68], bh
jbe 0x1000ed57
call [ecx - 0x57]
invalid

Function at 0x119bed04
Capabilities:
Encode data using xor

Disassembly:
jmp 0x119bed0e
pushal
call 0x119bed14
pop ebp
sub ebp, 0x10
sub ebp, 0x19bed04
mov al, byte [esp + 0x28]
cmp al, 1
je 0x119bed38
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x119bed41
mov eax, 0x19bed04
add eax, ebp
add eax, 0x63
mov ecx, 0x5b0
mov edx, 0x1005ccc9
xor byte [eax], dl
inc eax
dec ecx
jne 0x119bed58
jmp 0x119bed6b
inc edx
add al, 0x42
inc eax
cmc
leave
leave
leave
dec eax
or byte [ecx], dh
leave
leave
leave
retf 0x7104
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x1b510a7
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
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, 0x40031449
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401248
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x43c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 8]
push ecx
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push 0x400
push eax
mov byte [ebp - 0x805], 0
call fcn.004011f0
add esp, 0x14
test eax, eax
js 0x40131f
and dword [ebp - 0x80c], 0
lea eax, [ebp - 0x80c]
push eax
push 1
push 0
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40131f
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x810]
push eax
xor edi, edi
push edi
push ebx
push dword [ebp - 0x80c]
mov dword [ebp - 0x810], edi
mov dword [ebp - 0x814], edi
mov dword [ebp - 0x818], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401313
cmp dword [ebp - 0x810], 4
jne 0x401313
cmp dword [ebp - 0x814], edi
mov byte [ebp - 0x805], 1
setne al
mov dword [esi], eax
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x805]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e764
leave
ret

Function at 0x401f2d
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x43c50c], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x401f71
call ebx
test eax, eax
jns 0x401f67
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x43c508], eax
mov dword [0x43c50c], 1
mov eax, dword [0x43c508]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401f8d
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x401fbd
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x401fb3
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x401fa8
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x401fad
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x401fbc
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc
Function at 0x402136
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x432748
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
inc edi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4021a0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x432744
push dword [ebp - 4]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402197
cmp dword [ebp - 8], esi
jne 0x402197
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4030be
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4305a6
call fcn.0042e77a
mov edi, 0x200
push edi
call fcn.0042e6e8
pop ecx
mov dword [ebp - 0x18], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ebx, str.SoftwareAdobeAdobe_Acrobat11.0LanguageNext
push ebx
push SysReAllocString
call esi
test eax, eax
je 0x403151
lea eax, [ebp - 0x10]
push eax
push ebx
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call esi
test eax, eax
je 0x403151
lea eax, [ebp - 0x10]
push eax
push str.SoftwareAdobeAcrobat_Reader11.0LanguageNext
push SysReAllocString
call esi
test eax, eax
je 0x403151
lea eax, [ebp - 0x10]
push eax
push str.SoftwareAdobeAcrobat_Reader11.0LanguageNext
push ebx
call esi
test eax, eax
je 0x403151
lea eax, [ebp - 0x10]
push eax
push str.SoftwareAdobeAcrobat_Reader11.0LanguageCurrent
push ebx
call esi
test eax, eax
je 0x403151
or esi, 0xffffffff
push dword [ebp - 0x18]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
call fcn.0042e852
ret
mov esi, dword [ebp - 0x18]
push edi
xor ebx, ebx
push ebx
push esi
mov dword [ebp - 0x14], edi
call sub.MSVCR100.dll_memset
sub dword [ebp - 0x14], 2
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
shr eax, 1
cmp edi, ebx
jne 0x40313d
cmp dword [ebp - 0x1c], 1
jne 0x40313d
cmp eax, 4
jb 0x40313d
mov edi, dword [sym.imp.MSVCR100.dll__wcsicmp]
lea esi, [esi + eax*2 - 8]
push 0x432af4
push esi
call edi
pop ecx
pop ecx
test eax, eax
je 0x40321b
push 0x432aec
push esi
call edi
pop ecx
pop ecx
test eax, eax
je 0x40321b
movzx eax, word [esi]
mov edi, dword [sym.imp.MSVCR100.dll_iswalpha]
push eax
call edi
pop ecx
test eax, eax
je 0x40313d
movzx eax, word [esi + 2]
push eax
call edi
pop ecx
test eax, eax
je 0x40313d
movzx eax, word [esi + 4]
push eax
call edi
pop ecx
test eax, eax
je 0x40313d
cmp word [esi + 6], bx
jne 0x40313d
push esi
push 4
push dword [ebp + 8]
call fcn.00403054
test eax, eax
js 0x40313d
xor esi, esi
inc esi
jmp 0x403140
xor esi, esi
jmp 0x403140
Function at 0x4032b2
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x43c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.00402684
mov ebx, eax
cmp ebx, esi
je 0x403323
lea ecx, [ebp - 0x214]
call fcn.00402601
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e764
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x403341
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.004032b2
cmp eax, esi
jne 0x403388
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x40332b
lea ecx, [ebp - 0x214]
call fcn.00402601
push dword [ebp - 0x218]
mov ecx, edi
call fcn.00402591
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.00402601
mov eax, esi
jmp 0x403312

Function at 0x40385c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x40387b
xor eax, eax
jmp 0x4038a1
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x403222
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x40389e
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x404f96
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x43076e
call fcn.0042e819
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call fcn.004034ad
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x404fee
call fcn.0040210b
mov esi, eax
jmp 0x4050c4
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x405007
call fcn.0040210b
jmp 0x4050b6
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x404ffd
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x405041
mov esi, 0x8007000e
jmp 0x4050b8
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00403ddd
mov dword [ebp - 4], 1
jmp 0x40506f
cmp dword [ebp - 0x418], esi
je 0x40503a
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x404ffd
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.00404d75
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4050dd
lea ecx, [ebp - 0x418]
call fcn.00402ceb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00402c6d
mov eax, esi
call fcn.0042e875
ret 0x10

Function at 0x4053f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40545c
cmp dword [ebp + 0x10], 1
je 0x405434
cmp dword [ebp + 0x10], 2
je 0x405434
push 0xd
pop eax
jmp 0x40545c
mov eax, dword [ebp - 4]
test edi, edi
je 0x405456
test eax, eax
je 0x405451
test al, 1
jne 0x40542f
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x405456
jmp 0x40542f
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc