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

Disassembly:
push 0xffffffffffffffff
push 0x430ce4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
lea eax, [esp + 8]
push esi
mov esi, ecx
push eax
call fcn.00407ef0
add esp, 4
push str.Version.info
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x148], 0
call fcn.0042401a
mov eax, dword [eax]
push 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 1
call fcn.0042900b
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 4
call fcn.00423d85
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], 3
call fcn.00423d85
mov edx, dword [0x44169c]
mov dword [esp + 8], edx
lea eax, [esp + 8]
mov bl, 5
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], bl
call fcn.004292ca
test eax, eax
jne 0x404798
push 0x14
call fcn.00423ac6
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x13c], 6
je 0x40477c
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x43f908
call fcn.00423df3
mov ecx, esi
call fcn.00403790
jmp 0x40477e
xor eax, eax
lea ecx, [esp + 0xc]
push 0x439070
push ecx
mov byte [esp + 0x144], bl
mov dword [esp + 0x14], eax
call fcn.0041381a
mov edx, dword [esp + 8]
push 0
push 0
push edx
call fcn.00413f46
add esp, 0xc
mov dword [esi + 0xc], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x1c]
push eax
call fcn.004292ca
test eax, eax
je 0x404874
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.00413a28
add esp, 8
test eax, eax
jne 0x4047ac
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._1_3_
call fcn.00423df3
call fcn.00408210
add esp, 4
push 0x43f8e4
call fcn.004089b0
add esp, 4
lea eax, [esp + 0x30]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00423df3
mov ecx, esi
call fcn.004048d0
push 0x43f8d0
mov bl, al
call fcn.004089b0
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x13c], 3
call fcn.00423d85
lea ecx, [esp + 0x1c]
mov dword [esp + 0x13c], 0xffffffff
call fcn.004290a4
mov ecx, dword [esp + 0x134]
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x138
ret
push 0
push 4
push 0x43f898
call fcn.0042ae9b
cmp eax, 6
jne 0x4048b6
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.00403510
mov eax, dword [eax]
mov byte [esp + 0x13c], 7
push eax
call fcn.00407ff0
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call fcn.00423d85
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4050b0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x430e4a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [str.________.___]
mov edx, dword [0x43f1a4]
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [0x43f1a0]
mov dword [esp + 0x18], eax
mov al, byte [0x43f1a8]
push edi
push 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov byte [esp + 0x2c], al
call fcn.0041390e
push eax
call fcn.004138df
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
xor esi, esi
call fcn.004138ec
cdq
mov ecx, 0x1a
idiv ecx
add dl, 0x61
mov byte [esp + esi + 0x1c], dl
inc esi
cmp esi, 8
jl 0x405112
lea edx, [esp + 0x1c]
push 0
push edx
call edi
test eax, eax
jne 0x405191
call ebx
cmp eax, 0xb7
je 0x405110
push 0x14
call fcn.00423ac6
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor eax, eax
cmp esi, eax
mov dword [esp + 0x34], eax
je 0x405176
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x43f184
call fcn.00423df3
mov ecx, esi
call fcn.00403790
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 0x439070
push eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.0041381a
lea ecx, [esp + 0x1c]
lea esi, [ebp + 0x20]
push ecx
mov ecx, esi
call fcn.00423f0e
mov edx, dword [esi]
push edx
push 0x43fa48
call fcn.004089b0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x407480
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x431343
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x174]
mov dword [esp + 0x16c], 0
call fcn.00422716
mov eax, dword [eax]
push 0x43f180
push eax
call fcn.00413a28
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00423d85
test bl, bl
je 0x4074f4
push 0x43f180
lea ecx, [esp + 0x170]
call fcn.00424161
lea ecx, [esp + 0x16c]
push 0x43f320
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0042401a
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00423d85
cmp edi, 0xffffffff
jne 0x407543
lea ecx, [esp + 0x16c]
mov dword [esp + 0x164], edi
call fcn.00423d85
xor al, al
jmp 0x4076b4
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, 0x43f31c
lea eax, [esp + 0x48]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40757c
test cl, cl
je 0x407578
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40757c
add eax, 2
add esi, 2
test cl, cl
jne 0x407558
xor eax, eax
jmp 0x407581
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407635
mov esi, 0x43f318
lea eax, [esp + 0x48]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4075b6
test cl, cl
je 0x4075b2
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4075b6
add eax, 2
add esi, 2
test cl, cl
jne 0x407592
xor eax, eax
jmp 0x4075bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407635
lea eax, [esp + 0x48]
lea ecx, [esp + 0x16c]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0042401a
mov al, byte [esp + 0x1c]
mov byte [esp + 0x164], 1
test al, 0x10
jne 0x407606
mov eax, dword [esp + 0x10]
push 0x80
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00408620
add esp, 4
cmp al, 1
sete al
jmp 0x407620
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00423afa
mov ecx, dword [esp + 0x18]
call fcn.00407480
test al, al
je 0x407646
lea ecx, [esp + 0x10]
mov byte [esp + 0x164], 0
call fcn.00423d85
lea eax, [esp + 0x1c]
push eax
push edi
call ebx
test eax, eax
je 0x407679
jmp 0x40754f
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x164], 0
call fcn.00423d85
lea ecx, [esp + 0x16c]
mov dword [esp + 0x164], 0xffffffff
call fcn.00423d85
xor al, al
jmp 0x4076b4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x16c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
mov dword [esp + 0x164], 0xffffffff
lea ecx, [esp + 0x16c]
jne 0x4076ad
call fcn.00423d85
xor al, al
jmp 0x4076b4
call fcn.00423d85
mov al, 1
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x158
ret 4
Function at 0x4076d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431371
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [esp + 0x28]
push edi
mov dword [esi + 0x14], ecx
mov dword [esp + 0xc], ebx
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0x38
lea ecx, [esi + 0x24]
push str.1.1.4
push ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
call fcn.00408ef0
add esp, 0xc
test eax, eax
je 0x40778e
push 0x14
call fcn.00423ac6
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
mov dword [esp + 0x24], ebx
je 0x407771
mov edx, dword [esi + 0x3c]
mov ebx, 1
push ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.00423df3
mov dword [esp + 0x10], ebx
push ecx
mov byte [esp + 0x2c], bl
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
push str.ZLib_Error:
push ecx
call fcn.0042408e
mov ecx, edi
call fcn.00403790
jmp 0x407773
xor eax, eax
lea edx, [esp + 0x2c]
push 0x439070
push edx
mov dword [esp + 0x2c], 2
mov dword [esp + 0x34], eax
call fcn.0041381a
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x28], ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4

