joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47cbec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x47cc0e
cmp dword [edi + 0x3c], 0
jne 0x47cc0e
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0048a6da
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0047cc3b
pop edi
pop esi
pop ebx
ret 8

Function at 0x47e25d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47e295
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00481455
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048142d
jmp 0x47e2a1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47e2a5
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x4c2aa8
mov ecx, edi
call fcn.004811e7
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x47e2f8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x47e30b
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00481455
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0048142d
jmp 0x47e30b
mov ecx, esi
call fcn.00480970
test eax, eax
je 0x47e30b
push edi
mov ecx, eax
call fcn.0047e25d
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x47fc55
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 0x47fc97
call fcn.0048a6da
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47fc97
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47fc8e
xor eax, eax
jmp 0x47fc9f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047fca5
pop edi
pop esi
pop ebx
ret 4
Function at 0x48b05c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0048a6da
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x48b099
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48b099
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x48b09d
xor eax, eax
jmp 0x48b11b
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00480d9f
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x48b0d5
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x48b0bf
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0048b20c
push ebx
mov edi, eax
call fcn.00480dc8
test edi, edi
pop ecx
je 0x48b117
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0048afd5
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0048b120
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x48b897
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48b8c5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48b8e3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048b7fd
jmp 0x48b8e3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48b8e3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048b7fd
test edi, edi
mov eax, edi
jne 0x48b8cd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010b0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
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
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop

Function at 0x401170
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
call sym.___main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x4011fd
cmp al, 9
je 0x4011f0
cmp al, 0x20
je 0x4011f0
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp al, 0x5c
je 0x401258
cmp al, 0x22
je 0x401260
mov dword [ebp - 0x6c], 0
movzx eax, byte [ebx + 1]
inc ebx
test al, al
je 0x4011fd
cmp al, 9
sete cl
cmp al, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x4011b0
test edi, 1
jne 0x4011b0
lea esi, [esi]
movzx eax, byte [ebx + 1]
inc ebx
cmp al, 9
je 0x4011f0
cmp al, 0x20
je 0x4011f0
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x30], 1
jne 0x401218
mov word [ebp - 0x2c], 1
movzx esi, word [ebp - 0x2c]
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 sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
inc dword [ebp - 0x6c]
jmp 0x4011c7
and dword [ebp - 0x6c], 1
jne 0x4011c0
xor edi, 1
jmp 0x4011c7
Function at 0x4015d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4015e9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4015fd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40161e
cmp esi, eax
jae 0x4015f7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401610
cmp esi, eax
jae 0x4015f7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x404700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475846
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
push eax
mov esi, ecx
push 0x4b9
mov dword [esp + 0x18], esi
call fcn.0046162d
xor ebp, ebp
mov dword [esi], 0x47df88
mov eax, vtable.CBitmap.0
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x74], ebp
mov dword [esi + 0x70], eax
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x78], eax
lea ecx, [esi + 0x98]
mov byte [esp + 0x1c], 2
call fcn.00468915
lea ecx, [esi + 0xa8]
mov byte [esp + 0x1c], 3
call fcn.00468915
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CFont.0
lea ebx, [esi + 0xd0]
mov dword [ebx + 4], ebp
mov dword [ebx], vtable.CFont.0
push fcn.004019d0
push fcn.00401b40
push 1
push 4
lea ebp, [esi + 0xd8]
push ebp
mov byte [esp + 0x30], 6
call fcn.004510bd
push fcn.004019d0
push fcn.00401b40
push 4
lea eax, [esi + 0xdc]
push 4
push eax
mov byte [esp + 0x30], 7
call fcn.004510bd
push fcn.0046cb27
push 0x4042a0
push 1
push 0x50
lea ecx, [esi + 0xec]
push ecx
mov byte [esp + 0x30], 8
call fcn.004510bd
push fcn.0046cb27
push 0x4042a0
push 4
push 0x50
lea edx, [esi + 0x13c]
push edx
mov byte [esp + 0x30], 9
call fcn.004510bd
xor eax, eax
lea edx, [esi + 0xb8]
mov dword [edx], eax
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov byte [esp + 0x1c], 0xa
mov dword [edx + 0xc], eax
push ecx
push 0x47dd3c
push 0x5a
mov ecx, edi
call fcn.0046cab0
push 0x47e1a4
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov ecx, ebx
call fcn.004690a4
push 8
push 0x47e198
mov ecx, ebp
call fcn.00401fe0
push 8
push 0x47e18c
lea ecx, [esi + 0xdc]
call fcn.00401fe0
push 8
push 0x47e180
lea ecx, [esi + 0xe0]
call fcn.00401fe0
push 8
push 0x47e174
lea ecx, [esi + 0xe4]
call fcn.00401fe0
push 8
push 0x47e168
lea ecx, [esi + 0xe8]
call fcn.00401fe0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4077c0
Capabilities:
Print debug messages

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x1ba0], 1
mov eax, dword [0x49d1a0]
mov ecx, eax
push ecx
jne 0x4077fe
inc eax
mov dword [0x49d1a0], eax
mov eax, dword [esi + 0x1ba8]
mov ecx, dword [esi + 0x1ba0]
mov edx, dword [esi + ecx*4 + 0x1b90]
push eax
push edx
push str.http:__bbs.766.com_read.php_modforumdisplayfid_drpfids2938_2939_2940_2941_2942_2943page_dutime_dtnum10
lea eax, [esi + 0x1bb4]
push eax
jmp 0x407825
inc eax
mov dword [0x49d1a0], eax
mov ecx, dword [esi + 0x1ba8]
mov edx, dword [esi + 0x1ba0]
mov eax, dword [esi + edx*4 + 0x1b90]
push ecx
push eax
push str.http:__bbs.766.com_read.php_modforumdisplayfid_dpage_dutime_dtnum10
lea ecx, [esi + 0x1bb4]
push ecx
call fcn.00402460
add esp, 0x14
push 5
lea ecx, [esi + 0x183c]
call fcn.004621b1
lea edx, [esp + 4]
push edx
push 0
push esi
push 0x407710
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x407870
push 0x47e6a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret

Function at 0x408ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x475dcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00401700
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.00401700
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
mov byte [esp + 0x20], 1
call fcn.00401700
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 2
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 3
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x20], eax
mov cx, word [edi + 0x24]
mov word [esi + 0x24], cx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov eax, dword [edi + 0x34]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 4
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x34], eax
mov edi, dword [edi + 0x38]
sub edi, 0x10
push edi
mov byte [esp + 0x30], 5
call fcn.00401700
mov ecx, dword [esp + 0x28]
add esp, 0x1c
add eax, 0x10
mov dword [esi + 0x38], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4090d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x475e4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov dword [esp + 0xc], esi
call fcn.00401700
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
mov byte [esp + 0x20], 1
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 2
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 3
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 4
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
sub eax, 0x10
push eax
mov byte [esp + 0x30], 5
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
sub eax, 0x10
push eax
mov byte [esp + 0x34], 6
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
sub eax, 0x10
push eax
mov byte [esp + 0x38], 7
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
mov byte [esp + 0x3c], 8
call fcn.00401700
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
sub eax, 0x10
push eax
mov byte [esp + 0x40], 9
call fcn.00401700
add esp, 0x2c
add eax, 0x10
mov dword [esi + 0x34], eax
mov al, byte [edi + 0x38]
mov byte [esi + 0x38], al
mov cl, byte [edi + 0x39]
mov byte [esi + 0x39], cl
mov dl, byte [edi + 0x3a]
mov byte [esi + 0x3a], dl
mov al, byte [edi + 0x3b]
mov byte [esi + 0x3b], al
mov cl, byte [edi + 0x3c]
mov byte [esi + 0x3c], cl
mov dl, byte [edi + 0x3d]
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x3d], dl
mov al, byte [edi + 0x3e]
mov byte [esi + 0x3e], al
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x409360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.004035a0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401700
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4093f2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41be10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x477ac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x10]
call fcn.00468e3e
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x70]
push edi
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x90]
push 0x47e378
push ecx
push 0x97
lea ecx, [esi + 0x330]
call fcn.00438d10
mov edx, dword [esi + 0x90]
push 0x47e378
push edx
push 0xb0
lea ecx, [esi + 0x2f4]
call fcn.00438d10
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esi + 0x35c]
call fcn.00468dbd
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
sub ecx, edx
push eax
push ecx
mov ecx, dword [esp + 0x18]
push ecx
lea edi, [esi + 0x344]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.004690a4
test edi, edi
je 0x41bee1
mov edi, dword [edi + 4]
test edi, edi
je 0x41bee1
mov edx, dword [esi + 0x360]
push edi
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
push eax
call ebx
push eax
lea ecx, [esi + 0x34c]
call fcn.00468dbd
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00468e99
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x422c20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x49c220]
push esi
push str.766CF_Firebox
push str.Software766_s
mov dword [esp + 0x124], eax
lea eax, [esp + 0x20]
push 0x104
push eax
mov esi, ecx
call fcn.004516c2
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 8]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x422c9a
xor eax, eax
pop esi
mov ecx, dword [esp + 0x118]
call fcn.0045086e
add esp, 0x11c
ret
push edi
mov edi, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.BackUpMusic
push edi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x422cd4
mov cx, word [esp + 0xc]
mov word [esi + 0x6d0], cx
test edi, edi
movzx esi, word [esi + 0x6d0]
je 0x422ce6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
pop edi
mov eax, esi
pop esi
call fcn.0045086e
add esp, 0x11c
ret
Function at 0x425810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
mov eax, vtable.CRgn.0
push esi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x1c]
push eax
mov byte [esp + 0x34], 1
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0046423a
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.00462173
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 8]
mov byte [esp + 0x30], bl
mov dword [esp + 8], esi
call fcn.004690fb
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x10], esi
call fcn.004690fb
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4268f0
Capabilities:
Create thread
Print debug messages

