joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ad00
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4342b8]
call fcn.00444630
mov esi, eax
mov dword [ebx + 0x304], esi
mov edx, 0x10
mov eax, esi
call fcn.004448b0
mov edx, 0x10
mov eax, dword [ebx + 0x304]
call fcn.004448f4
mov dl, 1
mov eax, dword [0x41d2a0]
call fcn.004232dc
mov esi, eax
mov dword [ebx + 0x300], esi
mov ecx, 0x45ae50
mov edx, dword [0x478664]
mov eax, esi
call fcn.00423db8
mov eax, dword [ebx + 0x304]
call fcn.00444c84
mov dl, 1
mov eax, dword [0x41d2a0]
call fcn.004232dc
mov edi, eax
mov edx, 0x10
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 0x10
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor esi, esi
push 0xcc0020
push 0
mov eax, esi
shl eax, 4
push eax
mov eax, dword [ebx + 0x300]
call fcn.004238ac
call fcn.0041f3a0
push eax
push 0x10
push 0x10
push 0
push 0
mov eax, edi
call fcn.004238ac
call fcn.0041f3a0
push eax
call sub.gdi32.dll_BitBlt
xor ecx, ecx
mov edx, edi
mov eax, dword [ebx + 0x304]
call fcn.00444aa0
inc esi
cmp esi, 3
jne 0x45ad90
mov eax, edi
call fcn.004036bc
mov edx, dword [ebx + 0x304]
mov eax, dword [ebx + 0x2f8]
call fcn.0045a4a8
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x2f8]
call fcn.0045a4c4
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x2f8]
call fcn.0045a4c4
mov ecx, 2
mov edx, 2
mov eax, dword [ebx + 0x2f8]
call fcn.0045a4c4
mov eax, dword [0x477a54]
mov eax, dword [eax]
mov edx, dword [eax + 0x80]
mov eax, ebx
call fcn.00437a10
pop edi
pop esi
pop ebx
ret

Function at 0x45afac
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
test dl, dl
je 0x45afc6
add esp, 0xfffffff0
call fcn.004039f4
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x45b07c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x45b0ac
call fcn.00404564
mov eax, dword [ebp - 8]
call fcn.0040498c
mov edi, eax
push edi
push 0xffffffffffffffff
push 2
call sub.kernel32.dll_OpenFileMappingA
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
je 0x45b028
push 4
push 0
push 0
push 2
push esi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebx + 8], eax
cmp dword [ebx + 8], 0
jne 0x45b066
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [ebx + 4], eax
push edi
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
je 0x45b066
push 4
push 0
push 0
push 2
push esi
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x45b066
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [ebx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b083
lea eax, [ebp - 8]
call fcn.004044cc
ret
Function at 0x45b108
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov esi, edx
xor eax, eax
push ebp
push 0x45b239
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004044cc
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x477878]
mov eax, dword [eax]
call fcn.00457a18
mov eax, dword [ebp - 0x14]
call fcn.0040498c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jbe 0x45b21e
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45b217
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x477878]
mov eax, dword [eax]
call fcn.00457a18
mov eax, dword [ebp - 0x18]
call fcn.0040498c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45b201
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x45b248
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45b201
push esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
call fcn.00407220
movzx eax, ax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.00407220
movzx eax, ax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x30]
mov ecx, 2
mov eax, 0x45b254
call fcn.00409688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b21e
mov eax, dword [ebp - 8]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b240
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004044f0
ret
Function at 0x45cb18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45cd78
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x45cb7b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0045c5e0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ca50
cmp al, 1
jne 0x45cb7b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0045c8f8
test al, al
je 0x45cd07
cmp dword [ebp - 8], 0
jge 0x45cb99
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0045c5e0
mov eax, dword [ebp - 0x210]
call fcn.0040478c
cmp ebx, eax
jge 0x45cbe3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0045c5e0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x477a64]
and eax, 0xff
bt dword [edx], eax
jae 0x45cbe3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x45cbf7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045caf4
cmp ebx, dword [ebp - 8]
je 0x45ccf9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x45cc23
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038c4
and eax, 0x7f
movzx eax, word [eax*2 + 0x476e28]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x45cce6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038c4
and eax, 0x7f
movzx eax, word [eax*2 + 0x476e28]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043e104
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038c4
and eax, 0x7f
movzx eax, word [eax*2 + 0x476e28]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043e104
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cced
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x45cd5a
cmp dword [ebp - 8], 0
jge 0x45cd12
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0045c5e0
mov eax, dword [ebp - 0x218]
call fcn.0040478c
cmp eax, dword [ebp - 8]
jg 0x45cd4c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0045c5e0
mov eax, dword [ebp - 0x21c]
call fcn.0040478c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045caf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cd7f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004044f0
ret
Function at 0x4742bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040497c
xor eax, eax
push ebp
push 0x474361
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004030c8
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], bx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040498c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x47432b
xor ebx, ebx
jmp 0x47434b
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_WaitForInputIdle
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474368
lea eax, [ebp - 4]
call fcn.004044cc
ret

Function at 0x4744ac
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0040497c
xor eax, eax
push ebp
push 0x4745a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040498c
mov esi, eax
push esi
call sub.wsock32.dll_inet_addr
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x474529
push esi
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x474569
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call fcn.004046c4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408710
jmp 0x474569
push 2
push 4
lea eax, [ebp - 4]
push eax
call sub.wsock32.dll_gethostbyaddr
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x474551
push dword [ebp - 4]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 0x10]
call fcn.00409170
jmp 0x474569
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call fcn.004046c4
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.00408710
cmp dword [ebp - 4], 0xffffffff
jne 0x474578
mov eax, ebx
call fcn.004044cc
jmp 0x474582
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00404520
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4745ac
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004044f0
lea eax, [ebp - 8]
call fcn.004044cc
ret
Function at 0x4010c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x64
fldz
xor eax, eax
fstp dword [esp + 4]
push esi
mov word [esp + 4], ax
xor esi, esi
mov dword [esp + 0xc], esi
mov ecx, dword [0x425ac8]
mov dx, word [esp + 4]
mov dword [esp + 0x10], ecx
mov cx, word [esp + 4]
fild dword [esp + 0x10]
movsx eax, dx
movsx edx, cx
sub eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0x44
fild dword [esp + 0x10]
fadd dword [esp + 8]
fsubp st(1)
call fcn.0040b610
mov dword [0x425ac8], eax
mov ecx, 1
add dword [esp + 4], ecx
add dword [esp + 4], ecx
mov ax, word [esp + 4]
movsx edx, ax
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
fild dword [esp + 0x10]
mov dword [esp + 0x30], esi
fadd dword [esp + 8]
mov eax, dword [0x424a98]
add dword [0x424a98], ecx
add eax, 0x37accb62
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcompp
fnstsw ax
fld dword [esp + 8]
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 8]
test cl, ah
jne 0x4011ab
fsubr dword [0x423594]
fstp dword [0x423594]
fld dword [0x423594]
fsub qword [0x41f348]
fcomp qword [0x41f340]
fnstsw ax
test ah, 0x44
jp 0x4011ad
mov edx, dword [0x423230]
imul edx, edx, 0xee445f34
mov dword [0x423230], edx
jmp 0x4011ad
fstp st(0)
mov dx, word [0x42316c]
fld qword [0x424b08]
xor eax, eax
mov word [esp + 0x56], ax
movsx eax, dx
mov edx, dword [esp + 0xc]
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x50], ecx
lea edx, [esp + 0x24]
fild dword [esp + 0x10]
fsubp st(1)
fstp qword [0x424b08]
dec dword [esp + 0xc]
movzx eax, word [esp + 4]
mov word [esp + 0x54], cx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push esi
push esi
push 8
push esi
add eax, 0x74de6eac
push esi
mov dword [esp + 0x74], esi
mov word [esp + 0x20], ax
mov eax, dword [esp + 0x8c]
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop esi
add esp, 0x64
ret

