joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb354
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5061ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x58]
mov esi, dword [ebp + 0x10]
push 0x4d723c
push eax
call fcn.0040e240
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 4], 0
push 0x4d7258
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004065e0
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00404890
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404850
add esp, 0x18
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x4058bc
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004066e0
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 0
push ecx
push eax
mov dword [ebp - 0x60], 0
call fcn.0040e300
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x405999
xor cl, cl
xchg byte [edi], cl
mov ecx, dword [0x50b538]
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 5
cmovae edi, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
cmovae esi, dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push esi
push 0x4d7260
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00404df0
add esp, 0x18
mov ecx, dword [ebp - 0x78]
or edi, 0xffffffff
add ecx, 0xfffffff4
mov byte [ebp - 4], 6
cmp ecx, dword [0x50b534]
je 0x40596c
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40596c
push ecx
call fcn.00433990
add esp, 4
mov esi, dword [ebp - 0x74]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esi, 0xfffffff4
mov byte [ebp - 4], 7
cmp esi, dword [0x50b534]
je 0x40599d
lock xadd dword [esi], edi
dec edi
test edi, edi
jg 0x40599d
push esi
call fcn.00433990
add esp, 4
jmp 0x40599d
mov al, 1
xchg byte [edi], al
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4059b2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004066e0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x4059db
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004066e0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x405a04
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004066e0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e386
mov esp, ebp
pop ebp
ret
Function at 0x40b660
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
xor bl, bl
mov eax, dword [edi]
sub eax, 0xc
push eax
call fcn.0048e3fb
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x40b728
mov ecx, 0xc
mov dword [ebp + 0xc], ecx
cmp dword [edi], ecx
jbe 0x40b708
add eax, 0xfffffff4
mov dword [ebp - 4], eax
nop dword [eax + eax]
movzx eax, word [esi + 0x18]
or eax, 2
mov edx, dword [esi + 0xc]
mov ebx, eax
xor ebx, 1
imul ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
shr ebx, 8
xor bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
movzx eax, bl
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [edx + eax*4]
xor eax, ecx
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x10], eax
movzx eax, al
add eax, dword [esi + 0x14]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x14], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp - 4]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov byte [eax + ecx], bl
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, dword [edi]
jb 0x40b6a0
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0048e404
mov eax, dword [ebp - 8]
add esp, 4
mov dword [ebx], eax
mov al, 1
add dword [edi], 0xfffffff4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40b740
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5061ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
xor cl, cl
cmp dword [ebp + 0xc], 0xc
jb 0x40b807
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x10]
push ebx
mov ebx, dword [esi + 0x14]
push edi
mov edi, dword [esi + 0x18]
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
movzx eax, word [esi + 0x18]
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov eax, dword [ebp - 0x14]
shr ecx, 8
xor cl, byte [ebp + eax - 0x10]
movzx eax, cl
xor eax, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 0xc]
movzx eax, al
shr edx, 8
xor edx, dword [ecx + eax*4]
movzx eax, dl
add eax, ebx
mov dword [esi + 0x10], edx
imul ebx, eax, 0x8088405
inc ebx
mov eax, ebx
mov dword [esi + 0x14], ebx
shr eax, 0x18
xor eax, edi
shr edi, 8
movzx eax, al
xor edi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x18], edi
mov byte [ebp + eax - 0x10], cl
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0xc
jl 0x40b783
mov eax, dword [ebp + 0x10]
shr eax, 0x18
cmp byte [ebp - 5], al
pop edi
pop ebx
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e386
mov esp, ebp
pop ebp
ret 0xc
mov al, cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048e386
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40be00
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push ebx
xor bl, bl
push esi
mov esi, ecx
test eax, eax
je 0x40bed5
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40be20
sub eax, edx
je 0x40bed5
push edi
call fcn.0048b7d0
mov ecx, dword [ebp + 8]
mov edx, ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x12345678
mov dword [esi + 0x14], 0x23456789
mov dword [esi + 0x18], 0x34567890
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40be55
sub edx, edi
mov dword [ebp - 8], 0
test edx, edx
jle 0x40beca
mov eax, dword [esi + 0x14]
mov edi, 0x34567890
mov ebx, dword [esi + 0x10]
mov dword [ebp - 4], eax
xor eax, eax
nop dword [eax]
movzx eax, byte [eax + ecx]
xor eax, ebx
shr ebx, 8
movzx ecx, al
mov eax, dword [esi + 0xc]
xor ebx, dword [eax + ecx*4]
movzx eax, bl
add eax, dword [ebp - 4]
imul eax, eax, 0x8088405
mov dword [esi + 0x10], ebx
inc eax
mov dword [esi + 0x14], eax
mov dword [ebp - 4], eax
shr eax, 0x18
xor eax, edi
shr edi, 8
movzx ecx, al
mov eax, dword [esi + 0xc]
xor edi, dword [eax + ecx*4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
inc eax
mov dword [esi + 0x18], edi
mov dword [ebp - 8], eax
cmp eax, edx
jl 0x40be80
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bf70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
mov byte [ebp - 1], 0
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40c002
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x40c002
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40c002
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x40c002
mov ecx, esi
call fcn.0040b5e0
cmp dword [esi + 4], 0
jne 0x40bfd1
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], ebx
mov dword [esi + 0xc], eax
mov ecx, esi
mov dword [esi], edi
call fcn.0040c010
test al, al
jne 0x40c005
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
pop edi
mov dword [esi], 0xffffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
xor cl, cl
mov byte [ebp - 1], cl
mov eax, dword [edi]
test eax, eax
je 0x40c1d2
cmp eax, 0xffffffff
je 0x40c1d2
cmp dword [edi + 4], 0
je 0x40c049
mov ecx, dword [edi + 0xc]
lea eax, [ecx - 0x16]
mov dword [edi + 8], eax
cmp eax, ecx
jb 0x40c056
mov dword [edi + 8], ecx
jmp 0x40c056
push 2
push 0
push 0xffffffffffffffea
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi]
xor ecx, ecx
mov dword [ebp - 8], ecx
push ebx
lea ebx, [edi + 0x20]
push esi
test eax, eax
je 0x40c0b6
cmp eax, 0xffffffff
je 0x40c0b6
cmp dword [edi + 4], ecx
je 0x40c0c7
mov eax, dword [edi + 4]
lea esi, [ecx + 0x16]
test eax, eax
je 0x40c0b6
lea edx, [ebp - 8]
xor eax, eax
test edx, edx
mov edx, dword [edi + 0xc]
cmovne ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [edi + 8]
cmp ecx, edx
jae 0x40c0b6
lea eax, [ecx + 0x16]
cmp eax, edx
jbe 0x40c09c
mov esi, edx
sub esi, ecx
mov eax, dword [edi + 4]
push esi
add eax, ecx
push eax
push ebx
call fcn.004a70c0
add dword [edi + 8], esi
lea eax, [ebp - 8]
add esp, 0xc
test eax, eax
jne 0x40c0da
mov ecx, edi
call fcn.0040b5e0
mov al, byte [ebp - 1]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 8]
push ecx
push 0x16
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [ebp - 8]
cmp esi, 0x16
jne 0x40c0b6
cmp dword [ebx], 0x6054b50
jne 0x40c0b6
mov eax, 0x3e8
cmp word [edi + 0x28], ax
jae 0x40c0bd
push dword [edi + 0x2c]
call fcn.004ad15e
mov dword [edi + 0x3c], eax
xor ecx, ecx
movzx eax, word [edi + 0x28]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048e3fb
add esp, 8
mov dword [edi + 0x38], eax
test eax, eax
je 0x40c0b6
cmp dword [edi + 0x3c], 0
je 0x40c0b6
mov eax, 0xffffffea
mov ecx, edi
sub eax, dword [edi + 0x2c]
push 2
push eax
call fcn.0040c2d0
push dword [edi + 0x2c]
mov ecx, edi
push dword [edi + 0x3c]
call fcn.0040c1e0
cmp eax, dword [edi + 0x2c]
jne 0x40c0b6
mov esi, dword [edi + 0x3c]
xor ecx, ecx
mov al, 1
xor ebx, ebx
mov byte [ebp - 1], al
cmp cx, word [edi + 0x28]
jae 0x40c1c7
mov eax, dword [edi + 0x38]
mov dword [eax + ebx*4], esi
cmp dword [esi], 0x2014b50
jne 0x40c1be
xor ecx, ecx
lea eax, [esi + 0x2e]
xor edx, edx
cmp cx, word [esi + 0x1c]
jae 0x40c192
nop dword [eax]
cmp byte [eax], 0x2f
jne 0x40c188
mov byte [eax], 0x5c
movzx ecx, word [esi + 0x1c]
inc edx
inc eax
cmp edx, ecx
jl 0x40c180
movzx eax, word [esi + 0x1e]
inc ebx
movzx ecx, word [esi + 0x20]
add ecx, eax
movzx eax, word [esi + 0x1c]
add eax, 0x2e
add esi, eax
movzx eax, word [edi + 0x28]
add esi, ecx
cmp ebx, eax
jl 0x40c161
mov al, byte [ebp - 1]
pop esi
pop ebx
mov byte [edi + 0x40], 0
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0040b5e0
xor al, al
pop esi
pop ebx
mov byte [edi + 0x40], 0
pop edi
mov esp, ebp
pop ebp
ret
mov al, cl
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40c1e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebx]
test eax, eax
je 0x40c26e
cmp eax, 0xffffffff
je 0x40c26e
push edi
cmp dword [ebx + 4], esi
je 0x40c257
mov eax, dword [ebx + 4]
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x40c26d
xor eax, eax
lea ecx, [ebp - 4]
test ecx, ecx
cmovne esi, eax
mov dword [ebp - 4], esi
test edi, edi
je 0x40c26d
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
cmp ecx, edx
jae 0x40c26d
lea eax, [ecx + edi]
cmp eax, edx
jbe 0x40c22e
mov edi, edx
sub edi, ecx
mov eax, dword [ebx + 4]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004a70c0
add dword [ebx + 8], edi
lea eax, [ebp - 4]
add esp, 0xc
test eax, eax
je 0x40c26d
mov esi, edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40e300
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.004a7c50
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x400
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], 0xa
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x40e363
lea eax, [ebp - 0x3c]
mov dword [ebp - 8], ecx
push eax
mov dword [ebp - 0x38], 0x200400
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x40e37a
push 1
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
or dword [ebp - 0x38], 0x200000
mov dword [ebp - 8], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret

Function at 0x411b30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5061ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], 0
call fcn.004a7c50
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x411ba4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e386
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404a20
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048e386
mov esp, ebp
pop ebp
ret
Function at 0x411bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc0e9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5061ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x411c27
mov eax, dword [esi]
jmp 0x411c29
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ecx
push eax
push ecx
push 0x2001f
push ecx
push ecx
push ecx
push dword [ebp + 0x10]
mov dword [ebp - 0x1c], 1
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x411cd2
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 0
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411cc9
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048e3fb
add esp, 4
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411cc0
push edi
mov ecx, esi
call fcn.004119e0
push edi
call fcn.0048e404
add esp, 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413080
Capabilities:
Initialize winhttp library
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc358
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5061ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00413b50
mov ecx, esi
call fcn.00414fb0
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__WOW64__Trident_7.0__rv:11.0__like_Gecko
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x413105
push 0x1388
push 0x7530
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
push 0
push 0x50
push dword [section..data]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
jne 0x413118
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x38]
mov dword [esi + 0x10], edi
mov al, 1
xchg byte [ecx], al
lea ecx, [esi + 0x39]
xor al, al
xchg byte [ecx], al
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4143c0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esi
push eax
call fcn.00412740
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
call fcn.004125e0
mov eax, dword [ebp - 0x10]
add esp, 0x10
test eax, eax
je 0x413169
push 8
push eax
call fcn.0048e3ca
add esp, 8
cmp dword [esi + 0x34], 0
je 0x413174
call fcn.004ad470
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x34], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4199c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccd01
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5061ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [ebp + 8], eax
test eax, eax
je 0x419a58
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x11
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0xa
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x10], 0x3f400000
mov dword [eax + 0x14], 0x3e800000
mov dword [eax + 0x18], 0x40100000
mov dword [eax + 0x1c], 0x26
mov dword [eax + 0x20], 0
mov dword [eax], vtable.DM::DUITimer.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41b700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccd01
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5061ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [ebp + 8], eax
test eax, eax
je 0x41b7b8
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x11
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0xa
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x10], 0x3f400000
mov dword [eax + 0x14], 0x3e800000
mov dword [eax + 0x18], 0x40100000
mov dword [eax + 0x1c], 0x26
mov dword [eax + 0x20], 0
mov dword [eax], vtable.DM::DUISkinPool.0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x41b7d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccd01
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5061ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [ebp + 8], eax
test eax, eax
je 0x41b868
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x11
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0xa
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x10], 0x3f400000
mov dword [eax + 0x14], 0x3e800000
mov dword [eax + 0x18], 0x40100000
mov dword [eax + 0x1c], 0x26
mov dword [eax + 0x20], 0
mov dword [eax], vtable.DM::DUIStylePool.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41ca50
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccf48
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5061ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.DM::DMHWnd_XmlInfo.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 8], 0xc8
mov dword [esi + 0xc], 0xc8
mov word [esi + 0x30], 0
mov byte [esi + 0x32], 0xff
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0x64
mov dword [esi + 0x3c], 0x64
mov ecx, dword [esi + 0x4c]
or edi, 0xffffffff
sub ecx, 0xc
mov dword [ebp - 4], 0
cmp ecx, dword [0x50b534]
je 0x41caf1
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41caf1
push ecx
call fcn.00433990
add esp, 4
mov ecx, dword [esi + 0x48]
sub ecx, 0xc
mov dword [ebp - 4], 1
cmp ecx, dword [0x50b534]
je 0x41cb1a
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41cb1a
push ecx
call fcn.00433990
add esp, 4
mov ecx, dword [esi + 0x44]
sub ecx, 0xc
mov dword [ebp - 4], 2
cmp ecx, dword [0x50b534]
je 0x41cb43
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41cb43
push ecx
call fcn.00433990
add esp, 4
mov eax, dword [esi + 0x40]
sub eax, 0xc
mov dword [ebp - 4], 3
cmp eax, dword [0x50b534]
je 0x41cb6a
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41cb6a
push eax
call fcn.00433990
add esp, 4
mov dword [esi], vtable.DM::DMRefNum.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41e020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd041
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5061ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor bl, bl
cmp dword [ebp + 8], 9
jne 0x41e0df
mov esi, dword [0x50b6c4]
cmp dword [esi + 0x254], 0
jne 0x41e090
lea ecx, [esi + 0x258]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
test ecx, ecx
je 0x41e081
call fcn.00426670
jmp 0x41e083
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x254], eax
push dword [edi + 4]
mov ecx, dword [esi + 0x254]
call fcn.00426a10
test eax, eax
je 0x41e0b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x88]
test al, 2
jne 0x41e0df
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
movzx eax, bl
mov ecx, 1
cmove eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4