joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ca9f0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push ebp
xor edi, edi
call fcn.100a5cf0
push ebp
call fcn.100a5c10
mov esi, eax
add esp, 8
test esi, esi
je 0x100cabf9
push ebx
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 4]
add eax, eax
cmp eax, dword [esi + 8]
jg 0x100caa25
mov eax, esi
jmp 0x100caa2f
push eax
push esi
call fcn.100851e0
add esp, 8
test eax, eax
je 0x100cabf8
mov ebp, dword [ebx + 4]
dec ebp
js 0x100caba8
mov eax, dword [ebx]
mov edx, dword [eax + ebp*4]
mov ecx, edx
shr ecx, 1
mov eax, edx
and eax, 0x20000
and ecx, 0x8000
or ecx, eax
mov eax, edx
and eax, 0x40000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x80000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x100000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x200000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x400000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x800000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x1000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x2000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x4000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x8000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x10000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x20000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x40000000
shr ecx, 1
or ecx, eax
and edx, reloc.WS2_32.dll_accept
mov eax, dword [esi]
shr ecx, 1
or ecx, edx
shr ecx, 1
mov dword [eax + ebp*8 + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [eax + ebp*4]
mov edx, ecx
and edx, 0x8000
mov eax, ecx
add edx, edx
and eax, 0x4000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x2000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x1000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x800
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x400
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x200
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x100
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x80
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x40
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x20
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x10
or edx, eax
mov eax, ecx
add edx, edx
and eax, 8
or edx, eax
mov eax, ecx
add edx, edx
and eax, 4
or edx, eax
mov eax, ecx
add edx, edx
and eax, 2
or edx, eax
and ecx, 1
mov eax, dword [esi]
add edx, edx
or edx, ecx
mov dword [eax + ebp*8], edx
dec ebp
jns 0x100caa41
mov eax, dword [ebx + 4]
add eax, eax
mov dword [esi + 4], eax
test eax, eax
jle 0x100cabd1
mov ecx, dword [esi]
lea edx, [eax - 1]
lea edx, [ecx + edx*4]
lea esp, [esp]
mov ecx, dword [edx]
lea edx, [edx - 4]
test ecx, ecx
jne 0x100cabce
dec eax
test eax, eax
jg 0x100cabc0
mov dword [esi + 4], eax
cmp dword [esi + 4], edi
jne 0x100cabd9
mov dword [esi + 0xc], edi
push dword [esp + 0x1c]
push esi
push dword [esp + 0x1c]
call fcn.100c9b00
mov ebp, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
mov ecx, 1
cmovne edi, ecx
pop ebx
push ebp
call fcn.100a5ba0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x100cd3f0
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x100cd4dc
push edi
mov edi, dword [esp + 0x14]
inc edi
lea ebx, [ebx]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x100cd46e
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x100f9fa8]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x100f9fa8]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + 0x100f9fa8]
mov byte [eax + 2], cl
movzx ecx, byte [edx + 0x100f9fa8]
mov byte [eax + 3], cl
jmp 0x100cd4bf
shl edx, 0x10
cmp esi, 2
jne 0x100cd47e
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x100f9fa8]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x100f9fa8]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x100cd4ab
lea ecx, [esi + 0x3c]
jmp 0x100cd4b8
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + 0x100f9fa8]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
sub esi, 3
add eax, 4
add ebx, 4
add edi, 3
test esi, esi
jg 0x100cd410
pop edi
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
ret
mov byte [eax], bl
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x401a47
Capabilities:
Encode data using xor
Get session user name

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x411750], eax
push 1
push 0
push 0
push dword [0x411750]
call 0x401a47
push 0
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
push 0
push 0x401a65
push 0
push 0x6f
push dword [0x411750]
call sub.user32.dll_DialogBoxParamA
mov dword [0x411754], eax
push ebp
mov ebp, esp
push edi
cmp dword [ebp + 0xc], 0x110
jne 0x401ad2
mov eax, dword [ebp + 8]
mov dword [0x411754], eax
push 0x409ec5
call fcn.00401c75
push 0x40193d
push 0x29a
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x5a
push 0xc5
push 0
push 0x22b
push dword [ebp + 8]
call sub.user32.dll_SendDlgItemMessageA
push 0x4117ab
push 0x4117af
call sub.advapi32.dll_GetUserNameA
push 0x4117af
push 0x22b
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
jmp 0x401c08
cmp dword [ebp + 0xc], 0x10
jne 0x401ae4
push 0
call sub.kernel32.dll_ExitProcess
jmp 0x401c08
cmp dword [ebp + 0xc], 0x111
jne 0x401c08
mov eax, dword [ebp + 0x10]
cmp ax, 0x22b
jne 0x401be1
push 0x50
push 0x411758
push 0x22b
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
mov dword [0x411876], eax
cmp eax, 2
jl 0x401bb1
cmp eax, 0x38
ja 0x401bc8
push 0x406178
push dword [0x411876]
push 0x411758
call fcn.00401030
push 0x20
push 0x411758
call sub.user32.dll_CharUpperBuffA
mov esi, 0x411758
mov edi, esi
mov ecx, 0x20
call fcn.00401c11
std
mov esi, 0x41187a
mov edi, 0x411758
xor ebx, ebx
mov ecx, 0x1c
push ebp
mov eax, dword [esi + ebx]
mov edx, dword [edi + ebx]
xor eax, edx
rol eax, 8
xchg ah, al
mov dword [ecx + 0x4117b0], eax
add ebx, 4
sub ecx, 4
cmp ebx, 0x20
jne 0x401b6e
xor eax, eax
mov esi, 0x4117b0
xor ecx, ecx
call fcn.00401c1f
push 0x411830
push 0x22c
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
pop edi
leave
ret 0x10
push 0x401964
push 0x22c
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
pop edi
leave
ret 0x10
push 0x401979
push 0x22c
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
pop edi
leave
ret 0x10
cmp ax, 0x309
jne 0x401bee
jmp 0x401ad8
cmp ax, 0x3e7
jne 0x401c08
push 0
push 0x401a03
push 0x401993
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0x10

