joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d9e0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x57e618
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x3b0], 2
jne 0x46da2b
cmp dword [esi + 0x374], 0
je 0x46da2b
push 1
lea eax, [esi + 0x24]
mov ecx, 0x1518
call fcn.0046ebd0
jmp 0x46da37
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esp + 0x14]
call fcn.00439120
mov dword [esp + 0x40], 0
call fcn.00438ee0
mov ecx, edi
mov edx, eax
call fcn.0043c840
test eax, eax
mov ebx, str.1483962441
jne 0x46da64
mov ebx, str.2093586700
call fcn.0041a6c0
push 2
push esi
call fcn.0046e750
lea esi, [esp + 0x14]
call fcn.00439060
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x46e600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57e588
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], 0
mov eax, dword [esi + 0x378]
push eax
push 0x58cbe8
lea edi, [esp + 0x1c]
call fcn.00410c00
add esp, 8
lea edi, [esp + 0x28]
call fcn.00439120
mov byte [esp + 0x54], 1
call fcn.00438ee0
mov ecx, edi
mov edx, eax
call fcn.0043c840
mov edi, eax
mov eax, dword [esp + 0x40]
push 3
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
call fcn.00410660
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x5c], 2
mov eax, dword [esp + 0x4c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebp, esp
call fcn.00410660
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x60], 3
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov ebp, esp
call fcn.00410660
add eax, 0x10
mov dword [ebp], eax
push edi
mov byte [esp + 0x68], 4
mov edi, dword [esp + 0x28]
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x3c], esp
mov ebp, esp
call fcn.00410660
mov ecx, dword [esp + 0x74]
add eax, 0x10
mov dword [ebp], eax
mov edx, dword [esi + 0x3b0]
push ecx
push edx
mov byte [esp + 0x74], 1
call fcn.005202c0
lea esi, [esp + 0x28]
call fcn.00439060
mov dword [esp + 0x54], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e734
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x48
ret 4
Function at 0x46ff40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x50
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46ff9c
mov eax, dword [esp + 4]
test eax, eax
je 0x46ffab
mov edx, dword [esp + 0x14]
lea ecx, [esp + 8]
push ecx
push edx
lea ecx, [esp + 0x14]
push ecx
push esi
push 0x594110
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46ff9c
lea esi, [eax + 1]
mov eax, dword [esp + 4]
test eax, eax
je 0x46ffab
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x4700b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x574cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x18], vtable.CKANRegisterKey.0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], esi
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x5940b0
lea ebx, [esi + 0xa]
lea eax, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00410570
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x470129
push eax
call ebp
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREKingsoftkwifiKFlag
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47018e
test edi, edi
je 0x47016f
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x470160
sub eax, edx
sar eax, 1
push eax
push edi
lea edx, [esp + 0x18]
push edx
call fcn.00410240
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.00412180
mov esi, eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4701b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], vtable.CKANRegisterKey.0
je 0x4701c6
push eax
call ebp
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x471800
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x384]
push 0
push 0
push 0
mov dword [esi + 0x31c], ecx
mov dword [esi + 0x318], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
xor eax, eax
ret
Function at 0x471910
Capabilities:
Hide graphical window

