joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432b90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042d340
test eax, eax
je 0x432c7f
mov ecx, edi
call fcn.0042d340
mov ecx, eax
call fcn.0042a9b0
test eax, eax
jne 0x432c7f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x432c7f
mov eax, dword [0x4e4d78]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x432bf2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042d340
mov ecx, eax
call fcn.0042abe0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x432c7f
cmp ebx, eax
jne 0x432c7f
cmp dword [esp + 0x10], eax
jne 0x432c65
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4358c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46edd8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4358f9
inc eax
mov dword [esi + 0x10], eax
jmp 0x435a0c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43590d
mov eax, 0xffffffc7
jmp 0x435a0e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43591e
cmp dword [esi + 8], eax
jne 0x43590d
cmp dword [esi + 8], eax
jne 0x435937
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x435937
mov eax, 0xffffffc7
jmp 0x435a0e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43594b
push eax
mov ecx, ebx
call fcn.004350f0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401fe0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43597c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402000
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434860
test eax, eax
mov dword [esp + 0x38], eax
je 0x4359af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b9ab0
call fcn.004021e0
mov eax, dword [esp + 0x38]
jmp 0x435a0e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00435720
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4359f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00435740
mov esi, eax
test esi, esi
jne 0x435a23
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00435720
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4359c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b9ab0
call fcn.004021e0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b9ab0
call fcn.004021e0
mov eax, esi
jmp 0x435a0e

Function at 0x438c80
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x438ce0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x438ce0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x438ce0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x438ce0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x438d20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x47d430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x67000]
push edi
jmp 0x47d44a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47d451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d440
mov eax, 1
add ebx, ebx
jne 0x47d463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47d474
jne 0x47d493
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d493
dec eax
add ebx, ebx
jne 0x47d480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47d458
add ebx, ebx
jne 0x47d48f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47d4e5
xor ecx, ecx
sub eax, 3
jb 0x47d4ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47d51a
sar eax, 1
mov ebp, eax
jmp 0x47d4b6
add ebx, ebx
jne 0x47d4b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d484
inc ecx
add ebx, ebx
jne 0x47d4c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d484
add ebx, ebx
jne 0x47d4d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47d4c6
jne 0x47d4e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47d4c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47d504
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47d4f6
jmp 0x47d446
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47d504
add edi, ecx
jmp 0x47d446
pop esi
mov edi, esi
mov ecx, 0x2a04
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47d522
cmp byte [edi], 6
jne 0x47d522
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 0x47d527
lea edi, [esi + 0x7a000]
mov eax, dword [edi]
or eax, eax
je 0x47d59f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7d000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7d118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47d554
mov ecx, edi
jns 0x47d583
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 + 0x7d11c]
or eax, eax
je 0x47d599
mov dword [ebx], eax
add ebx, 4
jmp 0x47d571
call dword [esi + 0x7d12c]
mov ebp, dword [esi + 0x7d120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x47d5d3
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x403914
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x40e008], 0x8088405
inc edx
mov dword [ebx + 0x40e008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0xefe108
Capabilities:
Decompress data using aplib

Disassembly:
call 0xefe258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xefe12e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xefe11a
add dl, dl
jne 0xefe139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xefe18c
xor eax, eax
add dl, dl
jne 0xefe146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xefe22d
add dl, dl
jne 0xefe155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xefe160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xefe16b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xefe176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xefe182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xefe125
mov eax, 1
add dl, dl
jne 0xefe19a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xefe1a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xefe191
sub eax, ebx
mov ebx, 1
jne 0xefe1d8
mov ecx, 1
add dl, dl
jne 0xefe1be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xefe1c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xefe1b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xefe125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xefe1ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xefe1fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xefe1e6
cmp eax, 0x7d00
jae 0xefe21d
cmp eax, 0x500
jb 0xefe218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xefe125
cmp eax, 0x7f
ja 0xefe220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xefe125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xefe24e
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 0xefe125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.0040186f
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x40438d]
lea edx, [fcn.004018ec]
sub eax, edx
push eax
push fcn.004018ec
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x401337
push edi
call fcn.0040177b
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.004017c5
mov eax, edi
add eax, 0x1ca00
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x88]
mov edx, edi
dec edx
and eax, edx
push eax
lea eax, [0x4060e4]
lea ecx, [0x4060e4]
mov esi, edi
shl esi, cl
mov ebx, eax
add ebx, esi
push ebx
call fcn.004018ec
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40186f
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x118], 0
xor edi, edi
push 0
push 0
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0x114], 0xa
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10e]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringA
movsx edi, byte [ebp - 0x10e]
sub edi, 0x41
lea eax, [ebp - 0x120]
push eax
call sub.USER32.DLL_GetCursorPos
call sub.KERNEL32.dll_GetLastError
mov eax, edi
pop edi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x7b92040
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x4b3b1950
nop
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x402470
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x402479
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4024bc
mov eax, dword [ebp - 0xc]
jmp 0x402519
cmp dword [ebp - 4], 1
je 0x4024cf
cmp dword [ebp - 4], 2
je 0x4024cf
mov eax, 0xd
jmp 0x402519
cmp dword [ebp + 0xc], 0
je 0x40250d
cmp dword [ebp - 8], 0
je 0x402505
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4024fc
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x402503
mov eax, 0xd
jmp 0x402519
jmp 0x40250d
mov edx, dword [ebp + 0xc]
mov word [edx], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403d90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x419040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x42c], ecx
xor eax, eax
jne 0x403da9
cmp dword [ebp + 8], 0
jne 0x403df8
lea ecx, [ebp - 0x210]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x403de0
call fcn.00404070
jmp 0x403ed4
cmp dword [ebp - 0x428], 0x100
jbe 0x403df6
mov eax, 0x80020013
jmp 0x403ed4
jmp 0x403e21
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00403ff0
add esp, 0x10
cmp eax, 0x50
jne 0x403e21
mov eax, 0x80020013
jmp 0x403ed4
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0x416620
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x403e4a
call fcn.00404070
jmp 0x403ed4
mov word [ebp - 0x212], 0
push 0xffffffffffffffff
lea eax, [ebp - 0x418]
push eax
push 0x101
mov ecx, dword [ebp - 0x42c]
add ecx, 4
push ecx
call fcn.00403ff0
add esp, 0x10
mov dword [ebp - 0x424], 0xc
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 1
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x208], eax
push 0
lea ecx, [ebp - 0x424]
push ecx
push 0x2100
push 2
push 0
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 0x208]
push eax
mov ecx, dword [ebp - 0x42c]
add ecx, 4
push ecx
mov ecx, dword [ebp - 0x42c]
call fcn.00403ef0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413a25
mov esp, ebp
pop ebp
ret 8