Function at 0x401c38
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, dword [0x41892c]
not eax
mov dword [0x41892c], eax
push eax
push dword [0x41193c]
test eax, eax
jne 0x401c61
push dword [0x418924]
call sub.winmm.dll_waveOutRestart
call sub.kernel32.dll_ResumeThread
jmp 0x401c71
call sub.kernel32.dll_SuspendThread
push dword [0x418924]
call sub.winmm.dll_waveOutPause
pop eax
neg eax
ret
Function at 0x402292
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x418918]
push ebx
cdq
idiv dword [0x418914]
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
cmp esi, ebx
mov edi, eax
jne 0x4022b4
xor al, al
jmp 0x40242a
movzx eax, byte [esi + 0x128]
or dword [esi + 0x150], 0xffffffff
or dword [esi + 0x14c], 0xffffffff
mov dword [esi + 0x12c], eax
movsx eax, word [esi + 0x24]
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x158]
cmp eax, ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x154], ebx
je 0x402308
push esi
call eax
pop ecx
movsx eax, word [esi + 0x26]
push eax
push esi
call fcn.0040210d
add esp, 8
movsx eax, word [esi + 0x14]
imul eax, eax, 0x2b
push edi
mov ecx, eax
mov edi, 0x4119b0
mov eax, ebx
rep stosd dword es:[edi], eax
pop edi
xor edx, edx
cmp word [esi + 0x14], bx
jle 0x402352
push ebp
mov ecx, 0x4119b4
mov eax, 0x4130d0
mov dword [ecx], eax
inc edx
movsx ebp, word [esi + 0x14]
add eax, 0x58
add ecx, 0xac
cmp edx, ebp
jl 0x40233d
pop ebp
lea eax, [edi + edi*2]
mov dword [0x411948], esi
mov esi, sub.kernel32.dll_GlobalAlloc
shl eax, 1
push eax
push 0x40
call esi
mov dword [0x413084], eax
mov eax, dword [0x418918]
mov edi, eax
shl edi, 2
push edi
push 0x40
call esi
or dword [0x418904], 0xffffffff
mov dword [0x4188f4], edi
mov edi, 0x4188f0
push 0x20
push edi
push dword [0x418924]
mov dword [0x418910], eax
mov dword [0x418900], 0xc
mov dword [0x4188f0], eax
mov dword [0x4188f8], ebx
mov dword [0x4188fc], ebx
call sub.winmm.dll_waveOutPrepareHeader
mov eax, dword [0x418918]
lea eax, [eax*8 + 0x100]
push eax
push 0x40
call esi
mov dword [0x418920], eax
add eax, 0xf
and al, 0xf0
mov dword [0x4188d0], eax
mov dword [0x411940], ebx
call fcn.00401ee3
cmp dword [0x411940], ebx
jne 0x4023e1
push 0x20
push edi
push dword [0x418924]
call sub.winmm.dll_waveOutWrite
mov byte [0x411938], bl
lea eax, [esp + 0x10]
push eax
push 2
push ebx
push 0x40205d
push ebx
push ebx
call sub.kernel32.dll_CreateThread
mov dword [0x41193c], eax
push 0xf
push dword [0x41193c]
call sub.kernel32.dll_SetThreadPriority
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..retplne
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x68c75cad
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x4304d8
mov ecx, 0x69f712cb
nop
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406c81
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x406cbf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406c95
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x406c90
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406cec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ccd
not eax
pop ebp
ret 0xc

