joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007f27
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10007fc4
push ebx
push esi
call fcn.10007ef0
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10007e84
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10007f71
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10007fc3
push edi
push eax
call fcn.100092e3
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10007f91
call fcn.10005696
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10007fc2
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10007e84
add esp, 0x20
test eax, eax
jne 0x10007fb0
push edi
call fcn.10005696
jmp 0x10007fb8
push ebx
call fcn.10005696
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10008632
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010550
push 0x10010548
push str.FlsAlloc
push 0x1f
call fcn.100084f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008666
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f12c]
call esi
jmp 0x1000866c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100086b0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010560
push 0x10010558
push str.FlsGetValue
push 0x21
call fcn.100084f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100086e7
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f12c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100086ef
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010568
push 0x10010560
push str.FlsSetValue
push 0x22
call fcn.100084f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008729
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000f12c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000e990
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000e9bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000e9bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40de38
mov ecx, 0x5c42751
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x10b31eb5
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x468b3c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004689b3

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

Disassembly:
pushal
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x23ba0b3d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
xor dword [eax], ecx
nop
nop
nop
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
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x42f314
mov ecx, 0x4b976d6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401cce
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x425124]
push edi
mov edi, ecx
push str.Py_Initialize
push edi
call esi
push str.PySys_SetArgv
push edi
mov ebx, eax
call esi
push str.PyRun_SimpleString
push edi
mov dword [ebp - 0x18], eax
call esi
push str.Py_Finalize
push edi
mov dword [ebp - 0x10], eax
call esi
push str.Py_BuildValue
push edi
mov dword [ebp - 0x14], eax
call esi
push str.PyCFunction_New
push edi
mov dword [ebp - 0xc], eax
call esi
push str.PyArg_ParseTuple
push edi
mov dword [ebp - 0x1c], eax
call esi
push str.PyErr_Format
push edi
mov dword [ebp - 8], eax
call esi
xor esi, esi
cmp ebx, esi
je 0x401ead
cmp dword [ebp - 0x18], esi
je 0x401ead
cmp dword [ebp - 0x10], esi
je 0x401ead
cmp dword [ebp - 0x14], esi
je 0x401ead
cmp dword [ebp - 0xc], esi
je 0x401ead
cmp dword [ebp - 8], esi
je 0x401ead
cmp eax, esi
je 0x401ead
cmp dword [ebp - 0x1c], esi
je 0x401ead
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x401ea6
cmp byte [eax], 0
je 0x401ea6
push esi
push eax
call fcn.004212cf
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x401dcb
push dword [ebp + 8]
push str.Could_not_open_postinstall_script__s_n
call fcn.0040891e
add eax, 0x40
push eax
call fcn.00408778
add esp, 0xc
push 3
pop eax
jmp 0x401eb0
push str.Running_Script...
push 0x3ec
push dword [0x432818]
call dword [0x425294]
call ebx
mov eax, edi
call fcn.00401bbf
push 0x400
push esi
mov esi, 0x4302a8
push esi
call fcn.004076c0
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
jle 0x401e2b
mov edi, dword [ebp + 0x10]
mov ebx, esi
sub ebx, edi
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
test eax, eax
je 0x401e1e
push eax
call fcn.004016b1
pop ecx
jmp 0x401e20
xor eax, eax
mov dword [ebx + edi], eax
add edi, 4
dec dword [ebp - 0xc]
jne 0x401e0f
push esi
push dword [ebp + 0xc]
call dword [ebp - 0x18]
xor esi, esi
cmp dword [ebp + 0xc], esi
pop ecx
pop ecx
jle 0x401e53
mov eax, dword [esi*4 + 0x4302a8]
test eax, eax
je 0x401e4d
push eax
call fcn.00407f30
pop ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x401e3b
push 3
pop ebx
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 8]
call fcn.00408421
pop ecx
pop ecx
test eax, eax
jne 0x401e96
mov edi, dword [ebp - 0x38]
lea eax, [edi + 5]
call fcn.00408ae0
mov esi, esp
push edi
push esi
push dword [ebp - 8]
call fcn.00421f65
add esp, 0xc
test eax, eax
jle 0x401e96
add eax, esi
push esi
mov byte [eax], 0xa
mov byte [eax + 1], 0
call dword [ebp - 0x10]
pop ecx
mov ebx, eax
call dword [ebp - 0x14]
push dword [ebp - 8]
call fcn.0041524b
pop ecx
mov eax, ebx
jmp 0x401eb0
push 2
jmp 0x401dc5
xor eax, eax
inc eax
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407875
leave
ret
Function at 0x436c20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x47c
push ebx
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], bl
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x88]
mov dword [esp + 0x1c], 0
push eax
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
push str.C:Windows
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x43ca74], eax
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [0x43ca78], ecx
cmp dword [ecx], 0x4550
jne 0x436fd5
xor edx, edx
push ebp
mov dx, word [ecx + 0x14]
push esi
mov esi, edx
mov edx, dword [0x43ca64]
mov edi, ecx
lea edx, [edx + edx*4]
add edi, esi
lea esi, [edi + edx*8 + 0x18]
mov edx, dword [0x43c030]
mov edi, edx
inc edx
cmp edi, 1
mov dword [0x43ca7c], esi
mov dword [0x43c030], edx
jne 0x436d9d
mov edx, 0x436c00
sub edx, eax
mov dword [0x43ca5c], edx
xor edx, edx
mov dx, word [ecx + 6]
mov dword [0x43ca80], edx
mov edi, dword [ecx + 0x80]
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0x14], edi
mov edi, dword [ecx + 0xa0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edi
xor edi, edi
test edx, edx
jmp 0x4411ed
jmp 0x21413e1
pop edi
xor eax, eax
pop ebx
add esp, 0x47c
ret

Function at 0x4373d6
Capabilities:
Terminate process

Disassembly:
cmp dword [0x43cbb0], 2
je 0x4373e4
jmp 0x440941
push dword [esp + 4]
call fcn.00438769
pop ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x438769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43c190
cmp edx, dword [eax]
je 0x43878b
add eax, 8
inc ecx
cmp eax, 0x43c220
jl 0x43877c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43c190]
jne 0x4388b9
mov eax, dword [0x43cbb0]
cmp eax, 1
je 0x438893
test eax, eax
jne 0x4387bc
cmp dword [0x43c0e4], 1
je 0x438893
cmp edx, 0xfc
je 0x4388b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4387f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00439670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00439490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x438836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00439490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43b45c
push edi
call fcn.00439f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00439670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00439680
lea eax, [ebp - 0xa0]
push 0x43b43c
push eax
call fcn.00439680
push dword [esi + 0x43c194]
lea eax, [ebp - 0xa0]
push eax
jmp 0x441714
lea eax, [ebp + 8]
lea esi, [esi + 0x43c194]
push 0
push eax
push dword [esi]
call fcn.00439490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x639a8d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp], edx
dec bp
lea ebp, [esp + 0x1c]
inc ah
lahf
shld ax, dx, cl
pushal
mov eax, dword [ebp]
mov dword [esp + 0x14], 0x9ec2b8ec
jmp 0x6ded49
test eax, eax
push dword [esp + 4]
push esp
mov byte [esp + 8], 0x2f
lea esp, [esp + 0x28]
je fcn.006e212d
btr si, 0xc
bsf si, ax
movzx si, dl
mov esi, dword [eax + 0x3c]
mov dx, 0xc395
jmp 0x75bcea
pushal
lea esp, [esp + 0x24]
je fcn.006e212d
xor cx, si
bsf cx, si
add ecx, 0x3ff5e96b
add edx, eax
rcl cx, 5
cmp cl, al
adc ecx, 0xe3da4922
mov ecx, dword [esi + 0x7c]
pushfd
stc
add ecx, edx
call fcn.0063ba79
pop ss
aad 0x38
mov esp, 0x6fc8d1c2
xor bl, byte [edx]
wait
add eax, 0xce2537a9
inc eax
inc esp
rcl cl, cl
outsd dx, dword [esi]
inc ebp
insd dword es:[edi], dx
inc eax
pushfd
shl bh, cl
mov ah, 0xad
dec esp
and cl, dh
fild word [ebx]
pop ds
add dh, byte [esi - 0x6b]
in eax, dx
xor byte [edi + ebx - 0x51], ch
out dx, al
jle 0x6df565
dec ecx
invalid
or eax, dword [ebp*4 - 0x154b4c28]
leave
lahf
lds edx, [ecx - 0x2bd3afb9]
sbb bh, byte [ecx + eax]
jno 0x6df58d
nop
clts
dec ebx
sub byte [ebx + esi], 0x9e
test eax, 0x470c5dcc
fldenv [edx]
loope 0x6df584
adc eax, 0xad343377
sal byte [edx - 0x3b3159e1], 0xe1
sbb al, 0x1a
jecxz 0x6df4f3
invalid
fild word [edx - 0x534964e1]
add dword [esi - 0x4d], ebp
stc
scasb al, byte es:[edi]
xor eax, 0x8b445fe7
push edi
mov dh, 0x5a
aam 0x8e
test byte [ebp - 0x13ebf660], cl
stc
out dx, al
push ss
mov edi, 0xc5cfda5b
and dword [esi + 0x72], esi
pop dword [ebp + 0x4f]
pop edx
std
salc
xchg dword [edi], ebx
sar dword [ebx], 1
add esi, eax
clc
mov edx, dword [esi + 0x78]
pushfd
test edx, edx
mov byte [esp], cl
jmp 0x6df4d0