Function at 0x403f50
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x403f59
mov ecx, dword [ebp - 8]
call fcn.00404110
cmp dword [ebp + 8], 0
jne 0x403f7c
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x403fc5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x403fa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
je 0x403fa7
mov eax, dword [ebp - 4]
push eax
call fcn.004040b0
add esp, 4
jmp 0x403fc5
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x403fc3
call fcn.00404070
jmp 0x403fc5
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x404790
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], 0x3c
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00413a40
add esp, 0xc
mov dword [ebp - 0x40], 0
push 0x105
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.00402820
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x104
push 0x105
mov ecx, dword [ebp - 0x44]
add ecx, 0xc
call fcn.00402820
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x104
lea ecx, [ebp - 0x3c]
push ecx
push 0x80000000
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov dword [ebp - 0x40], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.00402860
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
add ecx, 0xc
call fcn.00402860
mov eax, dword [ebp - 0x44]
mov cx, word [ebp - 0x24]
mov word [eax + 0x10], cx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.00402910
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret 4
Function at 0x406ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x419040]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.00406870
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.0040ce90
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.004071d0
lea ecx, [ebp - 0x438]
call fcn.0040ce90
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406c90
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x406f5e
call fcn.00404070
mov dword [ebp - 0x444], eax
jmp 0x4070b3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x406f8f
call fcn.00404070
mov dword [ebp - 0x444], eax
jmp 0x4070b3
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x406fbf
call fcn.00404070
mov dword [ebp - 0x444], eax
jmp 0x4070b3
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x40700f
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.004098c0
lea ecx, [ebp - 0x2c]
call fcn.004094b0
mov eax, dword [ebp - 0x44c]
jmp 0x4070e8
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.00409860
lea ecx, [ebp - 0x438]
call fcn.004098e0
test eax, eax
jne 0x40703c
mov dword [ebp - 0x444], 0x8007000e
jmp 0x4070b3
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.004098e0
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.00406870
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x40707e
call fcn.00404070
mov dword [ebp - 0x444], eax
jmp 0x4070b3
lea ecx, [ebp - 0x438]
call fcn.004098e0
mov ecx, dword [ebp - 0x43c]
mov word [eax + ecx*2], 0
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x438]
call fcn.004098e0
push eax
lea ecx, [ebp - 0x18]
call fcn.00407200
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x4070c3
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x450], ecx
lea ecx, [ebp - 0x438]
call fcn.004098c0
lea ecx, [ebp - 0x2c]
call fcn.004094b0
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00413a25
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408610
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x419040]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.0040ce90
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.004023f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x408670
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.00402390
mov eax, dword [ebp - 0x21c]
jmp 0x408701
mov dword [ebp - 4], 0x100
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4086d6
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x10]
call fcn.00408610
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4086cd
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.00402390
mov eax, dword [ebp - 0x220]
jmp 0x408701
mov dword [ebp - 4], 0x100
jmp 0x408677
lea ecx, [ebp - 0x10]
call fcn.004023b0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.00408540
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.00402390
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00413a25
mov esp, ebp
pop ebp
ret 4