joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003f40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x100090b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x10004100
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x100090b4]
movzx eax, al
bt eax, esi
jae 0x10004160
mov ecx, dword [0x100090a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x10004005
test byte [0x10005d28], 8
jne 0x100040a0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10005d38], 8
jne 0x10004050
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10003fd4
cmp esi, 3
jbe 0x10004010
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x10007648]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0_1
jmp 0x10003fd4
mov ecx, dword [0x100090b4]
test ecx, ecx
je 0x10004140
mov dword [esp], 0x10005d38
call dword [0x100090b4]
test al, 8
je 0x10003fab
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x10003fab
mov ebx, dword [0x100090b4]
test ebx, ebx
je 0x10004120
mov dword [esp], 0x10005d28
call dword [0x100090b4]
test al, 8
je 0x10003f96
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x10003f9e
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x100090b4
call sym._load_func.part.0
jmp 0x10003f5d
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x100090b4
call sym._load_func.part.0
jmp 0x100040aa
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x100090b4
call sym._load_func.part.0
jmp 0x1000405e
mov eax, 0xffffffff
jmp 0x10004005
Function at 0x404f30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x404f62
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00404da0
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00405710
pop ecx
mov esi, eax
test esi, esi
jne 0x404f95
push 1
call fcn.00404760
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00404da0
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x407290], eax
mov dword [0x407294], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404fd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404feb
mov ebx, dword [0x407360]
mov esi, ebx
xor ecx, ecx
jmp 0x40500e
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404ff6
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x405009
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404ff1
lea eax, [ecx + 1]
push eax
call fcn.00405710
pop ecx
mov edi, eax
mov dword [0x40729c], eax
cmp dword [0x40729c], 0
jne 0x405035
push 1
call fcn.00404760
pop ecx
mov esi, ebx
jmp 0x40506a
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x40503e
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x405065
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x405055
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x405039
mov byte [edi], 0
cmp ebx, dword [0x407360]
je 0x405081
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10d44
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_wcsstr]
push edi
mov edi, 0x13158
push edi
push dword [ebp + 8]
call esi
test eax, eax
pop ecx
pop ecx
je 0x10d54
lea ebx, [eax + 2]
push edi
push ebx
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10d45
jmp 0x10d57
mov ebx, dword [ebp + 8]
push ebx
push 0x13148
call fcn.00010bac
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x40b661
Capabilities:
Encode data using xor

Disassembly:
daa
invalid
mov al, 0xf8
and byte [edi - 0x6d], 0xb2
cmp ah, byte [edi + 0x3a733f34]
int3
and al, 0x74
cmpsb byte [esi], byte es:[edi]
sub ebx, eax
jl 0x40b617
push 0xece2856f
xchg dword [ebx + ecx*8 + 0x605e5445], ebp
inc edi
add dword [ebp + 0x37], 0xfd15f402
cmp bh, byte [eax + 0x5cfbeed4]
je 0x40b6f3
inc esp
in al, dx
popal
leave
les esp, fs:[edx - 0x3f]
das
dec esi
loop 0x40b6d8
push 0xffffffffffffffaf
pushal
xchg esi, eax
pop esp
aas
lodsd eax, dword [esi]
insb byte es:[edi], dx
xor byte [0xd5c7cf62], al
out 0x22, eax
mov cl, 0x2f
outsb dx, byte [esi]
out 3, eax
into
popal
mov edx, 0x4e70445
aam 7
sti
lea edx, [0xc3885b47]
inc ecx
jl 0x40b63f
ret
mov esi, 0x6aa6120b
daa
sbb al, byte [ebx]
cmp dword [esp + esi*2 - 0x11], 0x54
aad 0x7b
sti
pop ebx
jns 0x40b6e6
loopne 0x40b715
sahf
in al, 0x19
dec eax
push es
sbb dword [eax + 6], ecx
lcall 0x24ab, 0xe00aeb4c
push esp
and al, 0x54
mov eax, dword [0xa44405ee]
dec ecx
add dword [0x3ecf0546], esi
je 0x40b6cf
lea ebp, [edi - 0x6b]
sbb cl, ch
aam 0xf1
out 0xc, eax
sbb esp, dword [ebp + esi*8 + 0x56]
cmc
push esi
inc edi
jo 0x40b6fb
jp 0x40b6b4
push esp
dec ebx
adc dword [ecx - 9], 0x1786ff29
inc ebp
rcl dh, 0x56
dec eax
sal bh, 1
sal bh, 1
xor dword [edi - 0x1c], esp
div ch
lodsd eax, dword [esi]
xchg esi, eax
mov bh, 0x1b
xor ebp, dword [ebp + ebp*2 + 0x71]
lea ebx, [ebx + 0x6e]
insd dword es:[edi], dx
jb 0x40b70a
dec ecx
push eax
mul bh
mov edi, 0x647a2869
sub eax, 0x8879edff
pushal
in al, 0xec
popfd
pushal
xlatb
and edx, dword [ebp + 0x57]
invalid