Disassembly:
push esi
mov esi, ecx
push 0x64
push 0
lea ecx, [esi + 0x2c4]
call fcn.00431f90
lea eax, [esi + 0x33c]
push eax
push 0
push esi
push 0x426850
push 0
push 0
mov dword [esi + 0x324], 0xffff
mov dword [esi + 0x328], 0x9300
mov dword [esi + 0x32c], 0xfae6e6
mov dword [esi + 0x330], 0
mov byte [esi + 0x338], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x340], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x426967
push 0x47fbe4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
ret
mov ecx, dword [esi + 0x340]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x42ac60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, dword [0x49c220]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push edi
push eax
mov byte [ebp], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esp + 0x14], al
lea esi, [esp + 0x15]
mov edi, 4
call fcn.00451719
cdq
mov ecx, 0xff
idiv ecx
inc esi
dec edi
mov byte [esi - 1], dl
jne 0x42ac90
mov bl, byte [esp + 0x14]
movzx esi, word [esp + 0x2c]
movzx ecx, bl
add ecx, 4
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
movzx ecx, ax
shl ecx, 2
lea edx, [ecx + 1]
cmp edx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
jle 0x42acef
pop edi
pop esi
pop ebp
mov ax, dx
pop ebx
mov ecx, dword [esp + 0xc]
call fcn.0045086e
add esp, 0x10
ret
xor edi, edi
test ax, ax
jbe 0x42ad56
movzx dx, bl
mov word [esp + 0x2c], dx
xor esi, esi
mov eax, esi
cdq
mov ecx, 5
idiv ecx
cmp di, word [esp + 0x2c]
mov bl, byte [esp + edx + 0x14]
jae 0x42ad1f
mov edx, dword [esp + 0x24]
mov dl, byte [esi + edx]
jmp 0x42ad2c
call fcn.00451719
cdq
mov ecx, 0xff
idiv ecx
xor dl, bl
movzx edx, dl
push edx
movzx eax, bl
push eax
push str._02x_02x
push 5
push ebp
call fcn.004516c2
add esp, 0x14
inc edi
inc esi
add ebp, 4
cmp di, word [esp + 0x28]
jb 0x42ad01
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov ax, cx
mov ecx, dword [esp + 0x14]
pop ebp
pop ebx
call fcn.0045086e
add esp, 0x10
ret

Function at 0x42ad70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp di, 0x14
jae 0x42ad98
pop edi
xor ax, ax
pop esi
add esp, 0x10
ret
mov cl, byte [esi]
mov dl, byte [esi + 1]
push ebp
push 0x10
lea eax, [esp + 0x18]
mov byte [esp + 0x10], cl
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x20], 0
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], 0
call fcn.004518fa
mov ecx, eax
movzx ebp, cx
lea edx, [ebp + 4]
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
movzx eax, di
shl edx, 2
add esp, 0xc
cmp eax, edx
mov dword [esp + 0x18], ecx
je 0x42adfa
pop ebp
pop edi
xor ax, ax
pop esi
add esp, 0x10
ret
movzx edx, word [esp + 0x28]
dec edx
cmp ebp, edx
jg 0x42ae7a
xor edi, edi
test ebp, ebp
jle 0x42ae72
add esi, 2
push ebx
mov edi, edi
mov cl, byte [esi - 1]
mov dl, byte [esi]
mov al, byte [esi - 2]
mov byte [esp + 0x15], cl
push 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], dl
mov byte [esp + 0x18], al
mov al, byte [esi + 1]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x22], 0
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], 0
call fcn.004518fa
mov ebx, eax
push 0x10
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004518fa
mov edx, dword [esp + 0x40]
xor al, bl
add esp, 0x18
mov byte [edi + edx], al
inc edi
add esi, 4
cmp edi, ebp
jl 0x42ae10
mov ecx, dword [esp + 0x1c]
pop ebx
mov eax, dword [esp + 0x24]
mov byte [eax + ebp], 0
pop ebp
pop edi
mov ax, cx
pop esi
add esp, 0x10
ret