joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4446f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444723
push esi
call fcn.004477e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44471c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4447a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444792
mov eax, dword [esi + 8]
test eax, eax
je 0x444747
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44478e
cmp eax, 2
je 0x444792
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44473a
cmp eax, 3
je 0x44476d
cmp eax, 1
jne 0x44473a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44473a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44473a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004447d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4447b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004447d0
add esp, 4
pop esi
ret

Function at 0x450350
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4503f3
test eax, eax
jbe 0x4503f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4503f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45039e
xor esi, esi
jmp 0x4503a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4503cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00452410
add esi, eax
push esi
mov ebx, esi
call fcn.00452410
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4503b0
pop ebp
test edi, edi
pop edi
jne 0x4503f3
test ebx, ebx
je 0x4503f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00454df0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x450535
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45064d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45064d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046560d
mov esi, eax
test esi, esi
je 0x45064d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45064d
mov ecx, esi
call fcn.004504a0
cmp edi, eax
jge 0x45064d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4505d3
mov dword [esp + 0x34], 1
jmp 0x45062e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45064d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044fa40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x465fb1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x465fe9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00464065
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046403d
jmp 0x465ff5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46769f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4676e1
call fcn.0046d1b7
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4676e1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4676d8
xor eax, eax
jmp 0x4676e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004676ef
pop edi
pop esi
pop ebx
ret 4
Function at 0x46d6e7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46d715
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d733
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046d64d
jmp 0x46d733
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46d733
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046d64d
test edi, edi
mov eax, edi
jne 0x46d71d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403230
Capabilities:
Acquire debug privileges
Create thread
Inject dll
Inject thread

Disassembly:
push 0xffffffffffffffff
push 0x429428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x128]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
push str.SeDebugPrivilege
call fcn.00403190
mov edx, dword [esp + 0x12c]
add esp, 8
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4032f6
mov edi, dword [esp + 0x128]
or ecx, 0xffffffff
xor eax, eax
push 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x1000
mov ebp, ecx
push ebp
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x4032f6
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ebp
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x403323
push 0x8000
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0
push str.SeDebugPrivilege
call fcn.00403190
add esp, 8
lea ecx, [esp + 0x128]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0041dccb
xor al, al
jmp 0x4033a7
push 0x4364a4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0xc]
push edx
push 0
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0
push str.SeDebugPrivilege
mov ebp, eax
call fcn.00403190
add esp, 8
test ebp, ebp
je 0x403378
push 0xffffffffffffffff
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push 0x8000
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x128]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0041dccb
mov al, 1
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x4033c0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x429448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push esi
push edi
xor eax, eax
mov ecx, 0x4a
lea edi, [esp + 8]
push eax
rep stosd dword es:[edi], eax
push 2
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x403435
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
mov edi, eax
mov eax, dword [esp + 0x140]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0040c77c
add esp, 8
test eax, eax
je 0x40346a
test edi, edi
jne 0x40340b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x140]
mov dword [esp + 0x138], 0xffffffff
call fcn.0041dccb
pop edi
pop esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
add esp, 0x134
ret
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x140]
mov dword [esp + 0x138], 0xffffffff
call fcn.0041dccb
mov ecx, dword [esp + 0x130]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x134
ret
Function at 0x4034a0
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x429473
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
push esi
mov eax, dword [ebp + 0x78]
push esi
push 0x1009
push eax
call ebx
push esi
push 0x402ee0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x4c1e74
lea ecx, [esp + 0x14]
call fcn.0041dcf5
push 0x4c1e74
lea ecx, [esp + 0x24]
mov dword [esp + 0x94], esi
call fcn.0041dcf5
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [0x4c1e3c]
mov eax, dword [0x4c1e40]
cmp edi, eax
mov byte [esp + 0x90], 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
je 0x403604
jmp 0x403542
xor esi, esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
inc ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [edi]
push ecx
push 0x4364d0
push edx
call fcn.0041b8b8
mov eax, dword [ebp + 0x78]
add esp, 0xc
push 0
push 0
push 0x1004
push eax
call ebx
test eax, eax
jle 0x4035b0
lea ecx, [esp + 0x24]
push 0x64
push ecx
push 0
push esi
lea ecx, [ebp + 0x5c]
call fcn.0041bb7f
lea edx, [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
call fcn.0041b532
cmp eax, 0xffffffff
jne 0x403642
mov eax, dword [ebp + 0x78]
push 0
push 0
push 0x1004
push eax
inc esi
call ebx
cmp esi, eax
jl 0x403573
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4035e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push ecx
push edx
push 1
lea ecx, [ebp + 0x5c]
call fcn.0041bb08
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x1c]
push 0x4364c8
push 1
push eax
lea ecx, [ebp + 0x5c]
call fcn.0041bb54
mov eax, dword [0x4c1e40]
add edi, 4
cmp edi, eax
jne 0x403540
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 0
call fcn.0041dccb
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0xffffffff
call fcn.0041dccb
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret
mov dword [esp + 0x18], 1
jmp 0x4035e0
Function at 0x403690
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4294a1
push eax
mov eax, dword [0x4c1e70]
mov dword fs:[0], esp
sub esp, 0x110
cmp eax, 0x3e7
je 0x403705
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push 0x436500
call fcn.0041dcf5
lea eax, [esp + 0xc]
push eax
call fcn.004021b0
add esp, 8
mov ecx, eax
mov dword [esp + 0x120], 0
call fcn.00402ed0
push eax
call fcn.00423b25
mov dword [esp + 0x118], 0xffffffff
lea ecx, [esp]
jmp 0x4037b2
call fcn.004034a0
push 0x4c1e74
lea ecx, [esp + 8]
call fcn.0041dcf5
lea ecx, [esp + 0xc]
mov dword [esp + 0x118], 1
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0xc]
push str._ss_jxz.dll
push edx
lea eax, [esp + 0xc]
push str._s_s
push eax
call fcn.0041b8b8
add esp, 0xc
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 4], esp
push edx
call fcn.0041da40
push ecx
mov byte [esp + 0x120], 2
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x4c1e30
call fcn.0041da40
call fcn.004033c0
add esp, 4
mov byte [esp + 0x11c], 1
push eax
call fcn.00403230
add esp, 8
test al, al
jne 0x4037a3
push 0
push 0
push 0x4364e0
call fcn.00423b25
mov dword [esp + 0x118], 0xffffffff
lea ecx, [esp + 4]
call fcn.0041dccb
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
add esp, 0x11c
ret

