joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434ec0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466cb0]
cmp dword [eax + 0x30], 0
je 0x434f6a
cmp dword [ebx + 0x94], 0
jne 0x434f64
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x434e50
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x434f64
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x434f2a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x434f64
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413ed0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x434f39
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x435ac8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x435afd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404394
jmp 0x435b0a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042f8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x436a98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x436ad9
mov eax, esi
call fcn.0044aa7c
test al, al
je 0x436ad9
mov eax, dword [ebx + 0x84]
call fcn.0044a81c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x436ad9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044a81c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x439a40
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004042a4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x439a8f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404514
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441c84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x466d30], 0
je 0x441dd3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x465b00]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x441dd3
mov eax, dword [0x466d34]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x466d30]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x441da2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x466d30]
call fcn.00413ed0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x441d9a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x441d9a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x441d9a
mov eax, dword [ebp - 0x14]
call fcn.0044a81c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x441d9a
push ebp
call fcn.00441c40
pop ecx
test al, al
jne 0x441d9a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x441d56
mov eax, dword [ebp - 0x14]
call fcn.0044934c
dec eax
jle 0x441d9a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403698
cmp byte [ebp - 1], 0
je 0x441d9a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x441d9a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x466d34]
call fcn.0044140c
inc edi
dec ebx
jne 0x441ce9
mov eax, dword [0x466d34]
cmp dword [eax + 8], 0
jle 0x441dba
mov eax, dword [0x466d34]
call fcn.0044149c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x441dd3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00441aa8
pop ecx
test al, al
jne 0x441dd3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44538c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4453d8
mov eax, esi
call fcn.0042d20c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4453d8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4453d8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x445517
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x445418
cmp eax, 0x108
ja 0x445418
mov eax, esi
call fcn.0042d20c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44550e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x445517
jmp 0x44550e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4454f7
cmp eax, 0x20a
ja 0x4454f7
test byte [esi + 0x50], 0x80
jne 0x44544a
sub eax, 0x203
je 0x445447
sub eax, 3
je 0x445447
sub eax, 3
jne 0x44544a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44545e
dec eax
je 0x445473
dec eax
je 0x445490
dec eax
je 0x445473
jmp 0x445497
mov ecx, ebx
mov eax, dword [0x465b00]
mov eax, dword [eax]
mov edx, esi
call fcn.00436950
jmp 0x44550e
cmp byte [esi + 0x5d], 1
jne 0x445489
mov eax, esi
mov si, 0xffed
call fcn.00403698
jmp 0x445517
or word [esi + 0x54], 1
jmp 0x44550e
and word [esi + 0x54], 0xfffe
jmp 0x44550e
mov eax, dword [0x466cec]
cmp byte [eax + 0x20], 0
je 0x44550e
mov eax, dword [0x466cec]
cmp dword [eax + 0x1c], 0
je 0x44550e
mov eax, dword [ebx]
mov edx, dword [0x466cec]
cmp eax, dword [edx + 0x1c]
jne 0x44550e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0042d150
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403698
jmp 0x445517
cmp eax, 0xb00b
jne 0x44550e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00443ce8
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4489ac
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4489c8
cmp dword [esi + 4], 0
je 0x4489f5
test byte [ebx + 0x55], 1
jne 0x4489e7
mov eax, ebx
call fcn.004475b8
test eax, eax
jne 0x4489e7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x448b05
mov edx, esi
mov eax, ebx
call fcn.004484d0
jmp 0x448b05
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x448afe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044a81c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004452c0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004489ac
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044a81c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448b05
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ef64
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x465c68]
cmp byte [eax + 0xc], 0
je 0x44f0d1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f0ca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x466d40], 0
jne 0x44efb8
push 0x44f0d8
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x44f0e0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d40], eax
cmp dword [0x464ef0], 0
jne 0x44f0b3
push 0x44f0f0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x464ef0], eax
cmp dword [0x464ef0], 0
je 0x44f0b3
push 0x44f0fc
mov eax, dword [0x464ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d44], eax
push 0x44f10c
mov eax, dword [0x464ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d48], eax
push 0x44f120
mov eax, dword [0x464ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d4c], eax
push 0x44f138
mov eax, dword [0x464ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d50], eax
push 0x44f150
mov eax, dword [0x464ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d54], eax
push 0x44f164
mov eax, dword [0x464ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d58], eax
push 0x44f17c
mov eax, dword [0x464ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d5c], eax
push 0x44f194
mov eax, dword [0x464ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d60], eax
push 0x44f1b0
mov eax, dword [0x464ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d64], eax
push 0x44f1bc
mov eax, dword [0x464ef0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466d68], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f0d1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x452964
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x452992
mov eax, ebx
call fcn.00453418
cmp dword [ebx + 0x40], 0
je 0x45298b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x452a03
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4529f5
cmp dword [ebx + 8], 0
je 0x4529b4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4529c6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4529f5
cmp dword [ebx + 8], 0
je 0x4529a7
cmp eax, 3
je 0x4529d9
dec eax
jne 0x4529a7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4529a7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4529a7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x452a21
cmp dword [ebx + 0x14], 0xcc
je 0x452a21
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00452a2c
pop ebx
ret
Function at 0x401750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
mov esi, eax
push esi
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4017c9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4017c8
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4017c8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4017c1
push edi
push ebx
push eax
call fcn.004038a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0xc]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jge 0x4017c8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret

Function at 0x401860
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x40d629
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x412090]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x14], eax
mov word [edi + 4], dx
mov dword [esp + 0x1c], eax
mov dword [edi + 0x44], ecx
mov dword [edi + 0x40], eax
mov word [edi + 0x30], dx
lea ebx, [edi + 0x48]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x14], eax
mov word [ebx + 4], dx
lea ebp, [edi + 0x64]
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x14], eax
mov word [ebp + 4], ax
push 0xc
mov eax, 0x40fe1c
mov esi, edi
mov byte [esp + 0x20], 3
call fcn.00401090
mov eax, str.TelranDemoApp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4018e0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
call fcn.00402160
mov ecx, dword [esp + 0x28]
mov eax, str.TelranDemoApp
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x28], 0x9c4
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401910
sub eax, edx
sar eax, 1
push eax
mov eax, str.TelranDemoApp
mov esi, ebx
call fcn.00401090
mov eax, str.Telran.DemoApp.exe
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401934
sub eax, edx
sar eax, 1
push eax
mov eax, str.Telran.DemoApp.exe
mov esi, ebp
call fcn.00401090
mov edx, dword [esp + 0x2c]
xor eax, eax
mov dword [edi + 0x80], edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x401c60
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
sub esp, 0x478
mov eax, dword [0x412090]
xor eax, esp
mov dword [esp + 0x470], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x6a]
push ecx
mov word [esp + 0x6c], ax
call fcn.00403820
add esp, 0xc
push 0x104
lea edx, [esp + 0x64]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x40], 0
jbe 0x401ce2
cmp dword [esi + 0x44], 8
jb 0x401cce
mov esi, dword [esi + 0x30]
push esi
lea ecx, [esp + 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x401d04
add esi, 0x30
push esi
lea ecx, [esp + 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x401d04
cmp dword [esi + 0x7c], 8
jb 0x401ced
mov esi, dword [esi + 0x68]
jmp 0x401cf0
add esi, 0x68
push esi
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x40
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.00403820
add esp, 0xc
xor eax, eax
lea edx, [esp + 8]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea edx, [esp + 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x474]
mov eax, dword [esp + 8]
pop esi
xor ecx, esp
call fcn.00402b05
add esp, 0x478
ret
Function at 0x401f70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40d6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x412090]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x412090]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esi + 0x48]
push eax
push str.CloseSplashScreenEvent
lea edi, [esp + 0x4c]
call fcn.004022f0
add esp, 8
mov dword [esp + 0x70], 0
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x401fe5
lea eax, [esp + 0x48]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
push 0
push 1
push 0
call ebx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40200d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [esi + 0x48]
push eax
push str.CloseSplashScreenWithoutFadeEvent
lea edi, [esp + 0x30]
call fcn.004022f0
add esp, 8
mov byte [esp + 0x70], 1
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x402036
lea eax, [esp + 0x2c]
push eax
push 0
push 1
push 0
call ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402058
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx]
mov edx, dword [eax]
xor edi, edi
call edx
mov ebx, eax
test ebx, ebx
je 0x40207b
call fcn.004014f0
mov edi, eax
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, esi
xor ebx, ebx
call fcn.00401bc0
test edi, edi
je 0x402098
call fcn.00401b60
mov ebx, eax
push ebx
push esi
mov eax, edi
call fcn.00401a10
mov ecx, esi
call fcn.00401c60
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test ebx, ebx
je 0x4020d3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00401e30
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
call edi
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x4020f6
mov eax, dword [esi + 4]
jmp 0x4020f9
lea eax, [esi + 4]
mov ecx, dword [esi + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_UnregisterClassW]
cmp dword [esp + 0x40], edi
jb 0x402117
mov edx, dword [esp + 0x2c]
push edx
call fcn.00402c36
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp dword [esp + 0x5c], edi
jb 0x402141
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00402c36
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00402b05
mov esp, ebp
pop ebp
ret

Function at 0x402b05
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412090]
jne 0x402b0f
repz ret
jmp fcn.0040350a
Function at 0x40870e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004047cc
and dword [ebp - 4], 0
cmp dword [0x413c3c], 0
mov ebx, eax
jne 0x4087bf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408870
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408870
push eax
call fcn.0040475a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x413c3c], eax
call esi
push eax
call fcn.0040475a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x413c40], eax
call esi
push eax
call fcn.0040475a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x413c44], eax
call esi
push eax
call fcn.0040475a
pop ecx
mov dword [0x413c4c], eax
test eax, eax
je 0x4087bf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040475a
pop ecx
mov dword [0x413c48], eax
mov eax, dword [0x413c48]
cmp eax, ebx
je 0x408817
cmp dword [0x413c4c], ebx
je 0x408817
push eax
call fcn.004047d5
push dword [0x413c4c]
mov esi, eax
call fcn.004047d5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408817
test edi, edi
je 0x408817
call esi
test eax, eax
je 0x40880e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40880e
test byte [ebp - 0xc], 1
jne 0x408817
or dword [ebp + 0x10], 0x200000
jmp 0x408850
mov eax, dword [0x413c40]
cmp eax, ebx
je 0x408850
push eax
call fcn.004047d5
pop ecx
test eax, eax
je 0x408850
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408850
mov eax, dword [0x413c44]
cmp eax, ebx
je 0x408850
push eax
call fcn.004047d5
pop ecx
test eax, eax
je 0x408850
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x413c3c]
call fcn.004047d5
pop ecx
test eax, eax
je 0x408870
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408872
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40103c
Capabilities:
Create tcp socket

Disassembly:
jmp 0x4035a0
sub esp, 0x10
push esi
push 6
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x1c], eax
jne 0x4035d7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.socket___failed_with_error_d_n
call fcn.00404256
add esp, 8
xor eax, eax
pop esi
add esp, 0x10
ret 4
push 0
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 4]
push 0x10
push ecx
push edx
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x40362d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.bind___failed_with_error__d_n
call fcn.00404256
add esp, 8
xor eax, eax
pop esi
add esp, 0x10
ret 4
mov eax, dword [esi + 0x1c]
push 5
push eax
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x40365a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Listen___failed_with_error__d_n
call fcn.00404256
add esp, 8
xor eax, eax
pop esi
add esp, 0x10
ret 4
mov eax, 1
pop esi
add esp, 0x10
ret 4