joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.00437852
push eax
lea ecx, [esp + 0x30]
call fcn.0043e413
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.00437852
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0043e2c9
mov eax, dword [esi + 0x148]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x408c86
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x144]
call fcn.0043dc38
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x154]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0043e6bb
test edi, edi
je 0x408c32
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x148]
push edi
push eax
call fcn.0043dd79
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x15c], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x148]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x144]
sub ecx, edi
test edx, edx
je 0x408ca7
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0043e485
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x40fa20
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x40fa73
push ebx
push edi
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call edi
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0x302
push esi
call ebx
push 0xc8
call edi
push 0
push 0xd
push pe_nt_image_headers32
push esi
call ebx
pop edi
pop ebx
lea ecx, [esp + 8]
call fcn.00436ca6
pop esi
ret 4
Function at 0x413b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c7c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
mov eax, dword [edi + 0x84]
push eax
call fcn.00436a1b
push 0
lea ecx, [esp + 0x1c]
lea esi, [edi + 0x1ef4]
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.00434dfc
mov edx, dword [esp + 0xc]
mov eax, dword [eax]
push edx
push eax
mov byte [esp + 0x2c], 1
call fcn.00424b35
add esp, 8
test eax, eax
je 0x413c4c
push 0
lea eax, [esp + 0x14]
push 1
push eax
mov ecx, esi
call fcn.00434dfc
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
push eax
call fcn.00424b35
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00436ca6
test bl, bl
je 0x413c4c
push 0
lea edx, [esp + 0x18]
push 2
push edx
mov ecx, esi
call fcn.00434dfc
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
push eax
call fcn.00424b35
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call fcn.00436ca6
test bl, bl
je 0x413c4c
mov bl, 1
jmp 0x413c4e
xor bl, bl
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.00436ca6
test bl, bl
je 0x413cac
push 0
push 0
push 0
push 0
push 0x465fb0
push 0
push 1
mov ecx, esi
call fcn.00434d85
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
push 0
push 0
call fcn.00434dd1
mov eax, dword [edi + 0x98]
mov ecx, esi
mov eax, dword [eax]
push eax
push 1
push 0
call fcn.00434dd1
cmp byte [edi + 0xae], 1
jne 0x413cac
mov ecx, edi
call fcn.00413180
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00436ca6
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4142d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c84f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov dword [esp + 0x18], 0
mov eax, dword [0x461cd8]
mov ebx, 1
mov dword [esp + 0x30], ebx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x3c]
xor esi, esi
mov byte [esp + 0x30], 2
mov edx, dword [ecx - 8]
test edx, edx
jle 0x414357
mov al, byte [esi + ecx]
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
call fcn.0043716d
cmp eax, 0xffffffff
jne 0x414349
mov edx, dword [esp + 0x3c]
mov al, byte [esi + edx]
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
call fcn.004370a9
mov ecx, dword [esp + 0x3c]
inc esi
cmp esi, dword [ecx - 8]
jl 0x414316
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
xor edx, edx
mov dword [esp + 0x1d], edx
xor esi, esi
mov dword [esp + 0x21], edx
mov byte [esp + 0x1c], 0
test ecx, ecx
mov byte [esp + 0x25], dl
jle 0x4143ad
mov al, byte [esi + eax]
push ebx
mov byte [esp + 0x18], al
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.0043438f
mov edx, dword [esp + 0x10]
push edx
call fcn.00424ea3
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + eax + 0x1c], bl
call fcn.00436ca6
mov eax, dword [esp + 8]
inc esi
cmp esi, dword [eax - 8]
jl 0x414373
mov ecx, dword [0x461cd8]
push edi
mov dword [esp + 0x10], ecx
mov ecx, dword [eax - 8]
mov edi, dword [esp + 0x44]
cmp ecx, edi
mov byte [esp + 0x34], 3
jge 0x414408
xor esi, esi
mov cl, byte [esp + esi + 0x20]
test cl, cl
je 0x4143da
inc esi
cmp esi, 0xa
jl 0x4143ca
jmp 0x414403
push esi
lea edx, [esp + 0x14]
push 0x4614ec
push edx
call fcn.00434acd
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call fcn.004370be
mov eax, dword [esp + 0xc]
mov byte [esp + esi + 0x20], bl
cmp dword [eax - 8], edi
jl 0x4143c8
push 0x465fb0
lea ecx, [esp + 0x10]
call fcn.00436e2f
xor esi, esi
pop edi
cmp byte [esp + esi + 0x1c], bl
jne 0x414440
push esi
lea ecx, [esp + 0x10]
push 0x4614ec
push ecx
call fcn.00434acd
add esp, 0xc
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.004370be
inc esi
cmp esi, 0xa
jl 0x414419
mov esi, dword [esp + 0x38]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00436a1b
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.00436ca6
lea ecx, [esp + 8]
mov byte [esp + 0x30], bl
call fcn.00436ca6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.00436ca6
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x41b310
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004368d2
add esp, 4
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
push ebx
call edi
mov edi, eax
test edi, edi
je 0x41b399
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test dword [esi + 0xc], 0x100000
jne 0x41b360
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0
push edi
call ebx
push esi
call fcn.004368fb
mov edx, dword [esp + 0x10]
push edx
call fcn.004368d2
add esp, 8
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x41b34d
mov ebx, 1
test esi, esi
je 0x41b3a6
push esi
call fcn.004368fb
add esp, 4
pop edi
mov eax, ebx
pop esi
pop ebx
pop ecx
ret
Function at 0x41b3b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44d396
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x461cd8]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.00436e2f
push str..
lea ecx, [esp + 0x10]
call fcn.00437082
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x41b453
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.00436ca6
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.00436ca6
xor eax, eax
jmp 0x41b598
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x461a9c
push edx
call fcn.00424b35
add esp, 8
test eax, eax
je 0x41b549
lea eax, [esp + 0x48]
push 0x461a98
push eax
call fcn.00424b35
add esp, 8
test eax, eax
je 0x41b549
test ebp, ebp
jne 0x41b4b5
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.00425444
add esp, 8
test eax, eax
je 0x41b549
push esi
lea ecx, [esp + 0x14]
call fcn.00436e2f
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004370a9
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.00437082
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x41b4f5
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x41b517
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.0041b3b0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x41b549
test edi, edi
je 0x41b53e
lea ecx, [esp + 0x48]
push 0x461a80
push ecx
call fcn.00425444
add esp, 8
test eax, eax
jne 0x41b53e
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.0041b5c0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41b463
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.00436ca6
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.00436ca6
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x41b5c0
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44d3ab
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.00424430
mov eax, dword [0x461cd8]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.00436e2f
push 0x5c
lea ecx, [esp + 8]
call fcn.004370a9
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.00437082
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41b666
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.00436ca6
xor eax, eax
jmp 0x41b6e3
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x41b6c1
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x41b6b3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x41b68d
jmp 0x41b6c1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.00436ca6
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8
Function at 0x41b800
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44d401
push eax
mov dword fs:[0], esp
sub esp, 0x3fc
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0xac]
test al, al
je 0x41b97e
mov al, byte [esi + 0xad]
test al, al
je 0x41b97e
push str.._pz.ini
lea eax, [esp + 0x24]
push 0x3e8
push eax
push 0x465fb0
push 0x461634
push 0x461624
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x465fb0
lea ecx, [esp + 0x10]
call fcn.00436d14
xor edi, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x410], edi
call fcn.0040f9e0
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x10], edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x410], 1
mov ecx, dword [esp + 0x10]
mov al, byte [esp + ecx + 0x20]
cmp al, 0x2c
jne 0x41b93b
push 0x465fb0
lea ecx, [esp + 0x18]
call fcn.00436d14
mov edx, dword [esi + 0x1f4c]
push 0
push 0
push 0x130b
push edx
mov byte [esp + 0x420], 2
call ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + eax*4 + 0x5c]
add ecx, 0x5c
call fcn.0043821d
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00436a1b
mov ecx, esi
call fcn.0041ba00
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00436a1b
lea ecx, [esp + 0x1c]
call fcn.0040fa20
push 0xc8
call edi
push 0x465fb0
lea ecx, [esp + 0x10]
call fcn.00436e2f
lea ecx, [esp + 0x14]
mov byte [esp + 0x410], 1
call fcn.00436ca6
jmp 0x41b945
push eax
lea ecx, [esp + 0x10]
call fcn.004370a9
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x3e8
mov dword [esp + 0x10], eax
jb 0x41b898
lea ecx, [esp + 0x18]
mov byte [esp + 0x410], 0
call fcn.0040fa10
lea ecx, [esp + 0xc]
mov dword [esp + 0x410], 0xffffffff
call fcn.00436ca6
mov ecx, dword [esp + 0x408]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x408
ret
Function at 0x433870
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.00424430
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43393b
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 0x43393b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4338ee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4338f9
or bh, 8
and edi, 0x8000000
je 0x433914
mov eax, dword [0x4699fc]
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 0x43393b
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 0x433d10
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 0x433d3b
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 0x433d5f
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 0x433d7a
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 0x43821d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x438255
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.0043714d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00437125
jmp 0x438261
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x439c34
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 0x439c76
call fcn.0044798e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x439c76
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x439c6d
xor eax, eax
jmp 0x439c7e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00439c84
pop edi
pop esi
pop ebx
ret 4

Function at 0x43b907
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 0x43b929
cmp dword [edi + 0x3c], 0
jne 0x43b929
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0044798e
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.0043b956
pop edi
pop esi
pop ebx
ret 8

Function at 0x43b9a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0044798e
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43b9d5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0043b9e8
pop edi
pop esi
pop ebx
ret 8

Function at 0x445949
Capabilities:
Create http request

Disassembly:
mov eax, 0x44e0ac
call fcn.0042572c
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 0x445981
call fcn.0044798e
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 0x4459a6
push eax
push dword [esi + 4]
call fcn.004465e4
jmp 0x4459b2
push esi
push eax
mov ecx, 0x467e30
call fcn.004459c3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x445c90
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x44e10b
call fcn.0042572c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0043d662
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x461cd8]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.00436e2f
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00436e2f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
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 0x18

Function at 0x4471e9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0044798e
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x447226
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x447226
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x44722a
xor eax, eax
jmp 0x4472a8
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004368d2
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x447262
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x44724c
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00447399
push ebx
mov edi, eax
call fcn.004368fb
test edi, edi
pop ecx
je 0x4472a4
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00447162
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004472ad
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4