joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406830
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 0x406849
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_SetHandleCount_1]
mov esi, eax
test esi, esi
jne 0x40685d
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 0x40687e
cmp esi, eax
jae 0x406857
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406870
cmp esi, eax
jae 0x406857
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4079a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4a1570]
sub esp, 0x1f8
test eax, eax
je 0x407b14
cmp word [0x4a14f4], 1
push ebx
push ebp
push esi
push edi
jne 0x407aaa
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, 0x62a
mov esi, 0x49c0a8
mov ebp, 5
lea ebx, [ebx]
cmp dword [esi - 0x10], 1
jne 0x407a14
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [esi - 4]
push eax
mov eax, dword [esi - 8]
push ecx
push edx
push eax
lea ecx, [esi + 8]
push ecx
lea edx, [edi - 0x629]
push edx
lea eax, [esp + 0x2c]
push 0x45cd30
push eax
call fcn.0044c952
add esp, 0x20
jmp 0x407a19
mov byte [esp + 0x14], 0
mov edx, dword [0x4a1570]
lea ecx, [esp + 0x14]
push ecx
push edi
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esi - 0x10]
mov ecx, dword [0x4a1570]
push eax
push edi
push ecx
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
add esi, 0x34
inc edi
dec ebp
jne 0x4079e0
mov eax, dword [0x4a144c]
test eax, eax
jne 0x407b10
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, 0x5b5
mov ebp, 0x49c0cc
mov dword [esp + 0x10], 4
lea ecx, [ecx]
cmp dword [ebp], 0
je 0x407a82
mov edx, dword [0x4a1570]
push 5
push esi
push edx
jmp 0x407a8b
mov eax, dword [0x4a1570]
push 0
push esi
push eax
call ebx
push eax
call edi
mov eax, dword [esp + 0x10]
add ebp, 0x34
inc esi
dec eax
mov dword [esp + 0x10], eax
jne 0x407a70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, 0x62a
mov dword [esp + 0x10], 5
lea esp, [esp]
mov ecx, dword [0x4a1570]
push 0x45c544
push esi
push ecx
call ebp
mov edx, dword [0x4a1570]
push 0
push esi
push edx
call edi
push eax
call ebx
mov ecx, dword [0x4a1570]
push 0
lea eax, [esi - 0x76]
push eax
push ecx
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
inc esi
dec eax
mov dword [esp + 0x10], eax
jne 0x407ad0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret
Function at 0x4080a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4599a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
push edi
xor ebx, ebx
push esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x30], esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esp + 0x28], edi
push ebx
push ebx
push 0x31
mov dword [esp + 0x8c], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
call ebx
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov edx, dword [0x4a1e24]
mov ecx, 0x4a1e24
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
push 0
push 0
push 0x146
push esi
mov byte [esp + 0x90], 1
call ebx
xor ebx, ebx
test eax, eax
mov dword [esp + 0x18], eax
jle 0x408199
lea eax, [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00408000
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
jne 0x408162
push ebp
call dword [sym.imp.kernel32.dll_lstrlenA]
lea ecx, [esp + 0x20]
push ecx
push eax
push ebp
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x88]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x408190
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jl 0x408140
mov edx, dword [esp + 0x1c]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x2d
call ebx
push 2
mov dword [esp + 0x20], eax
call ebx
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x1c]
add eax, edx
lea ebx, [eax + ecx*2]
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
cmp ebx, eax
jle 0x4081e1
mov eax, ebx
push 0
push eax
push 0x160
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
add ebp, 0xfffffff0
mov byte [esp + 0x80], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408213
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret
Function at 0x40c940
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x170
mov ecx, dword [0x4a1588]
push ebx
push ebp
push esi
push edi
push 0xff
lea eax, [esp + 0x84]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x80]
push 0x5b
push edx
mov byte [esp + 0x24], 0
call fcn.0044d5d0
mov esi, eax
add esp, 8
test esi, esi
je 0x40c9a9
inc esi
push 0x5d
push esi
call fcn.0044d5d0
add esp, 8
test eax, eax
je 0x40c9a9
mov edi, eax
sub edi, esi
push edi
lea eax, [esp + 0x20]
push esi
push eax
call fcn.0044c9d0
add esp, 0xc
mov byte [esp + edi + 0x1c], 0
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov ebp, 0x49df18
lea esp, [esp]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40c9cd
inc dword [esp + 0x10]
jmp 0x40ca26
mov edi, 0x45cec8
mov esi, ebp
mov ecx, 9
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40c9e5
inc dword [esp + 0x18]
jmp 0x40ca26
mov edi, 0x45cebc
mov esi, ebp
mov ecx, 0xb
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40c9fd
inc dword [esp + 0x14]
jmp 0x40ca26
push 8
push 0x45ce64
push ebp
call fcn.0044cfd0
add esp, 0xc
test eax, eax
je 0x40ca25
push 0xa
push 0x45ce58
push ebp
call fcn.0044cfd0
add esp, 0xc
test eax, eax
jne 0x40ca26
inc ebx
add ebp, 0x124
cmp ebp, 0x49f034
jl 0x40c9c0
mov eax, dword [0x49d41c]
imul eax, eax, 0x64
cdq
idiv dword [0x49d420]
mov ecx, dword [0x49d424]
mov edx, dword [esp + 0x14]
push 0x25
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
push edx
push eax
mov eax, dword [esp + 0x19c]
push ecx
lea edx, [esp + 0x38]
push edx
push 0x49d47c
push 0x45d348
push eax
call fcn.0044c952
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret

Function at 0x40cd50
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
sub esp, 0x10
push ebx
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, dword [esp + 0x1c]
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
push eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_ntohs]
mov esi, dword [esp + 0x20]
push esi
mov word [esp + 0xe], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40cdba
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x40cdba
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov esi, dword [edx]
mov eax, ecx
push edi
shr ecx, 2
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov edx, dword [ebx]
push 0x10
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40cde0
mov eax, dword [ebx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx], 0
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40cdf0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [0x4a163c]
sub esp, 0xcc
cmp eax, 1
jne 0x40cf17
mov eax, dword [0x4a19c4]
push 0xea60
push eax
call fcn.00410150
add esp, 8
cmp eax, 1
jne 0x40cf17
push esi
xor esi, esi
mov eax, 0x49e038
jmp 0x40ce30
mov ecx, dword [eax - 0x124]
test ecx, ecx
jne 0x40ce3b
inc esi
cmp dword [eax], 0
jne 0x40ce41
inc esi
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x40ce4c
inc esi
mov ecx, dword [eax + 0x248]
test ecx, ecx
jne 0x40ce57
inc esi
mov ecx, dword [eax + 0x36c]
test ecx, ecx
jne 0x40ce62
inc esi
add eax, 0x5b4
cmp eax, 0x49f154
jl 0x40ce30
cmp esi, dword [0x466230]
jle 0x40cf16
mov ecx, dword [0x46622c]
push ecx
lea edx, [esp + 8]
push 0x45d3fc
push edx
call fcn.0040cd50
add esp, 0xc
test eax, eax
jne 0x40cef6
push 0x49d47c
push esi
lea eax, [esp + 0x10]
push 0x45d3f4
push eax
call fcn.0044c952
lea eax, [esp + 0x18]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ceb6
mov esi, dword [esp + 4]
push 0
sub eax, edx
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
push esi
jle 0x40cef0
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x4a19c4], eax
pop esi
add esp, 0xcc
ret
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x45d3d0
call fcn.00402020
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x4a19c4], eax
pop esi
add esp, 0xcc
ret

Function at 0x40d570
Capabilities:
Shutdown system

