joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411c10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0xc
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x418a57
mov dword [esp], eax
call sym._fprintf.constprop.0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll_exit]
lea esi, [esi]
nop
Function at 0x4136b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x413708
cmp byte [esi + ebx - 1], 0xa
je 0x4136dc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x41d224], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x413c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x41d234]
mov esi, dword [ebp + 8]
test edi, edi
je 0x413e50
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x41d234]
movzx eax, al
bt eax, esi
jae 0x413eb0
mov ecx, dword [0x41d224]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x413d55
test byte [0x415a28], 8
jne 0x413df0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x415a38], 8
jne 0x413da8
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 0x413d24
cmp esi, 3
jbe 0x413d60
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 + 0x4192a8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x413d24
mov ecx, dword [0x41d234]
test ecx, ecx
je 0x413e90
mov dword [esp], 0x415a38
call dword [0x41d234]
test al, 8
je 0x413cfb
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 0x413cfb
mov ebx, dword [0x41d234]
test ebx, ebx
je 0x413e70
mov dword [esp], 0x415a28
call dword [0x41d234]
test al, 8
je 0x413ce6
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
shr edx, 6
imul ebx, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, ebx
lea ebx, [ebp - 0xd4]
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x413cee
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x41d234
call sym._load_func.part.0
jmp 0x413cad
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x41d234
call sym._load_func.part.0
jmp 0x413dfa
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x41d234
call sym._load_func.part.0
jmp 0x413db6
mov eax, 0xffffffff
jmp 0x413d55
Function at 0x414080
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.main
mov dword [esp], eax
call sym._exit
nop
nop
nop

Function at 0x414190
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call dbg.__main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x41420f
cmp al, 9
je 0x414200
cmp al, 0x20
je 0x414200
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp al, 0x5c
je 0x414268
cmp al, 0x22
je 0x414278
mov dword [ebp - 0x54], 0
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x41420f
cmp al, 9
sete cl
cmp al, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x4141c0
test edi, 1
jne 0x4141c0
lea esi, [esi]
movzx eax, byte [ebx + 1]
add ebx, 1
cmp al, 9
je 0x414200
cmp al, 0x20
je 0x414200
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x24], 1
jne 0x41422a
mov word [ebp - 0x20], 1
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call dbg.WinMain@16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x54], 1
jmp 0x4141d7
and dword [ebp - 0x54], 1
jne 0x4141d0
xor edi, 1
jmp 0x4141d7
Function at 0x7df1f0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x7df352
cmp edi, esi
je 0x7df352
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x7df342
add edi, 4
jmp 0x7df2a3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x7df2b8
mov dword [ebp - 4], 2
jmp 0x7df2d9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x7df2cf
mov dword [ebp - 4], 1
jmp 0x7df2d9
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x7df352
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x7df310
mov byte [ecx + 2], 0x3d
jmp 0x7df31d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x7df32c
mov byte [ecx], 0x3d
jmp 0x7df332
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x7df2a0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4018fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x401955
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x401a8e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push edi
mov ebx, ecx
call esi
mov edi, eax
mov ecx, ebx
call fcn.00401ac0
test eax, eax
je 0x401aba
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
sub eax, edi
cmp eax, dword [esp + 0x10]
jbe 0x401a9d
pop edi
pop esi
pop ebx
ret 4