Function at 0x407ec0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jle 0x407eee
push esi
mov esi, dword [esp + 0xc]
mov ecx, eax
xor edx, edx
mov dl, byte [esi]
shr ecx, 0x18
xor ecx, edx
inc esi
shl eax, 8
mov ecx, dword [ecx*4 + 0x43fc34]
xor eax, ecx
dec edi
jne 0x407ed2
pop esi
pop edi
ret

Function at 0x407ff0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4313d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x44169c]
mov dword [esp + 4], eax
lea ecx, [esp]
push str..htm
push ecx
mov dword [esp + 0x18], 0
call fcn.004080b0
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call fcn.00423ebe
lea ecx, [esp]
mov byte [esp + 0x10], 0
call fcn.00423d85
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40808f
mov edx, dword [0x44169c]
mov dword [esp], edx
lea ecx, [esp + 0x18]
push 1
push ecx
lea edx, [esp + 8]
push eax
push edx
mov byte [esp + 0x20], 2
call fcn.0042b089
mov eax, dword [esp]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp]
mov byte [esp + 0x10], 0
call fcn.00423d85
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.00423d85
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4080b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x431420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x44169c]
push ebx
push esi
mov dword [esp + 0x14], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x130]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
mov ebx, 1
push eax
push SysReAllocString
mov dword [esp + 0x134], ebx
mov dword [esp + 0x20], 0x104
call esi
test eax, eax
je 0x408131
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00423afa
mov dword [esp + 0x14], ebx
jmp 0x4081d8
mov edx, dword [0x44169c]
mov dword [esp + 0xc], edx
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
push str._s_shellopencommand
push ecx
mov byte [esp + 0x130], 2
call fcn.00422bb2
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push ecx
push SysReAllocString
mov dword [esp + 0x20], 0x104
call esi
test eax, eax
je 0x408183
lea edx, [esp + 8]
push edx
jmp 0x4081b6
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
call fcn.00423f0e
push 0x440040
lea ecx, [esp + 0xc]
call fcn.0042282c
test eax, eax
jge 0x4081b1
push 0x44003c
lea ecx, [esp + 0xc]
call fcn.00424161
lea ecx, [esp + 8]
push ecx
mov esi, dword [esp + 0x130]
mov ecx, esi
call fcn.00423afa
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x124], bl
call fcn.00423d85
lea ecx, [esp + 8]
mov byte [esp + 0x124], 0
call fcn.00423d85
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret
Function at 0x408370
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4314f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0
call fcn.00424319
mov eax, dword [0x44169c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 1
mov dword [esp + 0x18], vtable.CFileException.0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.00423f0e
mov esi, dword [esp + 0x40]
mov dword [esp + 0x30], 2
test esi, 0x1000
je 0x4084a4
mov edi, dword [esp + 0x3c]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push esi
mov edx, dword [ecx]
push edi
call dword [edx + 0x20]
test eax, eax
jne 0x40852c
push 0x14
call fcn.00423ac6
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
mov byte [esp + 0x30], 3
je 0x408487
mov ecx, dword [esp + 0x20]
push ecx
push 1
push edi
lea ecx, [esp + 0x4c]
call fcn.00423df3
mov dword [esp + 0x10], 1
push eax
lea edx, [esp + 0x18]
push 0x43f234
push edx
mov byte [esp + 0x44], 4
call fcn.0042408e
mov dword [esp + 0x10], 3
push ecx
mov dword [esp + 0x3c], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x43f224
push eax
push ecx
call fcn.0042401a
mov ecx, esi
call fcn.00403810
jmp 0x408489
xor eax, eax
lea edx, [esp + 0x38]
push 0x439070
push edx
mov dword [esp + 0x38], 7
mov dword [esp + 0x40], eax
call fcn.0041381a
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
lea edx, [esp + 0x14]
mov eax, dword [ecx]
push edx
push esi
push edi
call dword [eax + 0x20]
test eax, eax
jne 0x40852c
push 0x14
call fcn.00423ac6
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
mov byte [esp + 0x30], 8
je 0x40850f
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
push 1
push edi
call fcn.00423df3
mov dword [esp + 0x10], 4
push ecx
mov byte [esp + 0x3c], 9
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x43f2e0
push eax
push ecx
call fcn.0042401a
mov ecx, esi
call fcn.00403810
jmp 0x408511
xor eax, eax
lea edx, [esp + 0x38]
push 0x439070
push edx
mov dword [esp + 0x38], 0xa
mov dword [esp + 0x40], eax
call fcn.0041381a
mov dword [esp + 0x14], vtable.CFileException.0
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], 0xb
call fcn.00423d85
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
Function at 0x408560
Capabilities:
Copy file
Delete file
Move file
Set file attributes