Function at 0x417a10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi
je 0x417a36
mov eax, dword [0x6357c0]
test eax, eax
je 0x417a2c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x50
ret
push ebx
push edi
lea eax, [esp + 0xc]

Function at 0x417a3c
Capabilities:
Get common file path

Disassembly:
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
invalid
Function at 0x452902
Capabilities:
Encode data using xor

Disassembly:
xor bh, byte [edi]
mov ebp, 0x95533f91
enter 0xffffffffffff81a7, 0x52
or ebp, ecx
inc eax
test eax, 0xd5ba5a7a
xchg edi, eax
mov esi, 0x66ee543c
jo 0x452982
jo 0x452982
and al, 0x65
sub al, 0xe0
test cl, ah
xor eax, 0xede92abd
pop ecx
pop edi
popfd
jbe 0x452932
popfd
inc ebx
dec ecx
add dword [eax + eax + 0x12], ecx
cmc
adc dh, ch
rol dword [eax], 1
mov bl, 0x32
and esi, 0x9e44bc50
stc
mov al, 0xd2
push eax
jp 0x4528ea
add dword [eax + esi + 0xb], ecx
bnd jle 0x45291b
jle 0x45291b
mov fs, esp
mov esi, 0xcfd74402
pushfd
pop esp
push ebp
push 0x88026914
salc
lea esi, [eax]
xor esp, 0x1a43e8f0
pop esp
bound esp, qword [edx - 0xc8981ac]
or al, 0xdd
push esi
cmc
int3
and cl, byte [edi - 0x35]
pop esp
invalid
push esi
mov al, 0xfd
mov byte [0x35fab4e0], 0xd3
nop
sub ch, byte [edi + ebp*2]
cdq
std
jno 0x452975
shl dword [edx - 0x5a], cl
mov edi, 0x2dc77061
nop
js 0x452928
xchg esp, eax
in eax, 0x8e
invalid
Function at 0x45e61a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4933c6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bf2d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0045e80d
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
add ecx, 8
lea edi, [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.00469362
xor ebx, ebx
cmp eax, ebx
jne 0x45e7c8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push dword [ebp + 0xc]
mov dword [esp + 0x3c], ebx
call fcn.0045e80d
mov ecx, eax
lea eax, [esp + 0x18]
add ecx, 0x38
push eax
call fcn.00466041
mov byte [esp + 0x40], 1
mov esi, dword [eax]
push ebx
push esi
xor edi, edi
call fcn.004b7936
add esp, 0x10
test eax, eax
jne 0x45e6e3
push esi
call fcn.0045bccc
mov esi, eax
cmp esi, ebx
pop ecx
je 0x45e6e3
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x45e6ce
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x45e6e3
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x45e6dc
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [esp + 0x28], esi
inc edi
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x14]
cmp edi, ebx
sete byte [esp + 0x13]
add eax, 0xfffffff0
call fcn.0046a875
cmp byte [esp + 0x13], bl
je 0x45e713
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 8]
call fcn.0045e84a
add esp, 0xc
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x45e783
push 0x14
call fcn.004b6ba3
cmp eax, ebx
pop ecx
je 0x45e73d
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2934
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov edi, eax
jmp 0x45e73f
xor edi, edi
cmp edi, ebx
je 0x45e783
push esi
push edi
call fcn.0045dd70
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
push eax
call fcn.0045de38
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0045df61
add esp, 0x18
call fcn.0045e80d
mov ebx, eax
mov eax, dword [ebp + 8]
add ebx, 8
call fcn.00468a2f
mov dword [eax], edi
xor ebx, ebx
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x45e79a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x45e7ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
je 0x45e7ef
push dword [esp + 0x20]
call dword [fcn.00497258]
push dword [esp + 0x20]
call dword [int.00497250]
jmp 0x45e7ef
mov edi, dword [eax + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
call fcn.0045de38
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0045df61
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx + 4], ebx
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468dac
Capabilities:
Encode data using xor

Disassembly:
out 0x10, al
cld
and eax, 0x5d7d5e49
invalid
pop esp
xchg esi, eax
ret 0xbc93
insb byte es:[edi], dx
sbb eax, dword [edx + 0x40]
jns 0x468ccd
sbb al, 0x49
in eax, dx
jbe 0x468cfb
out 0xda, al
aad 0xb8
popal
pop ds
mov ss, word [esp + ebp - 0x18f881e6]
salc
jl 0x468db1
and byte [esi + 0x4c], bh
cli
sbb esp, dword [esi + ebx*2 - 0x4a81b396]
xlatb
aaa
and bl, byte [eax + 0x5d]
xchg esp, eax
jle 0x468d30
jg 0x468e14
cmp cl, byte [edx + ecx*8 + 0x3b]
mov bl, 0xd6
mov eax, dword [0xa22e4734]
add al, 0xb4
dec edi
sbb ch, byte [esi - 0x3cb206aa]
stosd dword es:[edi], eax
sbb ch, byte [ebx - 0x4f]
mov al, byte [0x8a2cd860]
inc ecx
push es
daa
xchg edx, eax
jecxz 0x468dd4
mov al, byte [0xda92d573]
imul esp, dword [ecx - 0x49], 0x312560f5
push ss
insd dword es:[edi], dx
sti
cdq
push edx
dec eax
invalid
mov eax, dword [0xcf53c0b1]
xor byte [edx], 0xbb
inc edi
fnstenv [edi - 0x6d]
lahf
adc dl, byte [ebp - 0x3882a162]
dec edi
repne cmpsb byte [esi], byte es:[edi]
nop
add dl, dh
mov bh, 0xa6
mov dl, 0x65
push ebx
invalid
Function at 0x4b6199
Capabilities:
Encode data using xor

Disassembly:
salc
cmp bl, byte [esi]
xor eax, 0xf09fc612
ror dword [ebx - 0x5a731ee0], 1
invalid
lodsb al, byte [esi]
loope 0x4b616e
mov dword [edi], ebp

Function at 0x628441
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x632398
cmp edx, dword [eax]
je 0x628463
add eax, 8
inc ecx
cmp eax, 0x632428
jl 0x628454
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x632398]
jne 0x628591
mov eax, dword [0x636d6c]
cmp eax, 1
je 0x62856b
test eax, eax
jne 0x628494
cmp dword [0x6322c4], 1
je 0x62856b
cmp edx, 0xfc
je 0x628591
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6284cb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00628e20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006292b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62850e
lea eax, [ebp - 0x1a4]
push eax
call fcn.006292b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62dd64
push edi
call fcn.0062b180
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00628e20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00628e30
lea eax, [ebp - 0xa0]
push 0x62dd44
push eax
call fcn.00628e30
push dword [esi + 0x63239c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00628e30
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b0f4
add esp, 0x2c
pop edi
jmp 0x628591
lea eax, [ebp + 8]
lea esi, [esi + 0x63239c]
push 0
push eax
push dword [esi]
call fcn.006292b0
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 0x401101
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
push ebx
push esi
push 0x410
xor ebx, ebx
lea eax, [ebp - 0x464]
push ebx
push eax
call fcn.00401410
add esp, 0xc
mov esi, 0x208
push esi
lea eax, [ebp - 0x464]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x401145
mov eax, 0x8000ffff
jmp 0x401202
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x464]
push eax
call edi
lea eax, [ebp - 0x464]
push eax
call fcn.0040105e
pop ecx
test al, al
jne 0x40116f
lea eax, [ebp - 0x464]
push eax
call edi
push str.DealPlyLive.exe
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4011fc
push 0x4081bc
push esi
lea eax, [ebp - 0x464]
push eax
call fcn.00401091
test eax, eax
jl 0x4011fc
push str._broker
push esi
lea eax, [ebp - 0x464]
push eax
call fcn.00401091
test eax, eax
jl 0x4011fc
push 0x40
lea eax, [ebp - 0x50]
push ebx
push eax
mov dword [ebp - 0x54], 0x44
call fcn.00401410
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x464]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
neg eax
sbb eax, eax
and eax, 0x7fff0001
add eax, 0x8000ffff
jmp 0x401201
mov eax, 0x8000ffff
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4035f3
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.00402332
and dword [ebp - 4], 0
cmp dword [0x40b260], 0
mov ebx, eax
jne 0x4036a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x403755
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x403755
push eax
call fcn.004022c0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b260], eax
call esi
push eax
call fcn.004022c0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b264], eax
call esi
push eax
call fcn.004022c0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b268], eax
call esi
push eax
call fcn.004022c0
pop ecx
mov dword [0x40b270], eax
test eax, eax
je 0x4036a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004022c0
pop ecx
mov dword [0x40b26c], eax
mov eax, dword [0x40b26c]
cmp eax, ebx
je 0x4036fc
cmp dword [0x40b270], ebx
je 0x4036fc
push eax
call fcn.0040233b
push dword [0x40b270]
mov esi, eax
call fcn.0040233b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4036fc
test edi, edi
je 0x4036fc
call esi
test eax, eax
je 0x4036f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4036f3
test byte [ebp - 0xc], 1
jne 0x4036fc
or dword [ebp + 0x10], 0x200000
jmp 0x403735
mov eax, dword [0x40b264]
cmp eax, ebx
je 0x403735
push eax
call fcn.0040233b
pop ecx
test eax, eax
je 0x403735
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x403735
mov eax, dword [0x40b268]
cmp eax, ebx
je 0x403735
push eax
call fcn.0040233b
pop ecx
test eax, eax
je 0x403735
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b260]
call fcn.0040233b
pop ecx
test eax, eax
je 0x403755
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x403757
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40545e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40aa08]
jne 0x405468
repz ret
jmp fcn.00406a45

Function at 0xdc0214
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc021e
add al, ah
add eax, dword [eax]
add byte [eax], al
add byte [eax], al
pushal
call 0xdc0224
pop ebp
sub ebp, 0x10
sub ebp, 0x9c0214
jmp 0xdc023a
mov eax, 0x9c0214
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e0
mov edx, 0xa9294116
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc0251
jmp 0xdc0264
popfd
fistp dword [ebp + 0x16162a9f]
push ss
xchg edi, eax
xlatb
out dx, al
push ss
push ss
push ss
adc eax, 0x1612aedb
scasb al, byte es:[edi]
adc dl, byte [esi]
push ss
push ss
lodsb al, byte [esi]
push ss
push ss
push ss
loope 0xdc0274
adc eax, 0x1a979dde
push ss
push ss
push ss
adc eax, 0x729b46d3
xor ch, dl
lahf
adc dh, byte [edx]
jle 0xdc0216
invalid
Function at 0x401d5d
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x401da3
sub ebx, 0x41f5c0
mov ax, word [ebx + edi*2 + 0x41f5c0]
mov ecx, esi
xor ax, word [edi*2 + 0x41f5c0]
movzx eax, ax
push eax
call fcn.00401fd0
inc edi
cmp edi, dword [esp + 0x10]
jl 0x401d81
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x4023da
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x402420
sub ebx, 0x41f640
mov ax, word [ebx + edi*2 + 0x41f640]
mov ecx, esi
xor ax, word [edi*2 + 0x41f640]
movzx eax, ax
push eax
call fcn.00401fd0
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4023fe
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x402daa
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
cmp dword [0x47eba0], ebx
jne 0x402df0
mov ecx, ebx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x402dd1
shr eax, 1
xor eax, 0xedb88320
jmp 0x402dd3
shr eax, 1
dec edx
jne 0x402dc4
mov dword [ecx*4 + 0x47e7a0], eax
inc ecx
cmp ecx, 0x100
jl 0x402dbf
mov dword [0x47eba0], 1
mov eax, dword [ebp + 8]
or edx, 0xffffffff
xor ecx, ecx
lea eax, [edi + eax*2]
mov esi, eax
sub esi, edi
inc esi
shr esi, 1
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x402e25
movzx eax, byte [edi]
lea edi, [edi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x47e7a0]
inc ebx
cmp ebx, esi
jb 0x402e0b
pop edi
not edx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4034d9
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x40351f
sub ebx, 0x41fb60
mov ax, word [ebx + edi*2 + 0x41fb60]
mov ecx, esi
xor ax, word [edi*2 + 0x41fb60]
movzx eax, ax
push eax
call fcn.00401fd0
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4034fd
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x403527
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x40356d
sub ebx, 0x41f890
mov ax, word [ebx + edi*2 + 0x41f890]
mov ecx, esi
xor ax, word [edi*2 + 0x41f890]
movzx eax, ax
push eax
call fcn.00401fd0
inc edi
cmp edi, dword [esp + 0x10]
jl 0x40354b
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x403d46
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, 0x46a580
push esi
mov esi, ecx
lea ecx, [ebp - 0x18]
push 9
call fcn.004034d9
cmp dword [eax + 0x14], 8
jb 0x403d66
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x403d6e
mov esi, dword [esi]
push 0x40010
push eax
push esi
push 0
call dword [0x47e3d0]
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.00401720
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403d92
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov edx, 0x47d0b0
push esi
mov esi, ecx
lea ecx, [ebp - 0x18]
push 0x13
call fcn.004034d9
cmp dword [eax + 0x14], 8
jb 0x403db5
mov eax, dword [eax]
push 0x41f5ac
push eax
lea eax, [ebp - 0x118]
push 0x80
push eax
call fcn.004034bd
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0
push 1
call fcn.00401720
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
xor eax, eax
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x118]
push eax
call fcn.00401601
lea ecx, [ebp - 0x18]
call fcn.0040576e
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.00401720
push esi
call dword [0x47e35c]
push 0xd
call dword [sym.imp.KERNEL32.dll_ExitProcess]