Disassembly:
mov eax, dword [0x4a1508]
sub esp, 0x14
cmp eax, 0x80000000
jae 0x40d5d9
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 8]
push ecx
push 0x45d43c
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
push 0
push 5
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
Function at 0x417020
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x114
mov edx, dword [esp + 0x118]
push ebp
push esi
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41712a
lea ecx, [esp + 8]
call fcn.00416f30
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x41712e
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], pe_nt_image_headers32
call esi
test eax, eax
jne 0x4170e4
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.00417020
mov edi, eax
test edi, edi
jne 0x417146
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], pe_nt_image_headers32
call esi
test eax, eax
je 0x4170a6
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4170fd
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x124]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41711c
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x114
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x417139
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
add esp, 0x114
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x417155
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x114
ret 4
Function at 0x417600
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.kernel32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x417612
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x418c30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x459d4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov eax, dword [0x4a1e24]
push ebx
push esi
push edi
mov ecx, 0x4a1e24
xor edi, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [0x4a166c]
push ecx
lea edx, [esp + 0x10]
push 0x45df30
push edx
mov dword [esp + 0x164], edi
call fcn.00412d20
mov ebx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x418cf4
push ebp
mov ebp, dword [sym.imp.kernel32.dll_FindNextFileA]
test byte [esp + 0x14], 0x20
je 0x418ce0
lea ecx, [esp + 0x40]
push 0x45df28
push ecx
call fcn.0044c450
add esp, 8
test eax, eax
je 0x418ce0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x44]
push 0x45df18
push eax
call fcn.0044d009
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, edi
jle 0x418ce0
mov edi, eax
lea ecx, [esp + 0x14]
push ecx
push esi
call ebp
test eax, eax
jne 0x418ca2
push esi
call dword [sym.imp.kernel32.dll_FindClose]
pop ebp
lea eax, [ebx - 0x10]
mov dword [esp + 0x158], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418d19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x150]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret
Function at 0x419320
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x459dd8
push eax
mov eax, dword [0x4661f8]
mov dword fs:[0], esp
sub esp, 0x5c
test eax, eax
push edi
mov edi, ecx
jne 0x419411
mov eax, dword [0x4a1e24]
push ebp
push esi
mov ecx, 0x4a1e24
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
lea esi, [edi + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x74], 0
call fcn.00418860
mov ebp, dword [esp + 0xc]
test ebp, ebp
mov edx, dword [esi]
mov eax, dword [edi + 0x34]
mov dword [esp + 0x10], 0x58
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0x80
mov dword [esp + 0x1c], 7
mov dword [esp + 0x20], 0x464
mov dword [esp + 0x24], eax
je 0x4193ba
push 0x40
push ebp
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.kernel32.dll_lstrcpynA]
jmp 0x4193bf
mov byte [esp + 0x28], 0
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [0x4a1588]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
push 1
call fcn.00404cf0
mov ecx, dword [esi]
add esp, 4
push 0
push ecx
call edi
lea eax, [ebp - 0x10]
mov dword [esp + 0x70], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop esi
pop ebp
jg 0x419411
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x60]
pop edi
mov dword fs:[0], ecx
add esp, 0x68
ret

Function at 0x419620
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x459e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4a1580]
test eax, eax
jne 0x4196ca
push esi
push edi
push 0x24
call fcn.0044dda6
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x41966a
mov ecx, eax
call fcn.00427580
mov esi, eax
jmp 0x41966c
xor esi, esi
mov edi, dword [0x4a1584]
push esi
lea eax, [esi + 8]
push eax
push 0x490cd0
call fcn.0040da70
mov ecx, dword [0x4a1de4]
push 0
push 0x40dc90
push edi
push 0x88
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4a1550]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4196f0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x459e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4a1550]
test eax, eax
jne 0x41979a
push esi
push edi
push 0x24
call fcn.0044dda6
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x41973a
mov ecx, eax
call fcn.00432f50
mov esi, eax
jmp 0x41973c
xor esi, esi
mov edi, dword [0x4a1584]
push esi
lea eax, [esi + 8]
push eax
push 0x490cd0
call fcn.0040da70
mov ecx, dword [0x4a1de4]
push 0
push 0x40dc90
push edi
push 0x81
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4a1580]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4197c0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x459e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4a151c]
test eax, eax
jne 0x419857
push esi
push edi
push 0x140
call fcn.0044dda6
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x419809
mov ecx, eax
call fcn.004437f0
mov esi, eax
jmp 0x41980b
xor esi, esi
mov edi, dword [0x4a1584]
push esi
lea eax, [esi + 8]
push eax
push 0x490cd0
call fcn.0040da70
mov ecx, dword [0x4a1de4]
push 0
push 0x40dc90
push edi
push 0x9a
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x419880
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x459e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4a1520]
test eax, eax
jne 0x41993e
push esi
push edi
push 0x160
call fcn.0044dda6
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x4198cd
mov ecx, eax
call fcn.00448820
mov esi, eax
jmp 0x4198cf
xor esi, esi
mov edi, dword [0x4a1584]
push esi
lea eax, [esi + 8]
push eax
push 0x490cd0
call fcn.0040da70
mov ecx, dword [0x4a1de4]
push 0
push 0x40dc90
push edi
push 0x96
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4a1550]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x10
push eax
call esi
mov ecx, dword [0x4a1580]
push 0
push 0
push 0x10
push ecx
call esi
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x419960
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x459e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4a1518]
test eax, eax
jne 0x4199f7
push esi
push edi
push 0xac
call fcn.0044dda6
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x4199a9
mov ecx, eax
call fcn.0043fee0
mov esi, eax
jmp 0x4199ab
xor esi, esi
mov edi, dword [0x4a1584]
push esi
lea eax, [esi + 8]
push eax
push 0x490cd0
call fcn.0040da70
mov ecx, dword [0x4a1de4]
push 0
push 0x40dc90
push edi
push 0xbe
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41cb90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x34]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 8], ecx
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
push 0x45e38c
xor ebx, ebx
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ebx
call fcn.0044da6f
push ebx
mov esi, eax
push ebx
push esi
call fcn.0044e394
push esi
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0044e116
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp eax, 0xffeeddcc
je 0x41cc15
cmp eax, 0xffeeddcd
je 0x41cc15
push esi
call fcn.0044d9c2
add esp, 4
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
push ebp
push edi
push esi
push 1
lea ecx, [esp + 0x34]
push 0x10
push ecx
call fcn.0044e116
push esi
push 1
lea edx, [esp + 0x28]
push 4
push edx
call fcn.0044e116
mov eax, dword [esp + 0x30]
add eax, 2
push eax
call fcn.0044d971
mov ecx, dword [esp + 0x34]
push esi
push 1
mov edi, eax
push ecx
push edi
call fcn.0044e116
mov edx, dword [esp + 0x44]
push esi
mov byte [edi + edx], 0
call fcn.0044d9c2
mov eax, dword [esp + 0x48]
add eax, 2
push eax
call fcn.0044d971
push 0x14
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x70]
push edx
mov ebp, eax
call fcn.00410810
lea eax, [esp + 0x60]
add esp, 0x48
xor edx, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cc90
sub eax, esi
test eax, eax
jle 0x41ccbd
lea ecx, [ecx]
movsx eax, byte [esp + edx + 0x18]
add ebx, eax
lea eax, [esp + 0x18]
inc edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ccb0
sub eax, esi
cmp edx, eax
jl 0x41cca0
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x41ccd3
xor byte [eax + edi], bl
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jl 0x41ccc7
push ecx
push ebp
push edi
call fcn.00410810
push edi
call fcn.0044d96c
push 0x45c51c
push ebp
call fcn.0044e72a
add esp, 0x18
test eax, eax
je 0x41cd12
mov esi, dword [esp + 0x48]
push eax
mov ecx, esi
call fcn.0040ae80
push 0x45c51c
push 0
call fcn.0044e72a
add esp, 8
test eax, eax
jne 0x41ccf7
push ebp
call fcn.0044d96c
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 0xffeeddcd
pop edi
pop ebp
jne 0x41cd33
pop esi
mov eax, 2
pop ebx
add esp, 0x30
ret
xor ecx, ecx
cmp eax, 0xffeeddcc
sete cl
pop esi
pop ebx
mov eax, ecx
add esp, 0x30
ret