Disassembly:
mov al, byte [esp + 0xc]
push ebx
push ebp
push esi
test al, al
push edi
je 0x408580
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x408590
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x40859b
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, byte [esp + 0x1c]
test al, al
je 0x4085cb
push 0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x4085d3
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x408594
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push ebp
push 0x440070
mov ebx, eax
call fcn.004089b0
add edi, 0x1f4
add esp, 0xc
cmp edi, 0x7d0
jl 0x40859d
push 0x440060
call fcn.004089b0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret

Function at 0x408620
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4086a2
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 2
je 0x4086a2
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4086a2
call ebp
cmp eax, 2
je 0x4086a2
call ebp
push edi
push 0x440090
mov ebx, eax
call fcn.004089b0
add esi, 0x1f4
add esp, 8
cmp esi, 0x7d0
jl 0x408642
push 0x440060
call fcn.004089b0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret

Function at 0x408920
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x431598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 8]
call fcn.00423df3
lea eax, [esp + 8]
push 5
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.00422716
mov eax, dword [eax]
push str.__new
push eax
call fcn.00413a28
add esp, 8
lea ecx, [esp + 8]
test eax, eax
sete bl
call fcn.00423d85
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00423d85
mov ecx, dword [esp + 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x422040
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004138b0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42210b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42210b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4220be
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4220c9
or bh, 8
and edi, 0x8000000
je 0x4220e4
mov eax, dword [0x468fbc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42210b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4224e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42250b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42252f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42254a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x427d35
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x427d77
call fcn.0042d776
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x427d77
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x427d6e
xor eax, eax
jmp 0x427d7f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00427d85
pop edi
pop esi
pop ebx
ret 4

Function at 0x42bb35
Capabilities:
Create http request

Disassembly:
mov eax, 0x4316c8
call fcn.00414350
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x42bb6d
call fcn.0042d776
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x42bb92
push eax
push dword [esi + 4]
call fcn.0042c7b8
jmp 0x42bb9e
push esi
push eax
mov ecx, 0x465800
call fcn.0042bbaf
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x42be60
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x431727
call fcn.00414350
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00428fd9
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x44169c]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.00423f0e
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00423f0e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6b0f05c9
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x6274033a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219