Function at 0xe14a50
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe14a5a
pushal
call 0xe14a60
pop ebp
sub ebp, 0x10
sub ebp, 0xa14a50
jmp 0xe14a76
mov eax, 0xa14a50
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b6
mov edx, 0x3da66967
xor byte [eax], dl
inc eax
dec ecx
jne 0xe14a8d
jmp 0xe14aa0
in al, dx
stosb byte es:[edi], al
in al, dx
out dx, al
pop ebx
out 0xa6, al
lahf
stosb byte es:[di], al
fbld tbyte [eax + 0x67]
fisttp qword [bx + 0x67]
nop
test dword [edi + ebp*4 - 0x14], esp
out 0x6b, al
mov byte fs:[0x3ea], al
inc ebx
wait
out dx, al
arpl word [ebx - 0x16], ax
add eax, dword [ebx - 0x65]
out dx, al
arpl word [ebx + 0xf], ax
inc edi
jl 0xe14b1e
xorps xmm1, xmmword [bx + si - 0x19]
dec bx
inc ebx
invalid
in al, dx
jmp 0xe14b64
scasb al, byte es:[edi]
push esp
mov ch, 0xe4
invalid
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x2d29024d
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
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2f41918
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4018c0
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 0x4018d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4018ed
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40190e
cmp esi, eax
jae 0x4018e7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401900
cmp esi, eax
jae 0x4018e7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x408180
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x448c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x45abdc]
mov ecx, dword [0x45abd4]
imul eax, eax, 0x37
push ebx
push esi
mov esi, dword [0x45abe8]
imul esi, esi, 0x54
add esi, eax
mov eax, 0x3159721f
imul ecx
sar edx, 4
add esi, edx
push edi
mov edi, edx
mov eax, 0x63e7063f
imul ecx
sar edx, 5
mov ecx, edx
shr edi, 0x1f
add edi, esi
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [0x45abcc]
mov edx, ecx
imul edx, edx, 0x59
add edi, edx
mov eax, 0x63e7063f
imul ecx
sar edx, 5
mov esi, edx
add edi, edx
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr esi, 0x1f
shr eax, 0x1f
add eax, edx
mov edx, dword [0x570f4c]
add esi, edi
sub esi, eax
mov ecx, 0x570f4c
mov dword [str._r_____r____], esi
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [0x45abd8]
mov eax, dword [0x45abc8]
mov edx, dword [0x45abd0]
imul eax, eax, 0x37
mov esi, ecx
imul esi, esi, 0x52
add esi, eax
mov eax, 0x6bca1af3
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45abdc]
sub esi, eax
mov eax, 0x63e7063f
imul edx
sar edx, 5
mov eax, edx
mov edi, dword [0x45abe4]
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45abe8]
imul edx, edx, 0x54
sub esi, eax
add esi, edx
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [esp + 0x18], 0
add esi, eax
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
sub esi, edi
push ecx
sub esi, 0x10
lea ecx, [esp + 0x14]
mov dword [0x45abd0], esi
call fcn.00407ef0
mov ecx, dword [0x45abcc]
mov edx, dword [0x45abd0]
mov esi, dword [0x45abe4]
lea edi, [edx + ecx]
mov eax, 0x3159721f
imul edi, edi, 0x44
imul esi
sar edx, 4
mov ebx, edx
add edi, edx
mov eax, 0x63e7063f
imul esi
mov eax, dword [0x45abe0]
imul eax, eax, 0x21
sar edx, 5
mov esi, edx
shr ebx, 0x1f
shr esi, 0x1f
add ebx, edi
add ebx, edx
mov edx, dword [0x45abdc]
add esi, ebx
add esi, eax
shl edx, 4
add esi, edx
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov dword [0x45abdc], esi
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebx
jg 0x40834c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41a060
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x45c540]
xor eax, esp
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x130], eax
mov eax, dword [ebp]
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41a162
lea ecx, [esp + 0xc]
call fcn.00419f40
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
jne 0x41a166
lea edx, [esp + 0x1c]
push edx
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x41a13e
jmp 0x41a100
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.0041a060
mov edi, eax
test edi, edi
jne 0x41a18d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x41a100
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41a155
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41a171
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0042dfcd
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41a19c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x41a173
Function at 0x41a680
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x41a692
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x41e4d0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ecx, dword [0x45abd4]
mov eax, 0x3159721f
imul ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x63e7063f
imul ecx
mov ecx, dword [0x45abcc]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, dword [0x45abdc]
imul ebp, ebp, 0x37
mov edx, ecx
imul edx, edx, 0x59
sub ebp, eax
add ebp, edx
mov eax, 0x63e7063f
imul ecx
sar edx, 5
add ebp, edx
mov esi, edx
mov eax, 0x78787879
imul ecx
mov edi, dword [0x45abe8]
sar edx, 5
imul edi, edi, 0x54
shr esi, 0x1f
mov eax, edx
shr eax, 0x1f
add esi, ebp
add eax, edx
sub esi, eax
mov eax, dword [esp + 0x14]
add esi, ebx
add esi, edi
cmp eax, 0x132db2c
mov dword [str._r_____r____], esi
je 0x41e574
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x64
push 0x3e8
call edi
dec esi
jne 0x41e563
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ebp, dword [0x45abd0]
mov ecx, dword [0x45abc8]
mov edx, dword [0x45abe0]
add ecx, edx
mov eax, 0xb81702e1
imul ebp
add edx, ebp
sar edx, 6
shl ecx, 4
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov ecx, eax
mov eax, 0x94f2095
imul dword [0x45abe4]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x3e0f83e1
imul ebp
sar edx, 3
mov eax, ecx
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, ebp
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add ecx, eax
mov eax, dword [0x56ea0c]
mov edx, eax
inc eax
test edx, edx
mov dword [0x45abc8], ecx
mov dword [0x56ea0c], eax
jle 0x41e64d
mov ecx, dword [0x45abe0]
mov eax, dword [0x45abe4]
imul ecx, ecx, 0x59
shl eax, 4
add ecx, eax
mov eax, 0x94f2095
imul dword [0x45abd4]
sar edx, 1
add ecx, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, ecx
mov ecx, dword [0x45abcc]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
sub eax, edi
pop edi
sub eax, esi
pop esi
lea ecx, [eax + ebx + 0x4c]
pop ebp
mov dword [0x45abcc], ecx
mov eax, 1
pop ebx
ret
mov eax, dword [0x45abd8]
imul ecx, ecx, 0x37
mov esi, eax
cdq
imul esi, esi, 0x52
and edx, 0xf
add eax, edx
sar eax, 4
add esi, eax
mov eax, 0x6bca1af3
imul ebp
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x63e7063f
imul dword [0x45abdc]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [esp + 0x14]
push edx
push 0
sub esi, eax
add esi, ecx
mov ecx, dword [0x45abe4]
push 0
push 0x41dec0
sub esi, ecx
push 0
lea ecx, [esi + edi - 0x10]
push 0
mov dword [0x56e72c], 0
mov dword [0x45abd0], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x45abdc]
mov ecx, dword [str._r_____r____]
mov eax, dword [0x45abd8]
lea edi, [eax + ecx]
imul ecx, ecx, 0x53
mov edx, esi
imul edi, edi, 0x37
imul edx, edx, 0x59
add edi, edx
mov eax, 0x3159721f
imul esi
sar edx, 4
add edi, edx
mov ebx, edx
mov eax, 0xdd67c8a7
imul esi
add edx, esi
sar edx, 5
shr ebx, 0x1f
mov eax, edx
shr eax, 0x1f
add ebx, edi
add eax, edx
sub ebx, eax
mov eax, dword [0x45abe0]
pop edi
add ebx, eax
pop esi
lea ecx, [ecx + ebx - 0x10]
pop ebp
mov dword [0x45abd4], ecx
mov eax, 1
pop ebx
ret
Function at 0x4250ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x42510d
call fcn.00446103
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x42510d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x425103
xor eax, eax
jmp 0x425226
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x42513d
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x42513d
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x425223
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x42516a
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.0042584d
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x425223
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4251b3
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x4251b3
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x4251ad
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.0042584d
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x425213
and dword [ebp + 0xc], 0
jmp 0x425213
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x425213
push 0xc
call fcn.0043fd09
mov esi, eax
test esi, esi
pop ecx
je 0x4251f5
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x4251f7
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x42520e
push dword [ebp - 8]
call fcn.0043b754
jmp 0x425213
call fcn.0043b72b
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x425178
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42e53d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42e55d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004307ac
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x42e580
test byte [esp + 8], 2
je 0x42e580
call fcn.0043079a
mov dword [eax], 0xd
call fcn.004307a3
mov dword [eax], 5
jmp 0x42e559
xor eax, eax
ret