Function at 0x4015d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
fldz
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0xc], 0
mov word [esp + 0xc], ax
fstp dword [esp + 0xc]
push edi
call fcn.0040b819
mov ebx, dword [esp + 0x18]
push edi
mov esi, eax
push ebx
push esi
call fcn.0040b8f0
mov eax, dword [0x4278c4]
sub eax, 0x423004
add edi, esi
add esp, 0x10
add eax, ebx
mov ecx, esi
cmp esi, edi
je 0x401622
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, edi
jne 0x401618
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
Function at 0x402620
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x154
mov eax, dword [0x4260c0]
xor eax, esp
mov dword [esp + 0x150], eax
fldz
push ebp
fst qword [esp + 0x14]
push esi
fst qword [esp + 0x20]
push 0x104
fstp qword [esp + 0x2c]
mov dword [esp + 0xc], 0
fldz
fstp dword [esp + 0x10]
call fcn.0040b819
add esp, 4
push 0
push 2
mov ebp, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x402815
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0x38], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40280e
push ebx
push edi
mov edi, ebp
lea ecx, [esp + 0x5c]
sub edi, ecx
mov ebx, 1
jmp 0x4026b0
fld qword [esp + 0x20]
mov edx, dword [0x424a14]
fadd qword [0x41f4d0]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmulp st(1)
call fcn.0040b610
mov dword [0x424a14], eax
fld qword [esp + 0x20]
fadd qword [0x41f350]
lea eax, [esp + 0x5c]
fstp qword [esp + 0x20]
mov cl, byte [eax]
mov byte [edi + eax], cl
add eax, ebx
test cl, cl
jne 0x4026e6
push ebp
call fcn.0041e8d3
mov ecx, dword [esp + 0x16c]
add esp, 4
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402723
test dl, dl
je 0x40271f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402723
add eax, 2
add ecx, 2
test dl, dl
jne 0x402703
xor eax, eax
jmp 0x402728
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40276f
fld qword [0x41f4c8]
fstp qword [esp + 0x28]
cmp dword [esp + 0x16c], eax
je 0x402808
mov eax, dword [esp + 0x40]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40276b
add dword [esp + 0x10], ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x18]
fld dword [0x42359c]
mov dword [esp + 0x38], 0x128
fsubr qword [0x41f4c0]
fcomp qword [0x41f4b8]
fnstsw ax
test ah, 0x41
jne 0x4027f3
fld dword [0x42357c]
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [0x42357c]
fld dword [0x42357c]
fsub dword [0x4238b8]
fld dword [esp + 0x14]
fadd qword [esp + 0x28]
fsub qword [0x41f4b0]
fcompp
fnstsw ax
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
test ah, 0x41
jne 0x4027f3
dec word [0x423584]
fld dword [esp + 0x14]
mov cx, word [0x423584]
fstp st(0)
fld qword [esp + 0x30]
mov edx, dword [0x423164]
add dword [0x423164], ebx
fstp st(0)
lea eax, [esp + 0x38]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4026b0
jmp 0x40280c
add dword [esp + 0x10], ebx
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call fcn.0040b6bb
mov ecx, dword [esp + 0x15c]
mov eax, dword [esp + 0xc]
add esp, 4
pop esi
pop ebp
xor ecx, esp
call fcn.0040bc94
add esp, 0x154
ret
Function at 0x402840
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
fst dword [esp + 8]
push edi
fstp dword [esp + 0x10]
fldz
push 3
push 0x425ee8
fstp qword [esp + 0x18]
call fcn.004015d0
mov ebx, dword [esp + 0x24]
mov edi, eax
push edi
push ebx
call fcn.0040c03e
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4028bb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push ebx
call fcn.0040c03e
fld dword [esp + 0x14]
fld dword [0x4238fc]
mov esi, eax
fsubr qword [0x41f4e0]
add esp, 8
fsubp st(1)
fstp dword [esp + 0xc]
fld dword [0x4238fc]
fsub qword [0x41f350]
fstp dword [0x4238fc]
test esi, esi
je 0x402906
fld qword [esp + 0x10]
mov ax, word [0x4230b4]
movsx ecx, ax
mov dword [esp + 0xc], ecx
push esi
push 1
fild dword [esp + 0x14]
lea edx, [esp + 0x28]
push 4
push edx
fsubp st(1)
fsub qword [0x41f4d8]
fmul qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fsub qword [0x41f350]
fstp qword [esp + 0x20]
call fcn.0040bef8
push esi
call fcn.0040bd1a
add esp, 0x14
mov ax, word [0x423210]
movsx ecx, ax
push edi
push 3
mov dword [0x424a38], ecx
call fcn.004025c0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x403920
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
fldz
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
push 0x200
xor eax, eax
mov word [esp + 0x14], ax
fst dword [esp + 0x18]
push ebx
fstp dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jl 0x40395b
lea ecx, [ecx]
cmp byte [eax + ebx], 0x5c
je 0x40395b
sub eax, 1
jns 0x403950
fld dword [0x4257e8]
xor ecx, ecx
fadd dword [esp + 0x18]
push 0x20
fsub qword [0x41f5a8]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [0x4257e8]
fsub qword [0x41f350]
fstp dword [0x4257e8]
mov byte [eax + ebx + 1], 0
fldz
mov dword [esp + 0x24], 0
mov word [esp + 0x24], cx
fstp dword [esp + 0x24]
call fcn.0040b819
push 0x20
mov ebp, eax
push 0x425a60
push ebp
call fcn.0040b8f0
mov eax, dword [0x4278c4]
sub eax, 0x423004
lea esi, [ebp + 0x20]
add esp, 0x10
add eax, 0x425a60
mov ecx, ebp
cmp ebp, esi
je 0x4039da
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, esi
jne 0x4039d0
movzx eax, word [esp + 0x10]
sub eax, 0x7038596c
mov word [esp + 0x10], ax
mov eax, ebp
mov esi, ebp
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4039f0
mov edi, ebx
sub eax, esi
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403a00
fldz
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [ebp + 0x18], eax
fstp dword [esp + 0x20]
push ebp
mov dword [ebp + 0x1c], eax
call fcn.0040b6bb
mov cx, word [0x4244e8]
fld dword [esp + 0x24]
mov edx, dword [0x425950]
movsx eax, cx
sub eax, edx
add esp, 4
add eax, 0x45f7d427
mov dword [esp + 0x20], eax
mov eax, ebx
lea ecx, [eax + 1]
fisub dword [esp + 0x20]
fstp dword [esp + 0x20]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403a70
fldz
sub eax, ecx
mov ebp, eax
xor eax, eax
mov dword [esp + 0x20], 0
mov word [esp + 0x20], ax
fstp dword [esp + 0x20]
push 0x10
sub ebp, 3
call fcn.0040b819
mov ecx, dword [0x4235f4]
mov dword [eax], ecx
mov edx, dword [0x4235f8]
mov dword [eax + 4], edx
mov ecx, dword [0x4235fc]
mov dword [eax + 8], ecx
mov edx, dword [0x423600]
mov dword [eax + 0xc], edx
mov ecx, dword [0x4278c4]
sub ecx, 0x423004
lea edi, [eax + 0x10]
add esp, 4
add ecx, 0x4235f4
mov esi, eax
cmp eax, edi
je 0x403aea
jmp 0x403ae0
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
inc ecx
cmp esi, edi
jne 0x403ae0
lea esi, [ebx + ebp]
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x403af1
fldz
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0x20], ecx
fstp dword [esp + 0x20]
mov dword [eax + 8], ecx
push eax
mov dword [eax + 0xc], ecx
call fcn.0040b6bb
mov ax, word [0x4244e8]
fld dword [esp + 0x24]
mov ecx, dword [0x425950]
cwde
add esp, 4
sub eax, ecx
add eax, 0x45f7d427
mov dword [esp + 0x20], eax
pop edi
pop esi
fisub dword [esp + 0x18]
pop ebp
pop ebx
fstp dword [esp + 0x10]
add esp, 0xc
ret
Function at 0x403f00
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
fldz
push ebx
xor eax, eax
fst dword [esp + 8]
push 0x2e
mov word [esp + 0xc], ax
fstp dword [esp + 8]
push 0x42362c
call fcn.004015d0
fld dword [0x42357c]
fadd qword [0x41f5e0]
add esp, 8
lea ecx, [esp + 0xc]
push ecx
fmul qword [0x4257f0]
mov ebx, eax
push ebx
push connect
fstp qword [0x4257f0]
fld dword [0x42357c]
fadd qword [0x41f350]
fstp dword [0x42357c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403fc1
push esi
push edi
push 0x34
push 0x4257a4
call fcn.004015d0
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403f81
sub eax, edi
push eax
push edx
mov edx, dword [esp + 0x1c]
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
push 0x34
call fcn.004025c0
fld qword [0x425940]
fsub qword [0x41f5d8]
add esp, 8
pop edi
pop esi
fadd dword [esp + 4]
fmul dword [esp + 4]
fstp dword [esp + 4]
push ebx
push 0x2e
call fcn.004025c0
mov eax, dword [0x423568]
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x234e1687
add esp, 8
mov dword [0x423568], eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dx, word [esp + 8]
dec dword [esp + 8]
movsx eax, dx
sub eax, 0x487e61cb
cmp eax, 0x82856bcf
pop ebx
jg 0x404028
fld dword [0x423234]
fsubr qword [0x41f5d0]
call fcn.0040b610
mov dword [0x425950], eax
fld dword [0x423234]
fsub qword [0x41f350]
fstp dword [0x423234]
add esp, 0xc
ret
Function at 0x404cd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov eax, dword [0x4260c0]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
fldz
mov esi, dword [esp + 0x74]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebp, dword [esp + 0x78]
mov edx, eax
add ecx, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
fst qword [esp + 0x14]
fldz
add ecx, ecx
shr edx, 0x1d
add ecx, ecx
or ecx, edx
lea edx, [eax*8]
mov dword [esp + 0x14], ebx
fstp dword [esp + 0x10]
mov eax, ecx
shr eax, 0x18
fstp qword [esp + 0x1c]
fld dword [0x423594]
mov byte [esp + 0x24], al
fsub qword [0x41f670]
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x25], al
fcomp qword [0x41f668]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x26], al
fnstsw ax
test ah, 1
jne 0x404d84
fld dword [0x424a94]
fadd qword [0x41f660]
fcomp qword [0x41f658]
fnstsw ax
fld dword [0x424a94]
fadd qword [0x41f350]
fstp dword [0x424a94]
test ah, 0x41
jne 0x404d84
mov dword [esp + 0x14], 0xa2dafc4e
mov byte [esp + 0x27], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x28], cl
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x29], al
mov eax, dword [esi]
mov ecx, edx
shr ecx, 8
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], dl
add dword [0x4259d8], 0x1dbeaf11
and eax, 0x3f
mov edi, 0x38
cmp eax, 0x38
jb 0x404dc5
mov edi, 0x78
push 0x40
lea edx, [esp + 0x30]
push ebx
push edx
sub edi, eax
call fcn.0040b750
push edi
lea eax, [esp + 0x3c]
push eax
push esi
mov byte [esp + 0x44], 0x80
call fcn.00404190
push 8
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.00404190
fld qword [0x41f650]
fld dword [0x41f648]
add esp, 0x24
fld1
add esi, 8
lea edi, [ebp + 2]
mov ebx, 8
jmp 0x404e12
fxch st(1)
fld dword [esp + 0x10]
fsub st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
fimul dword [esp + 0x14]
call fcn.0040b610
mov dword [esp + 0x14], eax
fld dword [esp + 0x10]
movzx eax, byte [esi + 3]
fsub st(3)
mov byte [edi - 2], al
mov cl, byte [esi + 2]
mov byte [edi - 1], cl
fstp dword [esp + 0x10]
mov edx, dword [esi]
fxch st(1)
shr edx, 8
mov byte [edi], dl
movzx eax, byte [esi]
mov byte [edi + 1], al
add esi, 4
add edi, 4
fst dword [esp + 0x10]
sub ebx, 1
jne 0x404e10
mov ecx, dword [esp + 0x6c]
fstp st(2)
pop edi
fstp st(1)
pop esi
fstp st(0)
pop ebp
pop ebx
xor ecx, esp
call fcn.0040bc94
add esp, 0x60
ret