joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a295
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
xor ebx, ebx
test ax, ax
je 0x41a2b7
push ebx
push 2
push ebx
push 0x10
call esi
push 0x11
call edi
test ax, ax
je 0x41a2c8
push ebx
push 2
push ebx
push 0x11
call esi
push 0x12
call edi
test ax, ax
je 0x41a2d9
push ebx
push 2
push ebx
push 0x12
call esi
push ebx
push ebx
push ebx
push 0x11
call esi
push ebx
push ebx
push ebx
push 0x56
call esi
cmp byte [esp + 0x10], bl
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x41a2f7
push 0x64
call edi
push ebx
push 2
push ebx
push 0x56
call esi
push ebx
push 2
push ebx
push 0x11
call esi
cmp byte [esp + 0x10], bl
je 0x41a314
push 0x1f4
call edi
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x41b386
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
lea eax, [ebp - 0xc]
push str.LogReport.txt
push eax
call fcn.00411413
pop ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.004066f3
lea ecx, [ebp - 0xc]
call fcn.00401085
lea eax, [ebp - 0xc]
push eax
call fcn.0041126c
push dword [eax]
call fcn.00411679
pop ecx
mov byte [ebp - 5], al
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00401085
xor ebx, ebx
cmp byte [ebp - 5], bl
jne 0x41b3f4
push dword [ebp - 4]
call fcn.00411bc2
test al, al
pop ecx
je 0x41b41e
push dword [ebp - 4]
call fcn.0044ea21
test al, al
pop ecx
je 0x41b482
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0xc]
jl 0x41b40d
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41b46b
mov eax, dword [0x4a9450]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.00406638
jmp 0x41b46b
push 1
lea eax, [ebp - 0xc]
push dword [ebp - 4]
push eax
call fcn.00411030
push dword [ebp - 0xc]
call fcn.0044ea21
add esp, 0x10
test al, al
je 0x41b47a
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0xc]
jl 0x41b454
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41b463
mov eax, dword [0x4a9450]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.00406638
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, esi
jmp 0x41b518
lea ecx, [ebp - 0xc]
call fcn.00401085
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], bx
push ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
lea ecx, [ebp - 4]
push eax
call fcn.00406638
lea eax, [ebp - 0xc]
push 1
push eax
lea ecx, [ebp - 4]
call fcn.004068d7
mov eax, dword [eax]
mov esi, 0x4a9890
push esi
push eax
call fcn.00490952
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0xc]
setne byte [ebp - 5]
call fcn.00401085
cmp byte [ebp - 5], bl
pop edi
je 0x41b4f4
push esi
lea ecx, [ebp - 4]
call fcn.00406807
push str.LogReport_TwinkiePaste.txt
lea ecx, [ebp - 4]
call fcn.00406807
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00406383
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret
Function at 0x42257a
Capabilities:
Inspect load icon resource

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
call fcn.00422c69
mov ecx, dword [esi]
push 0xffffffffffffffec
mov dword [eax], ecx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x40000
push eax
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.0040f853
push eax
mov dword [esp + 0x14], eax
push dword [0x4c0e4c]
call fcn.00430f34
pop ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
pop ecx
mov ebp, 0x80
push eax
push 0
push ebp
push dword [esi]
call ebx
movzx eax, word [esp + 0x10]
push eax
push dword [0x4c0e4c]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push ebp
push dword [esi]
call ebx
push 1
push dword [esi]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov ecx, edi
call fcn.00423df8
push 0xd6
lea eax, [edi + 0x60]
push 0x3ed
push eax
mov ecx, edi
call fcn.00422995
push 0xd7
lea eax, [edi + 0x84]
push 0x3ef
push eax
mov ecx, edi
call fcn.00422995
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call fcn.00405c43
mov ecx, edi
call fcn.004226d0
mov ecx, edi
call fcn.00422c6f
mov ecx, edi
call fcn.00423d4e
mov ecx, edi
call fcn.00422db2
test eax, eax
je 0x422670
push dword [edi + 0x48]
mov ecx, edi
call fcn.0042358f
test eax, eax
je 0x422670
push 1
mov ecx, edi
call fcn.00423923
mov ecx, edi
call fcn.004232e2
push 0
mov ecx, edi
call fcn.00422dc0
mov ecx, edi
call fcn.00423eb0
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00462ca2
pop ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x4226d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x1c]
call fcn.00432553
lea ecx, [ebp - 0x20]
call fcn.00473bce
push 0xcc
lea ecx, [ebp - 0x20]
call fcn.00450a4f
mov eax, dword [0x4a9450]
push 1
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 8]
push 1
push eax
call fcn.0040dddc
lea eax, [ebp - 0x20]
add esp, 0x10
neg eax
sbb eax, eax
lea ecx, [ebp - 0x1c]
and eax, ecx
lea ecx, [ebp - 0x18]
push eax
push 0x4a98e8
call fcn.004064a9
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040665f
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040665f
push eax
lea ecx, [ebp - 4]
call fcn.004065e8
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
lea ecx, [ebp - 0x18]
call fcn.00401085
call fcn.0040d9d8
test eax, eax
je 0x42278a
mov edi, 0x4ae0d0
mov eax, edi
test eax, eax
je 0x422780
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 4]
call fcn.0040678b
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 8]
call fcn.00401085
lea ecx, [ebp - 4]
call fcn.00401085
push 0xd2
lea ecx, [ebp - 0x20]
call fcn.00450a4f
lea ecx, [ebp - 0x10]
call fcn.00473bce
push 0xd8
lea ecx, [ebp - 0x10]
call fcn.00450a4f
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
mov eax, dword [0x4a9450]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
lea esi, [edi + 3]
push esi
call fcn.00406846
test eax, eax
je 0x422807
mov eax, dword [ebp - 4]
mov dword [eax - 8], esi
mov eax, dword [ebp - 4]
and word [eax + esi*2], 0
mov eax, dword [ebp - 4]
inc edi
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
lea ecx, [ebp - 4]
call fcn.004068ae
lea eax, [ebp - 4]
push 0x4ac1c4
push eax
lea eax, [ebp - 0x14]
push 0x4ae0c8
push eax
call fcn.0040673f
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004066f3
push eax
lea ecx, [ebp - 0xc]
call fcn.0040682e
lea ecx, [ebp - 0x18]
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0xc]
neg eax
sbb eax, eax
and eax, ecx
push eax
lea eax, [ebp - 0x18]
push 0x4a9724
push eax
call fcn.0040673f
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040682e
lea ecx, [ebp - 0x18]
call fcn.00401085
lea ecx, [ebp - 4]
call fcn.00401085
lea ecx, [ebp - 0x10]
call fcn.00473bfc
lea ecx, [ebp - 0x20]
call fcn.00473bfc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x422c0f
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, ecx
call fcn.0042358f
push 0x3f1
mov edi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x422c41
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x423228
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push dword [ebp + 8]
mov ebx, ecx
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov esi, eax
lea eax, [ebp + 8]
neg esi
sbb esi, esi
push eax
not esi
and esi, dword [ebp + 8]
and dword [ebp + 8], 0
push 0x4ae5c4
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetAttributeByName]
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.004064a9
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0
jne 0x423283
lea ecx, [ebp - 4]
call fcn.00401085
test esi, esi
je 0x42327f
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
xor eax, eax
jmp 0x4232ae
push 5
push 0
push 0
push eax
push str.open
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.00401085
test esi, esi
je 0x4232ab
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push 1
pop eax
pop esi
pop ebx
leave
ret 4
Function at 0x423bff
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jne 0x423c25
mov ecx, dword [ebp + 8]
push 0x4bf5f0
call fcn.004064a9
mov eax, dword [ebp + 8]
jmp 0x423c7d
mov eax, dword [0x4a9450]
push esi
lea esi, [edi + 2]
lea ecx, [ebp - 4]
push esi
mov dword [ebp - 4], eax
call fcn.00406846
test eax, eax
je 0x423c4f
mov eax, dword [ebp - 4]
mov dword [eax - 8], esi
mov eax, dword [ebp - 4]
and word [eax + esi*2], 0
mov eax, dword [ebp - 4]
inc edi
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.004068ae
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00406383
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, dword [ebp + 8]
pop esi
pop edi
leave
ret 8
Function at 0x425c5a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov ebx, ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00491570
mov edi, esp
push esi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx + 0x7c]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
cmp eax, 0xffffffff
jne 0x425caa
push 0x12
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x80]
cmp eax, 0xffffffff
jne 0x425cbc
push 0xf
call esi
push 0
push 0
push 0x31
mov esi, eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
push dword [ebp - 4]
lea esi, [ebp - 0x14]
lea ecx, [ebx + 0x20]
push edi
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00425cf4
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x426fa4
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042715f
mov eax, dword [esi + 0x24]
mov ebx, dword [sym.imp.USER32.dll_SetFocus]
lea edi, [esi + 0x24]
cmp dword [eax - 8], 0
je 0x427012
push 0x3f5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x4ab810
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.004069b6
test eax, eax
jle 0x426ff0
mov ecx, esi
call fcn.0045ca93
push dword [edi]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 4]
call ebx
mov ecx, esi
call fcn.00427346
push dword [esi + 0x1c]
lea eax, [ebp - 0x10]
push eax
call fcn.004272bd
pop ecx
lea edi, [esi + 4]
test eax, eax
pop ecx
je 0x427045
xor eax, eax
push 0x15
push eax
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x42704f
push dword [esi + 0x1c]
mov ecx, edi
call fcn.00405c43
lea eax, [ebp - 8]
push eax
push dword [esi + 0x1c]
call fcn.00427137
pop ecx
test eax, eax
pop ecx
je 0x427087
push dword [edi]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [edi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [edi]
call ebx
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push dword [edi]
call fcn.00456994
pop ecx
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x4270b5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
lea esi, [edi + 0x24]
je 0x42711d
push 0x3f5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
jle 0x42711d
lea edi, [ebx + 2]
mov ecx, esi
push edi
call fcn.00406846
test eax, eax
je 0x427106
mov eax, dword [esi]
mov dword [eax - 8], edi
mov eax, dword [esi]
and word [eax + edi*2], 0
mov eax, dword [esi]
inc ebx
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
mov ecx, esi
call fcn.004068ae
mov edi, dword [ebp - 8]
xor eax, eax
cmp dword [ebp + 8], eax
sete al
inc eax
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42715f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x4a95b4
lea ecx, [ebp - 8]
call fcn.004064a9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42723a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
jle 0x42723a
cmp ebx, 0x64
jle 0x4271a2
push 0x64
pop ebx
mov eax, dword [0x4a9450]
lea edi, [ebx + 2]
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00406846
test eax, eax
je 0x4271cb
mov eax, dword [ebp - 4]
mov dword [eax - 8], edi
mov eax, dword [ebp - 4]
and word [eax + edi*2], 0
mov eax, dword [ebp - 4]
inc ebx
push ebx
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
lea ecx, [ebp - 4]
call fcn.004068ae
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0
je 0x427232
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 0x4aea20
mov eax, edi
test eax, eax
jne 0x4271fe
xor eax, eax
jmp 0x427201
push edi
call ebx
push edi
push eax
lea ecx, [ebp - 8]
call fcn.0040678b
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.0040678b
mov edi, 0x4a94c0
mov eax, edi
test eax, eax
je 0x427228
push edi
call ebx
push edi
push eax
lea ecx, [ebp - 8]
call fcn.0040678b
lea ecx, [ebp - 4]
call fcn.00401085
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.0040f853
push 0x20
push eax
push dword [0x4c0e4c]
mov dword [ebp - 4], eax
call fcn.00430f47
add esp, 0xc
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x80
push eax
push 1
push ebx
push dword [esi + 4]
call edi
push dword [ebp - 4]
push dword [0x4c0e4c]
call fcn.00430f34
pop ecx
pop ecx
push eax
push 0
push ebx
push dword [esi + 4]
call edi
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ebx, eax
test ebx, ebx
je 0x4272b0
push 0x3f5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push ebx
push 0x30
push eax
call edi
lea ecx, [ebp - 8]
call fcn.00401085
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42761f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
push dword [ebp + 8]
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov esi, eax
lea eax, [ebp + 8]
neg esi
sbb esi, esi
push eax
not esi
and esi, dword [ebp + 8]
and dword [ebp + 8], 0
push 0x4ae5c4
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetAttributeByName]
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.004064a9
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0
je 0x427697
push ebx
lea eax, [ebp + 8]
push 1
push eax
lea ecx, [ebp - 4]
call fcn.0040694d
mov eax, dword [eax]
push 0x4aea2c
push eax
call fcn.00490952
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp + 8]
inc bl
call fcn.00401085
test bl, bl
pop ebx
je 0x4276ae
lea ecx, [ebp - 4]
call fcn.00401085
test esi, esi
je 0x4276aa
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
xor eax, eax
jmp 0x4276de
mov eax, dword [ebp - 8]
push 5
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.00401085
test esi, esi
je 0x4276db
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push 1
pop eax
pop esi
leave
ret 4
Function at 0x428ce1
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
push edi
push 8
pop ecx
xor ebx, ebx
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x58]
push ebx
lea eax, [ebp - 0x58]
push 0x4000000
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00491136
pop ecx
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x428e2d
push 0x4aeb50
push dword [ebp + 0x10]
call fcn.00492eac
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
jne 0x428d4c
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x428e2d
push dword [ebp + 0xc]
or dword [ebp - 0x14], 0xffffffff
mov esi, 0xc8
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0x120]
mov dword [ebp - 0xc], esi
mov dword [ebp + 0x10], ebx
call fcn.0042f271
lea ecx, [ebp - 0x38]
call fcn.0042f905
test eax, eax
je 0x428da6
lea ecx, [ebp - 0x38]
call fcn.0045cd8c
push eax
mov dword [ebp - 0x14], eax
call fcn.00428f56
mov ebx, eax
pop ecx
cmp ebx, esi
jbe 0x428da6
push ebx
call fcn.00490c80
test eax, eax
pop ecx
je 0x428da6
mov dword [ebp + 0x10], eax
mov edi, eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x38]
call fcn.0042f2cc
push 1
lea eax, [ebp - 8]
pop ebx
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
push eax
push dword [ebp - 0xc]
push edi
push dword [ebp + 8]
call esi
test eax, eax
je 0x428e0c
cmp dword [ebp - 8], 0
je 0x428e39
push dword [ebp - 4]
push dword [ebp - 8]
push 1
push edi
call fcn.00492d42
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x428dff
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 8]
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push eax
call dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x428e31
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push edi
push dword [ebp + 8]
jmp 0x428dc2
push dword [ebp - 4]
call fcn.00492cc5
pop ecx
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp + 0x10], 0
je 0x428e2d
push dword [ebp + 0x10]
call fcn.00490b97
pop ecx
xor eax, eax
jmp 0x428e65
cmp byte [ebp + 0x1c], 0
je 0x428e39
xor ebx, ebx
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 4]
call fcn.00492b5f
push dword [ebp - 4]
call fcn.00492cc5
cmp dword [ebp + 0x10], 0
pop ecx
pop ecx
je 0x428e63
push dword [ebp + 0x10]
call fcn.00490b97
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x428f5c
Capabilities:
Create http request

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
push 0x84000102
push 0
push 0
push 1
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x428fb4
mov eax, dword [esi + 0x20c]
and eax, 1
dec al
neg al
sbb al, al
inc al
push eax
push dword [esi + 0x214]
push dword [esi + 0x210]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push edi
call fcn.00428ce1
add esp, 0x18
mov esi, eax
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
pop edi
pop esi
ret
Function at 0x4295ca
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e4
push ebx
push esi
push edi
lea ecx, [ebp + 0xc]
push dword [ebp + 0xc]
call fcn.004064a9
mov al, byte [ebp + 0xb]
xor ebx, ebx
mov byte [ebp - 0x14], al
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov esi, 0x4aec5c
push ebx
push esi
lea ecx, [ebp + 0xc]
call fcn.004069b6
mov edi, eax
test edi, edi
jl 0x429645
lea eax, [edi + 1]
lea ecx, [ebp + 0xc]
push eax
push esi
call fcn.004069b6
mov ebx, eax
test ebx, ebx
jl 0x429645
sub eax, edi
lea ecx, [ebp + 0xc]
inc eax
push eax
lea eax, [ebp - 4]
push edi
push eax
call fcn.00411cb2
lea eax, [ebp - 4]
lea ecx, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
call fcn.004144fe
lea ecx, [ebp - 4]
inc ebx
call fcn.00401085
jmp 0x4295f7
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x429659
mov ecx, dword [ebp - 0xc]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x42967d
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00406383
lea ecx, [ebp - 0x14]
call fcn.00406217
lea ecx, [ebp + 0xc]
call fcn.00401085
mov eax, dword [ebp + 8]
jmp 0x42973b
cmp eax, dword [ebp - 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, eax
je 0x429703
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x42969d
mov dword [ebp - 4], eax
add eax, 0xfffffff4
push eax
call ebx
jmp 0x4296af
mov ecx, dword [0x4a9450]
push eax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
call fcn.00406638
and word [ebp - 0x7e4], 0
mov ecx, 0x1f3
xor eax, eax
lea edi, [ebp - 0x7e2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x7e4]
push 0x3e7
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jle 0x4296f3
lea eax, [ebp - 0x7e4]
lea ecx, [ebp + 0xc]
push eax
push dword [ebp - 4]
call fcn.004091dc
lea ecx, [ebp - 4]
call fcn.00401085
add esi, 4
cmp esi, dword [ebp - 0xc]
jne 0x42968a
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [eax - 0xc], 0
lea ecx, [eax - 0xc]
jl 0x429719
push ecx
mov dword [esi], eax
call ebx
jmp 0x429729
mov ecx, dword [0x4a9450]
push eax
mov dword [esi], ecx
mov ecx, esi
call fcn.00406638
lea ecx, [ebp - 0x14]
call fcn.00406217
lea ecx, [ebp + 0xc]
call fcn.00401085
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42f2ef
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
lea eax, [esi + 4]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042f5f7
pop ecx
mov edi, dword [eax]
pop ecx
push 0
push 0
push 3
push 0
push 0
mov ecx, esi
call fcn.0042faeb
neg al
sbb eax, eax
and eax, 0x16b
add eax, 0x50
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
lea ecx, [ebp - 4]
mov edi, eax
call fcn.00401085
test edi, edi
jne 0x42f342
xor eax, eax
jmp 0x42f34a
push edi
mov ecx, esi
call fcn.0042f350
pop edi
pop esi
leave
ret 4
Function at 0x42f350
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8d4
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042f5ab
pop ecx
xor esi, esi
pop ecx
push esi
push 0x84400100
push esi
push esi
push esi
push dword [ebp - 4]
push 0x4b0a20
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
cmp edi, esi
je 0x42f3e8
lea ecx, [ebp - 0x8d4]
mov dword [ebp + 8], esi
call fcn.0040a89d
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x42f3b9
push edi
mov ecx, ebx
call fcn.0042f3f9
mov dword [ebp + 8], eax
jmp 0x42f3d5
lea ecx, [ebp - 0x8d4]
call fcn.0040a8db
push eax
lea ecx, [ebp - 8]
call fcn.004064a9
lea ecx, [ebp - 8]
call fcn.00401085
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4