joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43de4c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4610f0]
cmp byte [eax + 0xc], 0
je 0x43dfb9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43dfb2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x462be8], 0
jne 0x43dea0
push 0x43dfc0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43dfc8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462be8], eax
cmp dword [0x4609e4], 0
jne 0x43df9b
push 0x43dfd8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4609e4], eax
cmp dword [0x4609e4], 0
je 0x43df9b
push 0x43dfe4
mov eax, dword [0x4609e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462bec], eax
push 0x43dff4
mov eax, dword [0x4609e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462bf0], eax
push 0x43e008
mov eax, dword [0x4609e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462bf4], eax
push 0x43e020
mov eax, dword [0x4609e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462bf8], eax
push 0x43e038
mov eax, dword [0x4609e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462bfc], eax
push 0x43e04c
mov eax, dword [0x4609e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462c00], eax
push 0x43e064
mov eax, dword [0x4609e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462c04], eax
push 0x43e07c
mov eax, dword [0x4609e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462c08], eax
push 0x43e098
mov eax, dword [0x4609e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462c0c], eax
push 0x43e0a4
mov eax, dword [0x4609e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x462c10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dfb9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x441bcc
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.004042ac
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x441c1b
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 0x44a47c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a4cc]
test si, 4
je 0x44a490
or bl, 1
test si, 8
je 0x44a49a
or bl, 4
test si, 1
je 0x44a4a4
or bl, 8
test si, 2
je 0x44a4ae
or bl, 0x10
test si, 0x10
je 0x44a4b8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a4c7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44a4d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a508]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a4e9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a4f8
or bl, 4
test esi, 0x20000000
je 0x44a503
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450e2c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x450e3e
add esp, 0xfffffff0
call fcn.004038a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ba44
mov eax, dword [0x460df8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4511d0
mov eax, dword [0x460e04]
mov dword [eax + 4], ebx
mov dword [eax], 0x4511dc
mov eax, ebx
call fcn.004511e8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411aa4]
call fcn.00403510
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411aa4]
call fcn.00403510
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411aa4]
call fcn.00403510
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411aa4]
call fcn.00403510
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411aa4]
call fcn.00403510
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44d6b0
push eax
push 0
push 0
mov eax, dword [0x460f24]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41d40c]
call fcn.0041eb80
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41d40c]
call fcn.0041eb80
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41d40c]
call fcn.0041eb80
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451608
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4514e4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4514e4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4514e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450f7b
call fcn.004038fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4512c8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451454
mov dl, 1
mov eax, dword [0x411f94]
call fcn.00403510
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042ac
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451443
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043e1ac
test al, al
je 0x451436
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x451484
lea eax, [ebp - 0x254]
call fcn.00409064
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451436
xor eax, eax
push ebp
push 0x45142f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4514bc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451418
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404514
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x451418
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451436
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451339
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004160dc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45147a
lea eax, [ebp - 0x260]
call fcn.004042ac
ret

Function at 0x451da8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x462c2c]
cmp byte [eax + 0xa5], 0
jne 0x451e19
cmp dword [0x462c44], 0
jne 0x451dda
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x451d64
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x462c44], eax
cmp dword [0x462c40], 0
jne 0x451df5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x462c40], eax
cmp dword [0x462c48], 0
jne 0x451e19
push esp
push 0
push 0
push 0x451d08
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x462c48], eax
pop edx
ret
Function at 0x451f10
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x451f27
add esp, 0xfffffff0
call fcn.004038a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ba44
mov eax, dword [0x460f14]
cmp word [eax + 2], 0
jne 0x451f4f
mov eax, dword [0x460f14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453544
mov eax, dword [0x460fa0]
cmp word [eax + 2], 0
jne 0x451f69
mov eax, dword [0x460fa0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045373c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411aa4]
call fcn.00403510
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411aa4]
call fcn.00403510
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41df2c]
call fcn.004258a0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4520f0
mov eax, dword [0x460e4c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425c70
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x453cac
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x460e4c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a9c8
test eax, eax
je 0x45205e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004089c0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a9f0
test eax, eax
je 0x452072
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404514
mov eax, dword [0x460d44]
cmp byte [eax], 0
jne 0x4520a6
mov eax, ebx
call fcn.00452218
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00453e88
mov eax, ebx
call fcn.004547c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4520e6
call fcn.004038fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45248c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x462c2c]
cmp dword [eax + 0x30], 0
je 0x452536
cmp dword [ebx + 0x94], 0
jne 0x452530
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45241c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452530
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 0x4524f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452530
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.00414144
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452505
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453014
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 0x453049
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.0040439c
jmp 0x453056
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404300
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454064
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4540a5
mov eax, esi
call fcn.00439928
test al, al
je 0x4540a5
mov eax, dword [ebx + 0x84]
call fcn.00439624
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4540a5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439624
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x454d78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040475c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x454dd0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4610fc]
mov dl, 1
mov eax, dword [0x454900]
call fcn.00409ff8
call fcn.00403d0c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00454a08
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x455410
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040474c
mov eax, dword [ebp - 8]
call fcn.0040474c
xor eax, eax
push ebp
push 0x45549e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x455477
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040475c
push eax
mov eax, dword [ebp - 4]
call fcn.0040475c
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x455483
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4554a5
lea eax, [ebp - 8]
mov edx, 2
call fcn.004042d0
ret