Function at 0x40c736
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40c756
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040ed14
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40c779
test byte [esp + 8], 2
je 0x40c779
call fcn.0040ed87
mov dword [eax], 0xd
call fcn.0040ed90
mov dword [eax], 5
jmp 0x40c752
xor eax, eax
ret
Function at 0x417800
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f550
push 0x41055c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
cmp word [edx], 0x5a4d
jne 0x4178f6
mov ecx, dword [edx + 0x3c]
add ecx, edx
mov dword [ebp - 0x24], ecx
cmp dword [ecx], 0x4550
jne 0x4178f6
cmp word [ecx + 6], ax
je 0x4178f6
cmp word [ecx + 0x18], 0x10b
jne 0x4178f6
cmp word [ecx + 0x14], 0xe0
jne 0x4178f6
cmp dword [ecx + 0x50], eax
je 0x4178f6
cmp dword [ecx + 0x54], eax
je 0x4178f6
mov dx, word [ecx + 0x16]
test dl, 1
je 0x4178a5
mov eax, 0x80000014
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dl, 2
je 0x4178d6
test byte [ecx + 0x5c], 3
je 0x4178d6
cmp dword [ecx + 0x74], 0x10
je 0x4178fe
mov eax, 0x80000050
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, OleUIBusyA
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, SysReAllocString
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ae90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040d750
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41af5b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41af5b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41af0e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41af19
or bh, 8
and edi, 0x8000000
je 0x41af34
mov eax, dword [0x4c573c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41af5b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41b35b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41b37f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41b39a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41d2d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x41d2f5
cmp dword [edi + 0x3c], 0
jne 0x41d2f5
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00426085
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0041d322
pop edi
pop esi
pop ebx
ret 8

Function at 0x41f088
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41f0c0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041e12e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041e106
jmp 0x41f0cc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4205d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42061a
call fcn.00426085
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42061a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x420611
xor eax, eax
jmp 0x420622
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00420628
pop edi
pop esi
pop ebx
ret 4

Function at 0x4246c0
Capabilities:
Create http request

Disassembly:
mov eax, 0x429ac4
call fcn.0040cb38
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4246f8
call fcn.00426085
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x42471d
push eax
push dword [esi + 4]
call fcn.0042537a
jmp 0x424729
push esi
push eax
mov ecx, 0x4c3a78
call fcn.0042473a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x42489a
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x429aff
call fcn.0040cb38
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00422050
mov eax, dword [0x4367fc]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x4c3a78
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0042473a
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.0041de10
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004055ce
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0041ddc0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0041dccb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x426892
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4268c0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4268de
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004267f8
jmp 0x4268de
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4268de
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004267f8
test edi, edi
mov eax, edi
jne 0x4268c8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8