joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418710
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x461d98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 4]
push ecx
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4187ab
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.004092c0
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov eax, dword [esi + 0x7c]
push ebp
cmp eax, ebx
push edi
je 0x418815
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, ebp
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x84], eax
push eax
mov eax, dword [esi + 0x80]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, eax
push edi
call ebp
test eax, eax
je 0x41880b
xor edi, edi
cmp edi, ebx
mov dword [esi + 0x7c], ebx
je 0x418815
push edi
call ebp
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
push 0xcc0020
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
sub edx, ecx
mov ecx, dword [esi + 0x80]
sub eax, ebp
push edx
push eax
push ebx
push ebx
push ecx
call edi
mov edx, dword [esi + 0x80]
mov ecx, esi
push edx
call fcn.00418940
mov ecx, dword [esi + 0x80]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x80]
mov esi, dword [esp + 0x10]
push 0xcc0020
sub eax, ecx
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
push edx
mov edx, dword [esp + 0x30]
sub ecx, esi
push eax
push ecx
push ebx
push ebx
push edx
call edi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x68]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4
Function at 0x4204c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46281b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
call fcn.004286e0
add esp, 4
test eax, eax
je 0x4205dc
mov ecx, dword [esp + 4]
push edi
lea edx, [esp + 4]
push ecx
push edx
call fcn.00420160
add esp, 8
mov ax, word [0x47a15c]
mov ecx, 0x81
mov word [esp + 0xc], ax
xor eax, eax
lea edi, [esp + 0xe]
push 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x25
push ecx
push 0
mov dword [esp + 0x22c], 0
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0xc]
push str.personalbankportal.exe
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.00402880
add esp, 8
test eax, eax
mov eax, dword [esp + 4]
pop edi
je 0x4205b1
mov ecx, dword [0x46f430]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x420597
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420597
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
add esp, 0x21c
ret
mov edx, dword [0x46f430]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4205dc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4205dc
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x210]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x420600
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea ecx, [ebx + 0x850]
mov dword [esp + 0x14], ebx
mov dword [0x47b3f8], 1
call fcn.00446db0
xor edx, edx
mov eax, dword [ebx + 0xac0]
lea ecx, [ebx + 0xabc]
test eax, eax
mov dword [esp + 0x10], edx
je 0x4206e0
mov esi, dword [ecx + 8]
sub esi, eax
sar esi, 2
cmp edx, esi
jae 0x4206e0
push edx
call fcn.004216f0
push ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], esp
mov esi, esp
mov edx, dword [ecx - 0xc]
test edx, edx
jl 0x42067f
mov dword [esi], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, 0x47b738
call fcn.00447f30
mov edx, dword [esp + 0x10]
inc edx
jmp 0x420624
mov ecx, dword [0x46f42c]
mov dword [esi], ecx
mov ebp, dword [eax]
test ebp, ebp
jne 0x420691
xor edi, edi
jmp 0x42069a
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, esi
call fcn.00408340
test eax, eax
je 0x4206cc
mov eax, dword [esi]
lea ebx, [edi + edi]
push ebx
lea edx, [edi + edi + 2]
push ebp
push edx
push eax
call fcn.00407060
mov ecx, dword [esi]
add esp, 0x10
mov dword [ecx - 8], edi
mov edx, dword [esi]
mov word [edx + ebx], 0
mov ebx, dword [esp + 0x18]
mov ecx, 0x47b738
call fcn.00447f30
mov edx, dword [esp + 0x10]
inc edx
jmp 0x420624
mov eax, dword [ebx + 4]
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, ebx
call fcn.004207a0
test eax, eax
je 0x420765
mov ecx, dword [ebx + 0xa54]
add ecx, 0x8c
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420750
mov ecx, 0x47b770
mov dword [esp + 0x14], 0
call fcn.0040d0c0
mov eax, dword [ebx + 0xa54]
lea edx, [esp + 0x14]
push edx
push 1
add eax, 0x8c
push 2
push eax
mov ecx, 0x47b770
call fcn.0040d600
mov ecx, 0x47b770
call fcn.0040d0f0
mov ecx, ebx
call fcn.00420010
mov ecx, dword [ebx + 4]
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42076f
mov dword [ebx + 0xa44], 1
lea edx, [ebx + 0xb4c]
mov ecx, 0x47b630
push edx
call fcn.00413260
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4207a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x462838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x46f42c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebp, 1
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xa5c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov dword [esp + 0x20], 0
jle 0x420876
cmp eax, 2
jg 0x420876
lea ecx, [esp + 0x10]
push ecx
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push ebp
push str.ProtectType
push str.main
call ebx
mov ecx, dword [0x46f430]
mov edi, eax
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42083f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42083f
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
cmp edi, 1
jne 0x420876
mov ecx, dword [esi + 4]
push 0
push 0x95
push 0x94
push 0xa6
push 0x79
push ecx
call fcn.00421be0
add esp, 0x18
cmp eax, edi
jne 0x420876
push 0xb8
call fcn.00403e10
add esp, 4
xor ebp, ebp
mov eax, dword [esi + 0xa60]
dec eax
je 0x4208bd
dec eax
jne 0x420943
mov edx, dword [esi + 4]
push 0
push 0x95
push 0x94
push 0xdc
push 0x79
push edx
call fcn.00421be0
add esp, 0x18
cmp eax, 1
jne 0x420943
push str.http:__www.360.cn
call fcn.00401ea0
jmp 0x42093e
lea eax, [esp + 0x10]
push eax
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push 1
push str.ProtectType
push str.main
call ebx
mov edx, dword [0x46f430]
mov edi, eax
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42090c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42090c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
cmp edi, 1
jne 0x420943
mov eax, dword [esi + 4]
push 0
push 0x95
push 0x94
push 0xa0
push 0x79
push eax
call fcn.00421be0
add esp, 0x18
cmp eax, edi
jne 0x420943
push 0xb8
call fcn.00403e10
add esp, 4
xor ebp, ebp
xor eax, eax
mov dword [esi + 0xa60], eax
mov dword [esi + 0xa5c], eax
mov esi, dword [esp + 0x14]
mov eax, dword [0x46f430]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x420978
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420978
push esi
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4286e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x42876d
lea eax, [esp + 8]
mov dword [esp + 8], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x428766
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea ecx, [esp + 0x2c]
push str.personalbankportal.exe
push ecx
call esi
test eax, eax
je 0x428744
lea edx, [esp + 8]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x428766
lea eax, [esp + 0x2c]
push str.personalbankportal.exe
push eax
call esi
test eax, eax
jne 0x428725
mov ecx, dword [esp + 0x238]
mov edx, dword [esp + 0x10]
push edi
mov dword [ecx], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x22c
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x22c
ret
Function at 0x428ae0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4631bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
call fcn.004286e0
add esp, 4
test eax, eax
je 0x428bfc
mov ecx, dword [esp + 4]
push edi
lea edx, [esp + 4]
push ecx
push edx
call fcn.00428780
add esp, 8
mov ax, word [0x47a15c]
mov ecx, 0x81
mov word [esp + 0xc], ax
xor eax, eax
lea edi, [esp + 0xe]
push 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x25
push ecx
push 0
mov dword [esp + 0x22c], 0
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0xc]
push str.personalbankportal.exe
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.00402880
add esp, 8
test eax, eax
mov eax, dword [esp + 4]
pop edi
je 0x428bd1
mov ecx, dword [0x46f430]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x428bb7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428bb7
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
add esp, 0x21c
ret
mov edx, dword [0x46f430]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428bfc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428bfc
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x210]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x428c20
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea ecx, [ebx + 0x850]
mov dword [esp + 0x14], ebx
mov dword [0x47b3f8], 1
call fcn.00446db0
xor edx, edx
mov eax, dword [ebx + 0xac0]
lea ecx, [ebx + 0xabc]
test eax, eax
mov dword [esp + 0x10], edx
je 0x428d00
mov esi, dword [ecx + 8]
sub esi, eax
sar esi, 2
cmp edx, esi
jae 0x428d00
push edx
call fcn.004216f0
push ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], esp
mov esi, esp
mov edx, dword [ecx - 0xc]
test edx, edx
jl 0x428c9f
mov dword [esi], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, 0x47b738
call fcn.00447f30
mov edx, dword [esp + 0x10]
inc edx
jmp 0x428c44
mov ecx, dword [0x46f42c]
mov dword [esi], ecx
mov ebp, dword [eax]
test ebp, ebp
jne 0x428cb1
xor edi, edi
jmp 0x428cba
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, esi
call fcn.00408340
test eax, eax
je 0x428cec
mov eax, dword [esi]
lea ebx, [edi + edi]
push ebx
lea edx, [edi + edi + 2]
push ebp
push edx
push eax
call fcn.00407060
mov ecx, dword [esi]
add esp, 0x10
mov dword [ecx - 8], edi
mov edx, dword [esi]
mov word [edx + ebx], 0
mov ebx, dword [esp + 0x18]
mov ecx, 0x47b738
call fcn.00447f30
mov edx, dword [esp + 0x10]
inc edx
jmp 0x428c44
mov eax, dword [ebx + 4]
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, ebx
call fcn.00428df0
test eax, eax
je 0x428d85
mov ecx, dword [ebx + 0xa54]
add ecx, 0x8c
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428d70
mov ecx, 0x47b770
mov dword [esp + 0x14], 0
call fcn.0040d0c0
mov eax, dword [ebx + 0xa54]
lea edx, [esp + 0x14]
push edx
push 1
add eax, 0x8c
push 2
push eax
mov ecx, 0x47b770
call fcn.0040d600
mov ecx, 0x47b770
call fcn.0040d0f0
mov ecx, ebx
call fcn.00428590
mov ecx, dword [ebx + 4]
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x428d8f
mov dword [ebx + 0xa44], 1
lea edx, [ebx + 0xb4c]
mov ecx, 0x47b630
push edx
call fcn.00413260
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x428df0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4631d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x46f42c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebp, 1
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xa5c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov dword [esp + 0x20], 0
jle 0x428ec6
cmp eax, 2
jg 0x428ec6
lea ecx, [esp + 0x10]
push ecx
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push ebp
push str.ProtectType
push str.main
call ebx
mov ecx, dword [0x46f430]
mov edi, eax
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x428e8f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428e8f
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
cmp edi, 1
jne 0x428ec6
mov ecx, dword [esi + 4]
push 0
push 0x95
push 0x94
push 0xa6
push 0x79
push ecx
call fcn.00429dd0
add esp, 0x18
cmp eax, edi
jne 0x428ec6
push 0xb8
call fcn.00403e10
add esp, 4
xor ebp, ebp
mov eax, dword [esi + 0xa60]
dec eax
je 0x428f0d
dec eax
jne 0x428f93
mov edx, dword [esi + 4]
push 0
push 0x95
push 0x94
push 0xdc
push 0x79
push edx
call fcn.00429dd0
add esp, 0x18
cmp eax, 1
jne 0x428f93
push str.http:__www.360.cn
call fcn.00401ea0
jmp 0x428f8e
lea eax, [esp + 0x10]
push eax
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push 1
push str.ProtectType
push str.main
call ebx
mov edx, dword [0x46f430]
mov edi, eax
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428f5c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428f5c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
cmp edi, 1
jne 0x428f93
mov eax, dword [esi + 4]
push 0
push 0x95
push 0x94
push 0xa0
push 0x79
push eax
call fcn.00429dd0
add esp, 0x18
cmp eax, edi
jne 0x428f93
push 0xb8
call fcn.00403e10
add esp, 4
xor ebp, ebp
xor eax, eax
mov dword [esi + 0xa60], eax
mov dword [esi + 0xa5c], eax
mov esi, dword [esp + 0x14]
mov eax, dword [0x46f430]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x428fc8
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428fc8
push esi
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42ae40
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x463280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x34]
push edi
xor ebp, ebp
push ecx
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x30], eax
push 1
push eax
mov dword [esp + 0x88], ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebx + 4]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x46f42c]
mov dword [esp + 0x10], eax
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
mov ecx, 0x3e8
cmp edx, 1
mov byte [esp + 0x80], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
jg 0x42aed8
cmp dword [eax - 4], ecx
jge 0x42af37
mov edi, dword [eax - 8]
cmp edi, ecx
mov dword [esp + 0x1c], edi
jle 0x42aee7
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00408040
test eax, eax
je 0x42af37
mov edx, dword [esp + 0x14]
lea ecx, [edi + edi + 2]
lea eax, [edx + edx + 2]
cmp eax, ecx
jb 0x42af26
mov edi, dword [esp + 0x10]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push esi
mov dword [eax - 8], edi
call fcn.00408420
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
push 0x3e8
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.00408290
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov word [edx + eax*2], bp
mov eax, dword [ebx + 0x28]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ebx, dword [ebx + 0x24]
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edx
call esi
mov edi, eax
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
push 0x14
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x30]
push edi
push eax
call esi
mov eax, dword [esp + 0x10]
mov edx, dword [0x46f430]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x42afe2
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42afe2
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 4
Function at 0x42d120
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x463478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 4]
push ecx
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x42d1bb
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.004092c0
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov eax, dword [esi + 0x7c]
push ebp
cmp eax, ebx
push edi
je 0x42d225
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, ebp
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x84], eax
push eax
mov eax, dword [esi + 0x80]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, eax
push edi
call ebp
test eax, eax
je 0x42d21b
xor edi, edi
cmp edi, ebx
mov dword [esi + 0x7c], ebx
je 0x42d225
push edi
call ebp
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
push 0xcc0020
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
sub edx, ecx
mov ecx, dword [esi + 0x80]
sub eax, ebp
push edx
push eax
push ebx
push ebx
push ecx
call edi
mov edx, dword [esi + 0x80]
mov ecx, esi
push edx
call fcn.0042d2d0
mov ecx, dword [esi + 0x80]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x80]
mov esi, dword [esp + 0x10]
push 0xcc0020
sub eax, ecx
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
push edx
mov edx, dword [esp + 0x30]
sub ecx, esi
push eax
push ecx
push ebx
push ebx
push edx
call edi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x68]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4
Function at 0x42d870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42d88a
call fcn.0042d840
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [0x47b7a8]
and edx, 0xffff
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x42d95d
mov eax, dword [0x47b7a8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42d95d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x42d95d
mov eax, dword [0x47b7a8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov ecx, esi
push ebx
push edi
call fcn.0042dac0
test eax, eax
je 0x42d8fa
mov dword [esp + 0xc], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebx
test eax, eax
je 0x42d94f
mov ecx, dword [eax]
lea edi, [esi + 8]
push edi
push eax
call dword [ecx + 0x1c]
mov eax, dword [esi + 4]
add esi, 0x10
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x9ec
push 0x60
push eax
call ebx
mov ecx, dword [esi]
push 0x9ec
push 0x60
push ecx
mov dword [edi], eax
call ebx
mov dword [esi], eax
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8