Function at 0x639c72
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [edi], 0x23
push dword [esp]
pushal
push edi
pushfd
lea esp, [esp + 0x30]
jne 0x637658
cmp eax, 0x206604f5
xor ah, cl
xor edx, edx
aam 0xc1
bts ax, ax
cmp ax, 0xb942
lahf
mov eax, edx
push 0xf0522dc7
call fcn.006dc36d

Function at 0x63b75f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x14]
jbe 0x6dcf1d
shrd di, ax, 4
mov edi, dword [edx + 0x24]
sbb si, sp
neg si
btc si, 0xa
or esi, 0x99143d3f
add edi, eax
movsx si, cl
pushfd
mov esi, dword [edx + 0x20]
push edx
mov word [esp + 4], 0xd484
add esi, eax
cmp edx, 0x7419ca3
sub ecx, ecx
sub esp, 0xfffffff8
stc
clc
push esp
sub ecx, dword [edx + 0x10]
mov byte [esp], bl
pushfd
call fcn.0063d9f5
push 0x249db110
call fcn.0075cf13
jecxz 0x6dcf2c
arpl bx, ax
Function at 0x10001050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
mov eax, edx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 4]
mov dword [ebp - 8], eax
push edx
push 0
push 0xf013f
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000109b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100010dc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x100010e0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1ff
lea eax, [ebp - 0x477]
mov byte [ebp - 0x478], 0
push 0
push eax
call fcn.100021e0
push 0x1ff
lea eax, [ebp - 0x277]
mov byte [ebp - 0x278], 0
push 0
push eax
call fcn.100021e0
add esp, 0x18
lea eax, [ebp - 0x480]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1000125a
lea eax, [ebp - 0x478]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x278]
push 0x200
push eax
call fcn.10001dc7
movdqa xmm0, xmmword [0x10013630]
lea eax, [ebp - 0x78]
movdqu xmmword [ebp - 0x78], xmm0
push eax
movdqa xmm0, xmmword [0x10013620]
lea eax, [ebp - 0x278]
movdqu xmmword [ebp - 0x68], xmm0
push 0x200
movdqa xmm0, xmmword [0x100135f0]
push eax
movdqu xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x736a2e
call fcn.10001dc7
add esp, 0x18
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000125a
push 0x100134f8
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.1000192b
mov edx, dword [ebp - 0x47c]
add esp, 0xc
test edx, edx
je 0x1000125a
movdqa xmm0, xmmword [0x10013600]
lea ecx, [ebp - 0x44]
movdqu xmmword [ebp - 0x44], xmm0
push esi
movdqa xmm0, xmmword [0x100135b0]
lea esi, [ecx + 1]
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], 0x3337372e
movdqa xmm0, xmmword [0x10013570]
movdqu xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x10], 0x6f632e6a
mov dword [ebp - 0xc], 0x3b29226d
mov byte [ebp - 8], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001235
push edx
sub ecx, esi
lea eax, [ebp - 0x44]
push ecx
push 1
push eax
call fcn.10001c08
push dword [ebp - 0x47c]
call fcn.10001e96
add esp, 0x14
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001658
mov esp, ebp
pop ebp
ret
Function at 0x407af8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push 0
push 0
push 0
cld
call dword es:[sym.imp.KERNEL32.dll_GetShortPathNameW]
sub eax, 3
mov edx, dword [ecx]
imul eax, edx
cmp al, 0x7c
je 0x407b4a
lea eax, [esp + 4]
push eax
push esp
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
cmp eax, dword [edx + ebp]
je 0x407b8d
mov eax, 0x407b45
lea eax, [edx + eax]
push ebp
push eax
inc eax
add byte [ebp + 0x50550204], cl
push 0
call sub.KERNEL32.dll_EnumResourceTypesW
test eax, eax
jne 0x407b63
jmp 0x407b8d
cmc
nop
mov eax, esp
lea eax, [eax + 8]
mov ecx, eax
or eax, dword [ecx]
and eax, dword [ecx]
cld
or eax, 7
xchg dword [esp + 0xc], edx
lea eax, es:[eax + 0x789692]
xchg edx, eax
xchg esi, eax
js 0x407b67
sub eax, 0x783648
add dword es:[edx - 0x1b4], eax
mov ecx, dword [esp]
sub esp, 0xffffffec
mov eax, 0
mov dx, cs
push dx
push ecx
retf
add byte [eax], al
add byte [eax], al
adc dword [ebp + 0x4a1a9cff], esp
xchg dword [eax - 0x4a], ebx
jne 0x407b34
test byte [eax], al
mov ecx, 0x22c5c5
pop esp
ret
Function at 0x403cc1
Capabilities:
Allocate or change rwx memory
Read .ini file

Disassembly:
mov eax, 0x447c93
call fcn.00447ba0
sub esp, 0x17c
push ebx
push esi
mov eax, 0xb2d3b
add dword [0x4882c4], eax
xor ebx, ebx
cmp dword [0x4882c4], 0x16
jne 0x403d61
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x402d74
push ebx
push 0x402d9c
push 0x402dac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
call fcn.00403280
lea eax, [ebp - 0x40]
call fcn.00403fe3
push ebx
mov dword [ebp - 4], ebx
call fcn.00404d12
mov dword [esp], 0x929
push 0xea
call fcn.00404da0
push ebx
push ebx
push ebx
call fcn.004052db
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea edi, [ebp - 0x40]
call fcn.00404008
pop edi
xor eax, eax
cmp eax, 0xf027935
jg 0x403d72
inc eax
cmp eax, 0x736259b2
jl 0x403d63
push 0x45bab8
mov byte [0x45bac2], 0x6c
mov byte [0x45bac3], 0x6c
mov byte [0x45bac4], bl
mov byte [0x45bab8], 0x6b
mov byte [0x45bab9], 0x65
mov byte [0x45baba], 0x72
mov byte [0x45babd], 0x6c
mov byte [0x45babf], 0x32
mov byte [0x45bac0], 0x2e
mov byte [0x45babb], 0x6e
mov byte [0x45babc], 0x65
mov byte [0x45bac1], 0x64
mov byte [0x45babe], 0x33
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x4882c4]
mov dword [0x488234], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x4882c4]
mov dword [0x488230], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x455fcc]
xor esi, esi
mov dword [0x48839c], eax
cmp dword [0x4882c4], ebx
jbe 0x403e6a
mov eax, dword [0x48839c]
mov dword [ebp - 0x14], eax
mov eax, 0xb2d3b
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi]
mov ecx, dword [0x488230]
mov byte [ecx + esi], al
cmp dword [0x4882c4], 0x44
jne 0x403e61
lea eax, [ebp - 0x24]
push eax
push 0x402ddc
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
inc esi
cmp esi, dword [0x4882c4]
jb 0x403e15
call fcn.00403bf2
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
cmp esi, 0x770e
jne 0x403e8e
call fcn.00403c9b
inc esi
cmp esi, 0x286c535
jl 0x403e71
push 0x7b
pop esi
cmp dword [0x4882c4], 0xd
jne 0x403ed7
push 0x30
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x74], ebx
call fcn.00409b70
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push 0x402df0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_GetOldestEventLogRecord]
dec esi
jne 0x403e9a
call fcn.00403cb5
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x403eed
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
xor esi, esi
cmp dword [0x4882c4], 0xc
push edi
jne 0x403f5d
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetFontUnicodeRanges]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x402c37
push 0x45bab8
call fcn.00404b73
push esi
call fcn.00405104
push esi
call fcn.00404eee
push esi
call fcn.00404ed8
add esp, 0x14
push esi
call fcn.00405651
mov eax, dword [0x45adec]
mov edi, dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
mov dword [0x4882c4], eax
mov ebx, 0x9ae37
cmp dword [0x4882c4], 0x15
jne 0x403fcd
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0x402e5c
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0x402e78
push 0x402f10
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [ebp - 0x130]
push eax
push esi
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
lea eax, [ebp - 0x24c]
push eax
push esi
push esi
call edi
dec ebx
jne 0x403f72
call fcn.00403351
call fcn.00403cc1
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x405deb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4545c8]
jne 0x405df5
repz ret
jmp fcn.0040c28c
Function at 0x40e7e1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409236
and dword [ebp - 4], 0
cmp dword [0x45b9dc], 0
mov ebx, eax
jne 0x40e892
push 0x402294
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e943
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402288
push edi
call esi
test eax, eax
je 0x40e943
push eax
call fcn.004091c4
mov dword [esp], 0x402278
push edi
mov dword [0x45b9dc], eax
call esi
push eax
call fcn.004091c4
mov dword [esp], 0x402264
push edi
mov dword [0x45b9e0], eax
call esi
push eax
call fcn.004091c4
mov dword [esp], 0x402248
push edi
mov dword [0x45b9e4], eax
call esi
push eax
call fcn.004091c4
pop ecx
mov dword [0x45b9ec], eax
test eax, eax
je 0x40e892
push 0x402230
push edi
call esi
push eax
call fcn.004091c4
pop ecx
mov dword [0x45b9e8], eax
mov eax, dword [0x45b9e8]
cmp eax, ebx
je 0x40e8ea
cmp dword [0x45b9ec], ebx
je 0x40e8ea
push eax
call fcn.0040923f
push dword [0x45b9ec]
mov esi, eax
call fcn.0040923f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e8ea
test edi, edi
je 0x40e8ea
call esi
test eax, eax
je 0x40e8e1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e8e1
test byte [ebp - 0xc], 1
jne 0x40e8ea
or dword [ebp + 0x10], 0x200000
jmp 0x40e923
mov eax, dword [0x45b9e0]
cmp eax, ebx
je 0x40e923
push eax
call fcn.0040923f
pop ecx
test eax, eax
je 0x40e923
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e923
mov eax, dword [0x45b9e4]
cmp eax, ebx
je 0x40e923
push eax
call fcn.0040923f
pop ecx
test eax, eax
je 0x40e923
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b9dc]
call fcn.0040923f
pop ecx
test eax, eax
je 0x40e943
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e945
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret