joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4192e4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x487fb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x419372
cmp dword [esi + 0x10], ebx
je 0x419372
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.00453070
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x419372
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1e4
call fcn.00418870
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 1
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.00413e64
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00410e42
test al, al
je 0x419372
mov ecx, dword [esi + 0x10]
call fcn.00430277
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f3b0
leave
ret 0x10

Function at 0x41963d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.0042fa58
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x4196b7
lea eax, [ebp - 0x10]
push eax
call fcn.00419148
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x419693
push 0
call fcn.004185b9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4196b7
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 0x54
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
call fcn.004185b9
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x4196be
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042fde8
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x419730
lea eax, [ebp - 0x10]
push eax
call fcn.00419148
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x41970c
push 0
call fcn.004185b9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x419730
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 0x54
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
call fcn.004185b9
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
leave
ret 0xc
Function at 0x41f243
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebx + 0x2c], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebx + 0x574], eax
mov dword [ebx + 0x578], edi
mov dword [ebx + 0x57c], ecx
cmp eax, edi
jne 0x41f2a7
call fcn.0041f116
push dword [ebp + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
cmp dword [ebp + 0x20], edi
je 0x41f2a7
call fcn.0041f116
push dword [ebp + 0x20]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
lea esi, [ebx + 0x10]
call fcn.0041f116
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, dword [ebx + 0x574]
cmp ecx, edi
jne 0x41f2c5
mov ecx, dword [ebp + 0x1c]
jmp 0x41f2cc
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00410cf4
lea ecx, [ebp - 0x10]
mov dword [ebp + 0x20], eax
call fcn.00418334
push edi
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x88
push SysReAllocString
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp + 0x20]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.00410963
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x41f30e
push edi
call esi
mov edi, eax
push edi
call esi
test eax, eax
jne 0x41f309
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 0x20

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

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x4275e6
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x4276a1
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x473ac0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x473ac0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x473ac0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x473ac0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x473ac0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x473ac0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x473ac0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x473ac0]
inc edx
sub edi, 8
dec esi
jne 0x427606
pop ebx
test edi, edi
je 0x4276ba
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x473ac0]
inc edx
dec edi
jne 0x4276a5
pop edi
not eax
pop esi
ret
Function at 0x427b51
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x427b85
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x427b80
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x427bad
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x427b96
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00452110
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x42894a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x487fb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4289f4
movzx ecx, word [esi]
test cx, cx
je 0x4289f4
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x428988
cmp cx, 0x5c
jne 0x42898a
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x42897c
cmp eax, esi
je 0x4289c8
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00452019
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0042894a
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0045304d
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0045301f
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f3b0
leave
ret

Function at 0x429f25
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x429fa0
cmp dword [esi + 4], 0xffffffff
jne 0x429fa0
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4740bc
push edi
call fcn.0045301f
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x429f72
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x429f72
mov eax, 0x2000000
jmp 0x429fa5
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00427967
add esp, 0x10
test eax, eax
jne 0x429f90
mov eax, dword [ebp + 0x10]
jmp 0x429fa5
push eax
call fcn.00429b21
mov dword [esi], eax
mov eax, dword [0x48e77c]
pop ecx
jmp 0x429fa5
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x4329ba
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x694], ebx
je 0x432a24
cmp dword [ebp + 8], 0x100
jne 0x432a13
cmp word [ebp + 0xc], 0xd
jne 0x432a13
cmp byte [esi + 0x69a], bl
je 0x4329f8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x432a13
cmp byte [esi + 0x69b], bl
jne 0x432a13
mov ecx, dword [esi + 0x5c]
cmp ecx, ebx
je 0x432a0f
push 1
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.00413e64
xor eax, eax
jmp 0x432a27
mov eax, dword [esi + 0x694]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4350df
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x487fb0]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0xc
mov eax, 0x46cdb0
call fcn.00451cdd
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.004346c8
call fcn.00410b36
push eax
lea ecx, [ebp + 0x230]
call fcn.00418b13
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00410b3c
mov ecx, eax
call fcn.0041881c
test al, al
je 0x435241
push edi
lea ecx, [ebp + 0x230]
call fcn.004188ac
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x230]
call fcn.004185bd
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x4351b5
push str.Error_opening_file
mov ecx, ebx
call fcn.0043489e
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.004186f7
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.0044f3b0
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x4351ca
push esi
push str.File_is_empty
jmp 0x435176
cmp edi, 0x400000
jbe 0x4351da
push esi
push str.File_too_large
jmp 0x435176
push edi
mov dword [ebp - 0x14], esi
call fcn.0041005d
pop ecx
push esi
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x435220
push dword [ebp - 0x10]
call fcn.0044f44a
pop ecx
mov ecx, ebx
call fcn.004346c8
push esi
push str.Could_not_read_file
jmp 0x435176
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.00434f8e
push dword [ebp - 0x10]
mov bl, al
call fcn.0044f44a
pop ecx
jmp 0x43517f
call fcn.00410b3c
push eax
lea ecx, [ebp + 0x230]
call fcn.00418892
call fcn.00410b42
test al, al
je 0x435262
call fcn.00410b48
jmp 0x435279
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.004185bd
push eax
call fcn.0042a304
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x43528b
push esi
push str.Error_opening_zip_file
jmp 0x435176
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.00428a02
add esp, 0x14
test eax, eax
je 0x4352b0
push esi
push str.Could_not_find_ziped_file
jmp 0x435176
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x4351c2
cmp eax, 0x400000
ja 0x4351d2
push eax
call fcn.0041005d
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0042a361
add esp, 0x18
cmp eax, esi
je 0x435317
cmp eax, 0x600
je 0x435317
push edi
call fcn.0044f44a
pop ecx
call fcn.00410b42
test al, al
jne 0x43530c
push dword [ebp - 0x10]
call fcn.0042a39b
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x435176
call fcn.00410b42
test al, al
jne 0x435329
push dword [ebp - 0x10]
call fcn.0042a39b
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.00434f8e
push edi
jmp 0x435234
Function at 0x4439af
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x4439d4
cmp eax, esi
jge 0x4439cc
mov eax, edi
call fcn.0044343d
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
xor ecx, ecx
cmp dword [edi + 8], ecx
jle 0x4439f6
mov al, byte [edi + 0xc]
shr dword [edi + 0xc], 8
add dword [edi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [edi + 8], 0
jg 0x4439db
cmp ecx, 4
jge 0x443a12
mov esi, dword [edi + 4]
mov eax, dword [edi]
cmp eax, esi
jb 0x443a03
xor dl, dl
jmp 0x443a08
mov dl, byte [eax]
inc eax
mov dword [edi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x4439f9
movzx esi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, esi
xor ecx, 0xffff
cmp eax, ecx
je 0x443a44
mov eax, str.zlib_corrupt
call fcn.0043efae
jmp 0x443a80
mov eax, dword [edi]
add eax, esi
cmp eax, dword [edi + 4]
jbe 0x443a54
mov eax, str.read_past_buffer
jmp 0x443a3d
mov eax, dword [edi + 0x10]
lea ecx, [eax + esi]
cmp ecx, dword [edi + 0x18]
jbe 0x443a6a
push esi
call fcn.0044350c
pop ecx
test eax, eax
je 0x443a80
push esi
push dword [edi]
push dword [edi + 0x10]
call fcn.00452110
add dword [edi], esi
add dword [edi + 0x10], esi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x44910e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.0042fa58
mov ecx, dword [ebx + 0x6f0]
test ecx, ecx
je 0x449188
lea eax, [ebp - 0x10]
push eax
call fcn.00448f5d
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6f0]
test eax, eax
je 0x449164
push 0
call fcn.004185b9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x449188
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 0x54
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
call fcn.004185b9
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x44918f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042fde8
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x449201
lea eax, [ebp - 0x10]
push eax
call fcn.00448f5d
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6f0]
test eax, eax
je 0x4491dd
push 0
call fcn.004185b9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x449201
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 0x54
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
call fcn.004185b9
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
leave
ret 0xc
Function at 0x44f3b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x487fb0]
jne 0x44f3ba
repz ret
jmp fcn.0045584c

Function at 0x4644ee
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.0045a992
and dword [ebp - 4], 0
cmp dword [0x48f44c], 0
mov ebx, eax
jne 0x46459f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x464650
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x464650
push eax
call fcn.0045a920
mov dword [esp], 0x47c748
push edi
mov dword [0x48f44c], eax
call esi
push eax
call fcn.0045a920
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48f450], eax
call esi
push eax
call fcn.0045a920
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48f454], eax
call esi
push eax
call fcn.0045a920
pop ecx
mov dword [0x48f45c], eax
test eax, eax
je 0x46459f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045a920
pop ecx
mov dword [0x48f458], eax
mov eax, dword [0x48f458]
cmp eax, ebx
je 0x4645f7
cmp dword [0x48f45c], ebx
je 0x4645f7
push eax
call fcn.0045a99b
push dword [0x48f45c]
mov esi, eax
call fcn.0045a99b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4645f7
test edi, edi
je 0x4645f7
call esi
test eax, eax
je 0x4645ee
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4645ee
test byte [ebp - 0xc], 1
jne 0x4645f7
or dword [ebp + 0x10], 0x200000
jmp 0x464630
mov eax, dword [0x48f450]
cmp eax, ebx
je 0x464630
push eax
call fcn.0045a99b
pop ecx
test eax, eax
je 0x464630
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x464630
mov eax, dword [0x48f454]
cmp eax, ebx
je 0x464630
push eax
call fcn.0045a99b
pop ecx
test eax, eax
je 0x464630
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48f44c]
call fcn.0045a99b
pop ecx
test eax, eax
je 0x464650
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x464652
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408880
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x491b2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004868fa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408902
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048480c
mov eax, dword [eax]
push 0xa68c68
push eax
call fcn.00476a44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00486b85
test bl, bl
je 0x408902
push 0xa68c68
lea ecx, [esp + 0xc]
call fcn.00486f15
push 0xa68c74
lea ecx, [esp + 0xc]
call fcn.00486f15
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40893e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00486b85
jmp 0x408a09
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4089c2
lea edx, [esp + 0x7c]
push 0xa68c70
push edx
call fcn.00476a44
add esp, 8
test eax, eax
je 0x4089c2
lea eax, [esp + 0x7c]
push 0xa68c6c
push eax
call fcn.00476a44
add esp, 8
test eax, eax
je 0x4089c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408952
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00486b85
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409200
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x409262
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x409270
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x491bab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xa77fe8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4093a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4092d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00486b85
xor eax, eax
jmp 0x40941f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00486cc2
push esi
lea ecx, [esp + 0xc]
call fcn.00486f51
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4093fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00409200
test eax, eax
jne 0x4093fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00409200
test eax, eax
jne 0x4093fd
lea eax, [esp + 0x14]
push 0xa68c84
push eax
call fcn.00477b90
mov esi, eax
add esp, 8
test esi, esi
jne 0x4093dc
lea ecx, [esp + 0x14]
push 0xa68c80
push ecx
call fcn.00477b10
mov esi, eax
add esp, 8
test esi, esi
jne 0x4093dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4093df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00486c72
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4092ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00486b85
xor eax, eax
jmp 0x40941f
mov byte [esi], 0
push 0xa68c7c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00486b85
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4