Function at 0x404e10
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4a596c
call fcn.004817b4
sub esp, 0x110
push esi
mov esi, ecx
and dword [ebp - 4], 0
push 0x4de95c
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0049bb53
mov ecx, esi
call fcn.0040519f
cmp eax, 1
jne 0x404f07
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4dea60
call fcn.0049bb53
mov ecx, esi
call fcn.0040536d
lea eax, [ebp - 0x11c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x14]
push eax
call fcn.0049be4c
push str.MacromedFlashFlash.ocx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0049be4c
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.0049c1f6
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
cmp esi, 0x20
jae 0x404ec3
xor esi, esi
jmp 0x404edf
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x404ed5
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push 1
pop esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0049bdde
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0049bdde
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049bdde
mov eax, esi
jmp 0x404f15
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049bdde
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40536d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a59b8
call fcn.004817b4
sub esp, 0x58
push ebx
push esi
push 0x44
xor ebx, ebx
pop esi
lea eax, [ebp - 0x64]
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004817e0
push 0x10
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x64], esi
call fcn.004817e0
add esp, 0x18
lea ecx, [ebp - 0x10]
push str.RUNDLL32.EXE_SETUPAPI.DLL_InstallHinfSection_DefaultInstall_132
call fcn.0049be4c
push 0x4dea60
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0049c1f6
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0049c20e
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x4053fd
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0049bdde
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049bdde
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4077a3
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4acbb8
push 0x483164
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
or dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
push dword [ebp - 0x28]
call fcn.00483630
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
jmp 0x407822
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407901
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4a5c08
call fcn.004817b4
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x20
xor eax, eax
pop edx
mov dword [ebp - 4], eax
push 1
mov dword [esi], 0x4acbe0
pop ecx
mov dword [esi + 0x20], edx
push eax
push edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], ecx
push 8
push 8
mov ecx, esi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 4], eax
mov dword [esi + 0x30], eax
call fcn.004079a8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40b3f7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
je 0x40b57f
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
mov ebp, 0x8000
and ax, bp
cmp ax, bp
je 0x40b438
push 0xa1
call edi
and ax, bp
cmp ax, bp
je 0x40b438
xor cl, cl
jmp 0x40b43a
mov cl, 1
mov eax, dword [esp + 0x18]
pop edi
sub eax, 8
mov dword [esi + 0x1c], ebx
pop ebp
je 0x40b511
sub eax, 0x1b
je 0x40b4f7
dec eax
je 0x40b4e3
dec eax
je 0x40b4bc
dec eax
dec eax
je 0x40b491
sub eax, 7
jne 0x40b567
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jne 0x40b51b
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
cmp eax, dword [edx - 8]
jge 0x40b55b
push 1
push eax
jmp 0x40b549
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
cmp eax, dword [edx - 8]
jge 0x40b4a7
inc eax
cmp cl, bl
mov dword [esi + 0x10], eax
jne 0x40b4a7
mov dword [esi + 0x14], eax
cmp dword [esi + 0x64], ebx
je 0x40b567
mov dword [esi + 0x1c], 3
jmp 0x40b567
mov eax, dword [esi + 0x10]
cmp eax, ebx
jle 0x40b4ce
dec eax
cmp cl, bl
mov dword [esi + 0x10], eax
jne 0x40b4ce
mov dword [esi + 0x14], eax
cmp dword [esi + 0x64], ebx
je 0x40b567
mov dword [esi + 0x1c], 2
jmp 0x40b567
cmp dword [esi + 0x64], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
je 0x40b567
mov dword [esi + 0x1c], 4
jmp 0x40b567
mov eax, dword [esi + 8]
cmp dword [esi + 0x64], ebx
mov eax, dword [eax - 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
je 0x40b567
mov dword [esi + 0x1c], 5
jmp 0x40b567
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
cmp ecx, eax
je 0x40b538
push ecx
push eax
mov ecx, esi
call fcn.0040b586
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jle 0x40b533
mov dword [esi + 0x14], ecx
jmp 0x40b55b
mov dword [esi + 0x10], eax
jmp 0x40b55b
cmp eax, ebx
jle 0x40b55b
dec eax
push 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push eax
lea ecx, [esi + 8]
call fcn.00495d2b
push 1
lea ecx, [esi + 0xc]
push dword [esi + 0x10]
call fcn.00495d2b
cmp dword [esi + 0x64], ebx
je 0x40b567
mov dword [esi + 0x1c], 6
mov eax, dword [esp + 0xc]
add esi, 0x38
push 1
push esi
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x40b581
xor eax, eax
pop esi
pop ebx
ret 8
Function at 0x40b3f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
je 0x40b57f
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
mov ebp, 0x8000
and ax, bp
cmp ax, bp
je 0x40b438
push 0xa1
call edi
and ax, bp
cmp ax, bp
je 0x40b438
xor cl, cl
jmp 0x40b43a
mov cl, 1
mov eax, dword [esp + 0x18]
pop edi
sub eax, 8
mov dword [esi + 0x1c], ebx
pop ebp
je 0x40b511
sub eax, 0x1b
je 0x40b4f7
dec eax
je 0x40b4e3
dec eax
je 0x40b4bc
dec eax
dec eax
je 0x40b491
sub eax, 7
jne 0x40b567
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jne 0x40b51b
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
cmp eax, dword [edx - 8]
jge 0x40b55b
push 1
push eax
jmp 0x40b549
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
cmp eax, dword [edx - 8]
jge 0x40b4a7
inc eax
cmp cl, bl
mov dword [esi + 0x10], eax
jne 0x40b4a7
mov dword [esi + 0x14], eax
cmp dword [esi + 0x64], ebx
je 0x40b567
mov dword [esi + 0x1c], 3
jmp 0x40b567
mov eax, dword [esi + 0x10]
cmp eax, ebx
jle 0x40b4ce
dec eax
cmp cl, bl
mov dword [esi + 0x10], eax
jne 0x40b4ce
mov dword [esi + 0x14], eax
cmp dword [esi + 0x64], ebx
je 0x40b567
mov dword [esi + 0x1c], 2
jmp 0x40b567
cmp dword [esi + 0x64], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
je 0x40b567
mov dword [esi + 0x1c], 4
jmp 0x40b567
mov eax, dword [esi + 8]
cmp dword [esi + 0x64], ebx
mov eax, dword [eax - 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
je 0x40b567
mov dword [esi + 0x1c], 5
jmp 0x40b567
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
cmp ecx, eax
je 0x40b538
push ecx
push eax
mov ecx, esi
call fcn.0040b586
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jle 0x40b533
mov dword [esi + 0x14], ecx
jmp 0x40b55b
mov dword [esi + 0x10], eax
jmp 0x40b55b
cmp eax, ebx
jle 0x40b55b
dec eax
push 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push eax
lea ecx, [esi + 8]
call fcn.00495d2b
push 1
lea ecx, [esi + 0xc]
push dword [esi + 0x10]
call fcn.00495d2b
cmp dword [esi + 0x64], ebx
je 0x40b567
mov dword [esi + 0x1c], 6
mov eax, dword [esp + 0xc]
add esi, 0x38
push 1
push esi
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x40b581
xor eax, eax
pop esi
pop ebx
ret 8
Function at 0x40d948
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x4a65bb
call fcn.004817b4
sub esp, 0x1a0
cmp byte [0x4deb15], 0
push ebx
je 0x40d96c
mov al, byte [0x4deb14]
jmp 0x40da6a
mov eax, dword [0x4dbfc4]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x1ac]
push eax
push 0xff
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
je 0x40d99d
lea eax, [ebp - 0x1ac]
lea ecx, [ebp - 0x10]
push eax
call fcn.0049bf67
push str.swflash.cab
lea ecx, [ebp - 0x10]
call fcn.0049c1ba
call fcn.00408a98
push 0
push dword [ebp - 0x10]
push str.http:__download.macromedia.com_pub_shockwave_cabs_flash_swflash.cab
call fcn.0040da9e
add esp, 0xc
call fcn.0040da77
test eax, eax
je 0x40d9f5
push 0
lea ecx, [ebp - 0xac]
call fcn.004087fe
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.0049ca23
and byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.00408860
call fcn.0040daeb
call fcn.00408c1b
lea ecx, [ebp - 0x14]
call fcn.00404de4
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 2
call fcn.0049bb53
lea ecx, [ebp - 0x14]
call fcn.00404e10
test eax, eax
je 0x40da3a
call fcn.0040dd7d
test eax, eax
mov dword [0x4d0f98], eax
setg al
mov byte [0x4deb14], al
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov bl, byte [0x4deb14]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov byte [0x4deb15], 1
call fcn.00404e09
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049bdde
mov al, bl
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40db1d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a65d8
call fcn.004817b4
sub esp, 0x5c
push ebx
xor ebx, ebx
cmp byte [0x4deb16], bl
push edi
mov edi, ecx
je 0x40db42
mov al, byte [0x4deb14]
jmp 0x40dc8f
call fcn.0040dd7d
push dword [ebp + 8]
mov ecx, edi
mov dword [0x4d0f98], eax
call fcn.0040e1f4
mov ecx, dword [0x4d0f98]
mov edx, eax
cmp ecx, ebx
setg al
cmp edx, ebx
mov byte [0x4deb14], al
jle 0x40db74
cmp ecx, edx
jge 0x40dc8f
cmp al, bl
jne 0x40dc8f
mov eax, dword [0x4dbfc4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0040e024
test eax, eax
je 0x40dc74
cmp byte [edi + 0x49], bl
je 0x40dbaf
push str.__Q:A__R:N
lea ecx, [ebp - 0x10]
call fcn.0049c1ba
push esi
push 0x44
pop esi
lea eax, [ebp - 0x68]
push esi
push ebx
push eax
call fcn.004817e0
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
mov dword [ebp - 0x68], esi
call fcn.004817e0
add esp, 0x18
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0049c20e
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
call fcn.0040dd7d
cmp eax, ebx
mov dword [0x4d0f98], eax
setg byte [0x4deb14]
cmp eax, ebx
pop esi
jge 0x40dc74
mov eax, dword [0x4dbfc4]
mov dword [ebp + 8], eax
push 0x65be
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0049ce0f
push str.Flash_Player_installation
lea ecx, [ebp - 0x14]
call fcn.0049be4c
push 0x2030
mov ecx, edi
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.0040cca0
lea ecx, [ebp - 0x14]
mov byte [0x4deb15], 1
call fcn.0049bdde
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0049bdde
mov bl, byte [0x4deb14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov byte [0x4deb16], 1
call fcn.0049bdde
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4