joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x45e274]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407bc0
sub eax, edx
push ebx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
mov ecx, 0x46165c
call fcn.00403370
push 0xd
push str.ScreenShots.
mov ebx, 0x46165c
call fcn.00402e80
push 4
push 0x453040
call fcn.00402e80
mov eax, dword [0x46165c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp + 8]
mov dword [0x4613d8], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042f25f
mov esp, ebp
pop ebp
ret

Function at 0x407c30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b338
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x461660
mov dword [ebp - 0x14], 0x461660
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x461694], eax
jne 0x407cc0
push eax
push eax
push eax
push 0x407f60
push eax
push eax
mov dword [0x461690], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x461680]
push ecx
push eax
push str.StatReporter_thread_started__hThread__0x_x__stats_count_in_the_list:__i
push 1
push 3
push 0x1f
push str.CStatReporter::Start
push str.StatReporter.cpp
lea ecx, [ebp - 0x20]
mov dword [0x461694], eax
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x18
push 0x461660
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x407ce0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x461694], 0
je 0x407dbf
push 0x461660
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x461660
mov dword [0x461690], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x461698]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [0x461694]
push 0x2710
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x407d72
push 0x2710
push eax
push str.StatReporter_thread_will_be_terminated__dw__0x_x__timeout:__u
push 3
push 3
push 0x30
push str.CStatReporter::Stop
push str.StatReporter.cpp
lea ecx, [ebp - 0xc]
call fcn.0042d6f0
push eax
call fcn.0042d910
mov edx, dword [0x461694]
add esp, 0x18
push 1
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x407da5
mov eax, dword [0x461680]
mov ecx, dword [0x461694]
push eax
push ecx
push str.StatReporter_thread_stopped__hThread__0x_x__stats_left:__i
push 1
push 3
push 0x34
push str.CStatReporter::Stop
push str.StatReporter.cpp
lea ecx, [ebp - 0xc]
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x18
mov eax, dword [0x461694]
test eax, eax
je 0x407dbf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x461694], 0
mov esp, ebp
pop ebp
ret
Function at 0x40ce10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x45e274]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5c
lea eax, [ebp - 0x60]
push 0
push eax
mov dword [esi + 4], edi
call fcn.004317a0
add esp, 0xc
mov byte [ebp - 0x49], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov eax, 0x4523f0
ja 0x40ce4b
mov eax, str.Tahoma
push eax
lea ecx, [ebp - 0x44]
push 0x20
push ecx
call fcn.004304e7
mov eax, dword [esi + 4]
add esp, 0xc
push 0
push esi
push 0x40cec0
lea edx, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
push 0x40cf30
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
push str._This
push edi
mov dword [0x4613a0], eax
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push 6
push ecx
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f25f
mov esp, ebp
pop ebp
ret
Function at 0x411ca0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44965b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0042d1b2
push 4
mov dword [ebp - 4], 0
call fcn.0042f2bf
mov edi, eax
add esp, 4
test edi, edi
je 0x411d1c
call fcn.0042cc26
mov dword [edi], eax
call fcn.0042c9e5
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0042c91a
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x411d12
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0042c942
jmp 0x411d1e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x413cc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x45e274]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00414d70
mov byte [esi + 0x77], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov eax, 0x4523f0
ja 0x413cfe
mov eax, str.Tahoma
push eax
lea edx, [esi + 0x7c]
push 0x20
push edx
call fcn.004304e7
mov ecx, dword [esi + 4]
add esp, 0xc
push 0
push esi
push 0x413ca0
lea eax, [esi + 0x60]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
cmp byte [esi + 0xd0], 0
je 0x413d3a
call fcn.004141f0
jmp 0x413d3f
call fcn.00414070
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x413d9c
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
lea edx, [esp + 4]
push edx
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0xc0]
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push 6
push eax
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, esi
call fcn.00413bc0
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0042f25f
mov esp, ebp
pop ebp
ret 8
Function at 0x414af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x414b80
push 0
push 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], 0x67
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x414b55
push str.MiniDialog_thread_creation_failed.
push 2
push 3
push 0x6c
push str.CDialogBase::DoModalAsync
push str.DialogsDialogBase.cpp
lea ecx, [ebp - 0x14]
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x10
xor eax, eax
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x40]
push ecx
push 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
dec eax
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x415040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov ecx, ebx
call fcn.00403300
mov eax, dword [ebp + 8]
mov ecx, dword [0x461618]
push 0x452c40
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edx, dword [0x461618]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41513e
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
jne 0x415096
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x461618]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
shr esi, 1
je 0x4150ba
mov al, byte [edi]
cmp al, 0xff
je 0x4150b3
cmp al, 0xfe
jne 0x4150ba
dec esi
add edi, 2
mov dword [ebp + 8], edi
lea edi, [esi + 1]
test edi, edi
jns 0x4150cb
push 0x80070057
call fcn.00403700
mov eax, dword [ebx]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, edi
or ecx, edx
jge 0x4150e6
push edi
mov ecx, ebx
call fcn.004035c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebx]
push esi
push eax
push edi
push ecx
call fcn.004300e1
add esp, 0x10
mov eax, esi
cmp esi, 0xffffffff
jne 0x415111
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test eax, eax
je 0x415115
push ecx
push eax
call fcn.0042f9ba
add esp, 8
test eax, eax
js 0x4150c1
mov ecx, dword [ebx]
cmp eax, dword [ecx - 8]
jg 0x4150c1
mov dword [ecx - 0xc], eax
mov edx, dword [ebx]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x416a70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44af18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0x7e9
jne 0x416ba1
mov esi, dword [ebp + 8]
or ebx, 0xffffffff
cmp dword [ebp + 0x14], 1
jne 0x416b08
cmp dword [esi + 0x1ec], ebx
jne 0x416b08
mov ecx, dword [esi + 0x1e0]
lea eax, [esp + 0x14]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
fld dword [0x45fd08]
mov edx, dword [esp + 0x1c]
fmul qword [0x4560b0]
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 0x1f8]
push 0x44
push edx
push eax
call fcn.004482a0
push eax
push 0x14
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, esi
call fcn.00416d40
cmp dword [esi + 0x1dc], 3
jae 0x416b87
mov edx, dword [0x45e020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e020
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], 0
mov ecx, dword [esi + 0x1dc]
mov eax, dword [esi + ecx*4 + 0x1d0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.0041c780
mov eax, dword [esi + 0x1dc]
mov eax, dword [esi + eax*4 + 0x1d0]
mov edi, dword [esp + 0x18]
add esp, 8
push 1
push edi
add esi, 0x1ac
call fcn.0041b360
lea eax, [edi - 0x10]
mov dword [esp + 0x38], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x416b87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x113
jne 0x416bca
mov eax, dword [ebp + 8]
call fcn.00416d40
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x111
jne 0x416bf8
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
call edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 2
jne 0x416c1d
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push 2
push eax
push esi
jmp 0x416c2e
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
call fcn.00414c10
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x416df0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebp + 8], edi
jne 0x416e8b
mov eax, dword [ebp + 0xc]
push eax
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.00415ff0
mov ebx, dword [esp + 0x14]
test al, al
je 0x416e67
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
cmp eax, edi
je 0x416e3e
mov dword [ebx + 8], eax
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esi - 0xe8]
push ecx
call fcn.00414e20
mov edx, dword [esi + 0xf4]
mov dword [esi + edx*4 + 0xf8], eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x10]
test edi, edi
je 0x416e7d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x416e8b
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [esi + 0xf4]
cmp dword [esi + 0xf4], 3
jae 0x416ec1
mov eax, dword [esi - 0xe4]
xor edx, edx
cmp dword [ebp + 8], edx
push 0
sete dl
push edx
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x418b20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a3a8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x58], 0
je 0x418ba4
cmp dword [0x4615f8], 0
je 0x418b79
mov eax, 1
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xe
and eax, 2
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x45e020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e020
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
cmp dword [edi + 0x5c], 0
je 0x418bd9
push 0x40
push edi
mov ecx, 0x83
call fcn.004190e0
jmp 0x418c5a
cmp dword [0x461620], 0
jne 0x418bf4
push 0x44
push edi
mov ecx, 0x89
call fcn.004190e0
cmp eax, 6
jne 0x418c5a
mov esi, dword [edi + 0x50]
mov dword [edi + 0x5c], 1
call fcn.0041f440
cmp dword [edi + 0x54], 0
jne 0x418c10
push str.InstallCancelPage1
jmp 0x418c15
push str.InstallCancel
call fcn.004084d0
add esp, 4
cmp dword [edi + 0x54], 0
je 0x418c4e
mov ecx, dword [edi + 4]
push 0x3f0
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov esi, 0x83
lea eax, [ebp - 0x10]
call fcn.00415150
mov ebx, dword [ebp - 0x10]
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x418c5a
mov edx, dword [edi + 4]
push 0xc
push edx
call dword [sym.imp.USER32.dll_EndDialog]
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418c7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4194d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x45e274]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x5c
lea eax, [ebp - 0x60]
push 0
push eax
mov esi, ecx
call fcn.004317a0
add esp, 0xc
mov dword [ebp - 0x60], 0xfffffff4
mov dword [ebp - 0x50], 0x1f4
mov byte [ebp - 0x49], 1
mov byte [ebp - 0x46], 5
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov eax, 0x4523f0
ja 0x41951e
mov eax, str.Tahoma
push eax
lea ecx, [ebp - 0x44]
push 0x20
push ecx
call fcn.004304e7
add esp, 0xc
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push esi
mov ecx, 0x9d
or edi, 0xffffffff
mov dword [esi + 0x44], eax
call fcn.00414f50
mov eax, dword [esi + 4]
push 0
push 1
push 0x40a
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x461708]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0042f25f
mov esp, ebp
pop ebp
ret 8
Function at 0x419f80
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
mov esi, eax
mov eax, dword [esi + 4]
push 2
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov ecx, dword [esi + 4]
push 5
push 0x3f6
push ecx
call edi
push eax
call ebx
mov edx, dword [esi + 4]
push 0
push 2
push edx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 4]
push 0
push 0x3ff
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 4]
push 0
push 0x401
push ecx
call edi
push eax
call ebx
mov edx, dword [esi + 4]
push 0
push 0x400
push edx
call edi
push eax
call ebx
mov esi, dword [esi + 0xec]
mov dword [esi + 0x54], 1
lea eax, [esi + 0x44]
mov esi, dword [esi + 0x50]
push 1
call fcn.0041ef20
pop edi
pop esi
pop ebx
ret

Function at 0x41a010
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b528
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x45e020]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e020
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x11
push str.STRING_NOT_FOUND_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00403370
mov eax, dword [0x461624]
lea eax, [eax + eax*8]
lea eax, [eax*4 + 0x45fd28]
mov ax, word [eax]
mov ecx, edi
lea ebx, [ebp - 0x10]
call fcn.0040d700
test eax, eax
jne 0x41a08e
mov eax, dword [0x45fd28]
mov ecx, edi
call fcn.0040d700
mov ebx, dword [0x461708]
mov edi, dword [ebp - 0x10]
mov ecx, esi
call fcn.0041a310
mov eax, dword [esi + 0xec]
cmp dword [eax + 0x60], 0
je 0x41a0bd
mov dword [eax + 0x60], 0
mov eax, dword [eax + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a0e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
mov ebx, eax
mov eax, dword [esi + 8]
xor edi, edi
mov dword [esi + 4], 1
cmp eax, edi
je 0x41b394
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 8]
cmp eax, edi
je 0x41b394
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
lea ecx, [esi + 0x14]
cmp ebx, edi
jne 0x41b3a5
xor eax, eax
jmp 0x41b3c0
mov eax, ebx
lea edx, [eax + 2]
mov dword [ebp - 4], edx
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x41b3b0
sub eax, dword [ebp - 4]
sar eax, 1
push eax
push ebx
call fcn.00403370
mov ebx, dword [ebp + 8]
lea ecx, [esi + 0x18]
cmp ebx, edi
jne 0x41b3d5
xor eax, eax
jmp 0x41b3f0
mov eax, ebx
lea edx, [eax + 2]
mov dword [ebp + 8], edx
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x41b3e0
sub eax, dword [ebp + 8]
sar eax, 1
push eax
push ebx
call fcn.00403370
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0xc], 1
cmp dword [ebp + 0xc], edi
jne 0x41b418
mov ecx, esi
call fcn.0041b480
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push edi
push esi
push 0x41b460
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
cmp eax, edi
jne 0x41b43c
mov eax, 6
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x10]
neg eax
sbb eax, eax
and eax, 0xfffffff9
pop edi
add eax, 7
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41b5a0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a0b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
call fcn.00403300
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push 0x21
push ebx
call edi
test eax, eax
jne 0x41b6b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41b6b7
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402da0
test al, al
jne 0x41b639
mov esi, dword [ebp - 0x14]
push esi
mov edi, 0x8007000e
call fcn.0042f33f
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push 0
push 0x21
push ebx
call edi
test eax, eax
je 0x41b683
mov eax, dword [ebp + 8]
push eax
mov edx, esi
call fcn.00402d10
push esi
call fcn.0042f33f
add esp, 4
xor esi, esi
push esi
xor edi, edi
call fcn.0042f33f
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41b697
and eax, 0xffff
or eax, 0x80070000
push esi
mov edi, eax
call fcn.0042f33f
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x41b6cb
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4