Disassembly:
cmp ebx, 0x4e
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, eax
jne 0x47193f
cmp dword [ebp + 4], 0xffffffff
jne 0x47193f
mov ecx, ebp
mov dword [esi + 0x378], 1
call fcn.00471840
mov dword [edi], eax
cmp dword [esi + 0x378], 0
jne 0x4719b6
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x368]
push 0
push edi
push ebp
push ecx
push ebx
push edx
push esi
mov dword [esp + 0x30], eax
call fcn.0044fed0
test eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x368], ecx
jne 0x4719b6
mov edx, dword [esp + 0x10]
push edi
push edx
lea edx, [esi + 0x370]
mov eax, ebp
mov ecx, ebx
call fcn.00482750
test eax, eax
jne 0x4719b6
cmp ebx, 0x110
jne 0x4719c0
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esp
mov dword [esi + 0x378], 1
mov dword [eax], ecx
mov ecx, esi
call fcn.004715e0
mov dword [edi], eax
cmp dword [esi + 0x378], 0
je 0x471a39
mov eax, 1
pop esi
pop ebp
ret 0xc
cmp ebx, 0x465
jne 0x4719f7
mov ecx, esi
mov dword [esi + 0x378], 1
call fcn.00481b40
mov dword [esi + 0x3c4], eax
mov eax, dword [esi + 4]
push 5
lea ecx, [esi + 0x394]
call fcn.004cee20
mov dword [edi], 0
jmp 0x4719a9
cmp ebx, 0x402
jne 0x471a1d
mov edx, dword [esi + 4]
push 5
push edx
mov dword [esi + 0x378], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi], 0
jmp 0x4719a9
cmp ebx, 0x403
jne 0x471a39
mov dword [esi + 0x378], 1
call fcn.00471800
jmp 0x4719a7
pop esi
xor eax, eax
pop ebp
ret 0xc

Function at 0x472660
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x370]
test eax, eax
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4726a4
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4726a4
mov eax, dword [esi + 0x370]
mov ecx, dword [eax + 4]
add eax, 4
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4726a4
mov edx, dword [esi + 0x370]
mov eax, dword [edx + 4]
push 0
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
pop edi
ret

Function at 0x472820
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x370]
test eax, eax
je 0x472861
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x472861
mov eax, dword [esi + 0x370]
mov ecx, dword [eax + 4]
add eax, 4
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x472861
mov edx, dword [esi + 0x370]
mov eax, dword [edx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x473ba0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esi + 0x45c], 0
je 0x473bd0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
mov dword [esi + 0x45c], 0
mov eax, 1
ret
Function at 0x4772b0
Capabilities:
Check if file exists
Create directory
Get graphical window text
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x57aac0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
push 0xc9
push 0x400000
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [esi + 4]
push 1
push 0x80
push eax
call ebx
push 0xc9
push 0x400000
call edi
mov ecx, dword [esi + 4]
push eax
push 0
push 0x80
push ecx
call ebx
mov edi, 0xd
call fcn.0043b9f0
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push 0
push 0xf010
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
call fcn.00456410
add eax, 0x90
push eax
mov ecx, 0x591ae8
call fcn.004133e0
add esp, 4
test al, al
jne 0x477394
call fcn.00456410
add eax, 0x90
push eax
mov ecx, str.Microsoft_YaHei
call fcn.004133e0
add esp, 4
test al, al
jne 0x477394
push 0x591f2c
push 0x5f
lea ecx, [esi + 0x24]
push ecx
mov ecx, str.36_16__92_30
call fcn.0044fd30
xor edi, edi
lea ebx, [esp + 0x18]
call fcn.004125d0
push eax
lea edx, [esp + 0x18]
push edx
mov ebx, str.datahttproot_files_
mov dword [esp + 0x2c], edi
call fcn.0041a8a0
add esp, 8
lea edi, [esi + 0x9f0]
mov byte [esp + 0x24], 1
call fcn.004101e0
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4773eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477413
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47742a
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esi + 0x36c]
push eax
call fcn.004e84b0
push esi
call fcn.00477480
lea eax, [esi + 0x24]
test eax, eax
lea ebx, [esi + 0x374]
je 0x47744e
lea edi, [eax - 0x24]
jmp 0x477450
xor edi, edi
mov esi, 0x3c2
call fcn.004507b0
test eax, eax
je 0x477464
mov dword [eax + 0x9c], ebx
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
Function at 0x477870
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x57f520
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0047fda0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 4]
mov edi, eax
mov dword [edi], ecx
mov edx, dword [esi + 4]
add esp, 4
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push edi
push 0x4fa
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x47c040
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x9b0], 0
je 0x47c078
mov eax, dword [esi + 0x3ac]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x394]
push 0
push 0x67
push ecx
lea eax, [esi + 0x25]
call fcn.004824b0
mov dword [esi + 0x9b0], 0
call fcn.0047bfe0
mov eax, 1
pop esi
ret
Function at 0x47dcd0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x57f1a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
cmp dword [esp + 0x44], 0
je 0x47df77
cmp dword [ebx + 0xa04], 0
je 0x47de2f
cmp dword [ebx + 0x9e4], 0
jne 0x47deba
mov eax, ebx
call fcn.004810b0
lea esi, [ebx + 0x24]
push 1
mov ecx, 0xc8
mov eax, esi
mov dword [ebx + 0x9e4], 1
call fcn.0046ebd0
push 1
mov ecx, 0x384
mov eax, esi
call fcn.0046ebd0
push 0
mov ecx, 0xc9
mov eax, esi
call fcn.0046ebd0
push 0
mov ecx, 0xca
mov eax, esi
call fcn.0046ebd0
push 0
mov ecx, 0x385
mov eax, esi
call fcn.0046ebd0
push 0
mov ecx, 0x38e
mov eax, esi
call fcn.0046ebd0
push 0
mov ecx, 0x3ac
mov eax, esi
call fcn.0046ebd0
push 0
mov ecx, 0x3c0
mov eax, esi
call fcn.0046ebd0
push 0
mov ecx, 0xce
mov eax, esi
call fcn.0046ebd0
push 0
mov ecx, 0x386
mov eax, esi
call fcn.0046ebd0
push str.class
push 0xc8
push esi
mov ecx, str.style_drop_header_bg
call fcn.0044fd30
push str.class
push 0x384
push esi
mov ecx, str.style_drop_body_bg
call fcn.0044fd30
push 1
mov ecx, 0xce
mov eax, esi
call fcn.0046ebd0
push 1
mov ecx, 0x386
mov eax, esi
call fcn.0046ebd0
push str.class
push 0xc8
push esi
mov ecx, str.style_drop_header_bg_ex
call fcn.0044fd30
push str.class
push 0x384
push esi
mov ecx, str.style_drop_body_bg_ex
call fcn.0044fd30
jmp 0x47deba
mov eax, ebx
call fcn.004810b0
lea esi, [ebx + 0x24]
push 0
mov ecx, 0xc8
mov eax, esi
mov dword [ebx + 0x9e4], 0
call fcn.0046ebd0
push 0
mov ecx, 0x384
mov eax, esi
call fcn.0046ebd0
push 0
mov ecx, 0x385
mov eax, esi
call fcn.0046ebd0
push ebx
call fcn.004808c0
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47de97
mov ecx, dword [ebx + 4]
push 0
push 0xf120
push 0x112
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, 0x37a
mov edi, ebx
call fcn.004507b0
cmp dword [ebx + 0xa08], 0
je 0x47deb3
mov edi, 1
jmp 0x47deb5
xor edi, edi
call fcn.00466a90
cmp dword [ebx + 0x3a4], 0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
jne 0x47dee1
push 0x4e
call esi
cmp dword [0x619a84], eax
jne 0x47dee1
push 0x4f
call esi
cmp dword [0x619a88], eax
je 0x47df04
mov edi, ebx
call fcn.0047dbc0
push 0x4e
mov dword [ebx + 0x3a4], 0
call esi
push 0x4f
mov dword [0x619a84], eax
call esi
mov dword [0x619a88], eax
mov esi, dword [ebx + 4]
call fcn.00439e50
mov edx, dword [ebx + 4]
push 0
push 0
push 0xf
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebx + 0x9bc], 0
je 0x47df83
lea eax, [esp + 0x1c]
call fcn.00418c10
mov edx, eax
lea ecx, [ebx + 0x9c0]
lea eax, [esp + 0xc]
call fcn.00418bf0
cmp dword [esp + 0x14], 0x19
jg 0x47df59
mov eax, dword [ebx + 4]
push 0
push 0x15e
push 0x12
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x9bc], 0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 4
mov ecx, dword [ebx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 4
Function at 0x47dfa0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x57f4c0
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
and eax, 0xfff0
sub eax, 0xf010
mov dword [ecx + 0x378], 0
je 0x47e006
sub eax, 0x50
jne 0x47e012
push eax
mov eax, dword [ecx + 4]
push eax
mov dword [ecx + 0x378], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0xc
mov edx, dword [ecx + 0x9ac]
mov dword [ecx + 0x378], edx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0xc

Function at 0x47f3c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x579448
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x47f4c9
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47f4c9
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.0040ff50
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.MSVCR80.dll__wcsicmp]
push str..png
push edx
call esi
add esp, 8
test eax, eax
je 0x47f47d
mov eax, dword [esp + 0xc]
push str..jpg
push eax
call esi
add esp, 8
test eax, eax
je 0x47f47d
mov ecx, dword [esp + 0xc]
push str..bmp
push ecx
call esi
add esp, 8
test eax, eax
je 0x47f47d
mov edx, dword [esp + 0xc]
push str..jpeg
push edx
call esi
add esp, 8
test eax, eax
je 0x47f47d
mov eax, dword [esp + 0xc]
push str..gif
push eax
call esi
add esp, 8
test eax, eax
jne 0x47f48d
mov eax, edi
call fcn.0043a700
test al, al
je 0x47f48d
mov ebx, 1
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f4b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x47f4e0
Capabilities:
Check if file exists

Disassembly:
push ebp
push esi
push 0x410
xor ebp, ebp
call fcn.00569ecc
add esp, 4
test ebx, ebx
mov esi, eax
je 0x47f54a
push edi
mov edi, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push ebp
push ebp
push 0xffffffffffffffff
push ebx
call edi
cmp eax, 1
jne 0x47f542
push 0x410
push ebp
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x208
push esi
push ebp
push ebx
call edi
test esi, esi
je 0x47f542
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47f542
mov edi, dword [esp + 0x10]
mov edx, esi
call fcn.00410020
mov ebp, 1
push ebx
call dword [sym.imp.SHELL32.dll_DragFinish]
pop edi
test esi, esi
je 0x47f557
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
pop esi
mov eax, ebp
pop ebp
ret 4
Function at 0x47f6b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x57a8c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x47f784
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47f784
mov eax, dword [esp + 0x28]
add eax, 0x24
je 0x47f704
lea edi, [eax - 0x24]
jmp 0x47f706
xor edi, edi
mov esi, 0x3c2
call fcn.004507b0
test eax, eax
je 0x47f71e
lea ebx, [eax + 0x14]
mov esi, eax
call fcn.0045f250
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0
mov eax, dword [ebp]
push eax
push str.KClientMgrDlg::_RedrawSendImg:__s
lea edi, [esp + 0x34]
call fcn.00441d40
mov esi, dword [esp + 0x34]
push esi
push 0x6180b8
call fcn.00435820
lea eax, [esi - 0x10]
add esp, 0x10
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f784
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x481960
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
test esi, esi
push edi
mov ebx, eax
mov dword [esp + 0x10], 0
jne 0x481998
mov eax, dword [0x619900]
test eax, eax
je 0x48198c
mov esi, dword [eax + 4]
test esi, esi
jne 0x481998
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
je 0x4819be
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x4819be
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4819be
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x10], 1
mov edi, dword [ebp + 8]
push ebx
push esi
mov eax, edi
mov dword [edi + 0x318], 0
call fcn.004817c0
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4819f0
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x619900]
test ecx, ecx
mov dword [esp + 0x14], 0
je 0x481a0c
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov dword [ecx + 4], eax
test ebx, ebx
jne 0x481a1b
lea eax, [edi + 4]
push eax
mov eax, esi
call fcn.00456dc0
cmp dword [edi + 0x308], 0
je 0x481abc
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
push 0
push 0x2001
mov ebx, eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0xc]
push 0x43
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, ebx
je 0x481a77
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, ebx
je 0x481a90
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x481ab9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push 0
push 0
push 0xf
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.004831d0
mov ecx, dword [edi + 4]
push 0x97
push 0
push 0
push 0
push 0
push 0
push ecx
mov dword [edi + 0x318], 0
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x10], 0
je 0x481b0c
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x481b0c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 4]
jne 0x481b0c
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x619900]
test eax, eax
je 0x481b1c
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x31c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4