Function at 0x456c8c
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040474c
mov eax, dword [ebp - 8]
call fcn.0040474c
xor eax, eax
push ebp
push 0x456d1a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x456cf3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040475c
push eax
mov eax, dword [ebp - 4]
call fcn.0040475c
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x456cff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456d21
lea eax, [ebp - 8]
mov edx, 2
call fcn.004042d0
ret
Function at 0x4578b4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x411128]
call fcn.00404c6c
xor eax, eax
push ebp
push 0x4579f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x460c30], 0
jne 0x457907
mov ecx, dword [0x460d54]
mov dl, 1
mov eax, dword [0x407618]
call fcn.00409fbc
call fcn.00403d0c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e54
mov eax, ebx
call fcn.00404adc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x457a08
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405fd4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404aec
test eax, eax
jle 0x45799f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x457998
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040452c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404514
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408490
test eax, eax
jne 0x457998
mov ebx, 0x15
jmp 0x4579a4
mov ebx, 0x10
jmp 0x4579a4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x460c30]
call fcn.0045780c
mov eax, dword [ebp - 8]
call fcn.0045780c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4579ff
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004042d0
lea eax, [ebp - 0x10]
mov edx, dword [0x411128]
call fcn.00404d3c
ret
Function at 0x4010da
Capabilities:
Terminate process

Disassembly:
mov eax, 0x402e84
call fcn.00402af0
sub esp, 0x130
or dword [ebp - 0x10], 0xffffffff
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
push 0x49
xor eax, eax
pop ecx
lea edi, [ebp - 0x138]
mov dword [ebp - 0x13c], 0x128
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040120d
cmp eax, ebx
je 0x401175
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::MakeLower
push str.thunder5.exe
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jge 0x401195
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x10]
push eax
call fcn.00401234
test eax, eax
jne 0x40112b
cmp dword [ebp - 0x10], 0xffffffff
je 0x401184
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push dword [ebp - 0x134]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x4011df
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x10], 0xffffffff
je 0x4011da
push dword [ebp - 0x10]
call esi
push 1
pop eax
jmp 0x401186
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x10], 0xffffffff
je 0x4011f9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x401186
Function at 0x4014df
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x402f30
call fcn.00402af0
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::MakeLower
push str._openfile
lea eax, [ebp - 0x10]
push dword [ebp - 0x18]
push eax
call fcn.004012d2
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov esi, 0x800
cmp dword [eax - 8], ebx
je 0x4015c4
push 0x406030
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::TrimLeft_1
mov edi, 0x406024
lea ecx, [ebp - 0x10]
push edi
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
cmp eax, ebx
jle 0x4015c4
cmp eax, esi
jl 0x401595
lea eax, [ebp - 0x1c]
push 0x7fe
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402a8e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, esi
push esi
push eax
push dword [ebp - 0x10]
mov edi, str.Thunder_Files_ToOpen
push edi
call fcn.0040125b
add esp, 0x10
test eax, eax
je 0x4015c4
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401672
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.0040140c
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x40162e
cmp ecx, esi
jl 0x401611
lea eax, [ebp - 0x1c]
push 0x7ff
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00402a8e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push esi
push ecx
mov edi, str.thunder_open_ed2klink
push eax
push edi
call fcn.0040125b
add esp, 0x10
test eax, eax
je 0x40162e
push ebx
push ebx
push edi
jmp 0x401656
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc4]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x401666
push esi
push ecx
mov esi, str.Thunder_Special_Urls
push eax
push esi
call fcn.0040125b
add esp, 0x10
test eax, eax
je 0x401666
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x401acc
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov eax, 0x402fd0
call fcn.00402af0
sub esp, 0x18
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00401d88
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov dword [esp], str.ProgramThunder5.exe
call sub.MFC42.DLL_CString::operator
mov esi, 0x406028
lea ecx, [ebp - 0x10]
push esi
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
call fcn.00401d88
mov dword [esp], str.Programdownload_interface.dll
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
push dword [eax]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
call fcn.00402876
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_1
push 0
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jl 0x401bc0
push 0x406060
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
inc esi
lea eax, [ebp - 0x24]
push esi
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
push 1
push 0x406214
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret