joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474ec5
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 0x474fdd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x474fdd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004941be
mov esi, eax
test esi, esi
je 0x474fdd
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 0x474fdd
mov ecx, esi
call fcn.00474e50
cmp edi, eax
jge 0x474fdd
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 0x474f63
mov dword [esp + 0x34], 1
jmp 0x474fbe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x474fdd
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.00474400
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 0x47b700
Capabilities:
Access peb ldr_data
Get ntdll base address
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x4a1866
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 0x40], al
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov cl, byte [esp + 0xb]
mov dword [esp + 0x18], edi
mov byte [esi + 0x50], cl
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov byte [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esi + 0x18]
mov dword [esi + 0x6c], eax
push edx
push str.Mozilla_5.0__Windows__U__Windows_NT_6.1__en_US__AppleWebKit_534.10__KHTML__like_Gecko__Chrome_7.0.536.2_Safari_534.10
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov word [esi + 0x24], di
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call fcn.0047b7c0
mov dword [esi + 0x14], eax
lea eax, [esi + 0x60]
push 0x80
push eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov byte [esi + 0x3c], 1
mov byte [esi + 0x3d], 1
call fcn.0047cbd0
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x47bbaf
Capabilities:
Parse url

Disassembly:
sub esp, 0x95c
push ebx
mov ebx, dword [esp + 0x968]
push ebp
push esi
mov esi, ecx
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x14]
mov ebp, ecx
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x3c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x6c], eax
je 0x47bbff
push 0
push 0x4d48e4
push 0x7eb
call fcn.00478690
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x95c
ret 8
lea ecx, [esp + 0x16c]
lea eax, [esp + 0x6c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x10]
xor eax, eax
push ecx
push eax
lea edx, [esp + 0x54]
push ebp
push ebx
mov dword [esp + 0x34], pe_nt_image_headers32
mov dword [esp + 0x50], 0x800
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x20
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x47bbf0
mov ecx, esi
call fcn.0047c570
mov edx, dword [esp + 0x20]
push edx
call fcn.0047b850
push ebx
mov dword [esi + 4], eax
call fcn.0047c910
push eax
call fcn.0047b850
push ebp
push ebx
mov dword [esi + 8], eax
call fcn.0047b8a0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov ax, word [esp + 0x3c]
push edx
mov word [esi + 0x24], ax
mov dword [esi + 0x28], ecx
call fcn.0047b850
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x988]
push eax
call fcn.0047b850
add esp, 0x1c
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.0047c530
mov ecx, esi
call fcn.0047bb60
test eax, eax
je 0x47bbf0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x95c
ret 8

Function at 0x47cf80
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push ecx
call fcn.00484199
add esp, 8
push 1
call fcn.004840a6
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
xor eax, eax
mov cl, byte [edx]
test cl, cl
je 0x47cfc6
push esi
mov esi, eax
shl esi, 7
add esi, eax
inc edx
movsx eax, cl
mov cl, byte [edx]
test cl, cl
lea eax, [esi + eax - 0x61c8ffff]
jne 0x47cfad
pop esi
ret

Function at 0x47da40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x47daa6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x47daa6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x47da87
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x47e690
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x47e6d9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x47eb50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a1a70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0047e700
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047e780
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047e780
lea ecx, [esi + 0xc]
call fcn.0049271c
lea ecx, [esi + 0x10]
call fcn.0049271c
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0047fd10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0047fd10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0047fd10
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00492791
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00492791
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x494b62
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x494b9a
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.00492bec
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00492bc4
jmp 0x494ba6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x496254
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 0x496296
call fcn.0049be0c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x496296
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49628d
xor eax, eax
jmp 0x49629e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004962a4
pop edi
pop esi
pop ebx
ret 4

Function at 0x49c33c
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 0x49c36a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49c388
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049c2a2
jmp 0x49c388
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49c388
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049c2a2
test edi, edi
mov eax, edi
jne 0x49c372
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x409350
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0045c050
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4093b3
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00456a24
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4093ba
xor eax, eax
jmp 0x40949e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0x20], 5
jmp 0x4093dd
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
sub ecx, 5
cmp dword [ebp - 0x20], ecx
jge 0x40944a
mov dword [ebp - 0x24], 5
jmp 0x4093fd
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
sub eax, 5
cmp dword [ebp - 0x24], eax
jge 0x409448
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_GetPixel]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x409446
push 1
push 0x4728b0
push 0x4728b8
mov ecx, 0x4a8f58
call fcn.0045d293
mov eax, 1
jmp 0x40949e
jmp 0x4093f4
jmp 0x4093d4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0xbb8
jbe 0x40948e
push 0x41
push 0x4728c0
push 0x4728d8
push 0
call sub.dskinlite.dll_dsMessageBox
cmp eax, 1
jne 0x40948a
push 1
push 0
push 0
push 0x472934
push 0x47295c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
jmp 0x40949e
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40937b
mov esp, ebp
pop ebp
ret
Function at 0x40aac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46657e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
mov eax, dword [0x487490]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x120], 0
push 0
push 5
lea eax, [ebp - 0x11c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [0x4a93c8]
and ecx, 1
jne 0x40ab49
mov edx, dword [0x4a93c8]
or edx, 1
mov dword [0x4a93c8], edx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x4a93c4
call fcn.00404420
push 0x467410
call fcn.004447d6
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x4a93c4]
sub ecx, 0x10
mov dword [ebp - 0x170], ecx
mov edx, dword [ebp - 0x170]
push edx
call fcn.00404cc0
add esp, 4
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x120]
or edx, 1
mov dword [ebp - 0x120], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004457b0
mov esp, ebp
pop ebp
ret

Function at 0x40ced0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465b9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov dword [eax], 0x475a58
mov dword [ebp - 4], 0xb
push 0x472bcc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x20]
add ecx, 0x7a4
call fcn.00453703
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x20]
add ecx, 0x754
call fcn.00453703
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x20]
add ecx, 0x740
call fcn.00401700
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x20]
add ecx, 0x6e0
call fcn.00453703
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
add ecx, 0x38c
call fcn.00412a10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x20]
add ecx, 0x318
call fcn.00406060
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
add ecx, 0x2e4
call fcn.004193e0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
add ecx, 0x2a4
call fcn.00404ff0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0x274
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x28
call fcn.00401700
mov ecx, dword [ebp - 0x18]
call fcn.0042ee60
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0x25c
call fcn.00401700
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0x1e4
call fcn.004127c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x70
call fcn.00407fb0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
call fcn.00454b16
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40d3c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x734], 0
je 0x40d3e2
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x734], 0
push 0x472c28
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x74c], 0
je 0x40d423
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x74c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x74c], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x264], 0
je 0x40d459
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x264]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x264], 0
cmp dword [0x4a8edc], 0
je 0x40d479
mov ecx, dword [0x4a8edc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4a8edc], 0
mov ecx, dword [ebp - 0xc]
add ecx, 0x2a4
call fcn.0042f0a0
mov ecx, dword [ebp - 0xc]
add ecx, 0x274
call fcn.0042f0a0
mov ecx, dword [ebp - 0xc]
add ecx, 0x2e4
call fcn.0042f0a0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x8c], 0
je 0x40d4ba
mov ecx, dword [ebp - 0xc]
add ecx, 0x70
call fcn.0040a1a0
mov ecx, dword [ebp - 0xc]
add ecx, 0x2a4
call fcn.0042f070
mov ecx, dword [ebp - 0xc]
add ecx, 0x274
call fcn.0042f070
mov ecx, dword [ebp - 0xc]
add ecx, 0x2e4
call fcn.0042f070
mov esp, ebp
pop ebp
ret
Function at 0x415280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 8]
sub eax, 0x7d0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x70
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 4], 0
jl 0x4152bf
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jge 0x4152bf
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 4]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x10], ecx
jmp 0x4152c4
call fcn.00452c62
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, 0xbc
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
push 0x4733d3
mov eax, dword [ebp - 0x18]
push eax
call fcn.00444bcf
add esp, 8
neg eax
sbb eax, eax
inc eax
movzx ecx, al
test ecx, ecx
je 0x4152fb
jmp 0x415410
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00456a24
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x70
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 4], 0
jl 0x41533c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jge 0x41533c
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 4]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x20], ecx
jmp 0x415341
call fcn.00452c62
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0xbc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4153c6
push 4
push 0x4733d4
push 0x4733dc
mov ecx, dword [ebp - 0x44]
call fcn.00456217
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 6
jne 0x4153c4
mov eax, dword [ebp - 0x44]
add eax, 0x70
mov dword [ebp - 0x30], eax
cmp dword [ebp - 4], 0
jl 0x4153a5
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 8]
jge 0x4153a5
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 4]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x2c], eax
jmp 0x4153aa
call fcn.00452c62
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xbc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.00415800
jmp 0x415410
mov edx, dword [ebp - 0x44]
add edx, 0x70
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 4], 0
jl 0x4153f1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jge 0x4153f1
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 4]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x38], edx
jmp 0x4153f6
call fcn.00452c62
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xbc]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 8]
call fcn.0040dd00
mov esp, ebp
pop ebp
ret 4
Function at 0x4162c0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x473465
push 0x473466
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x31160], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x31160], 0
jne 0x41630a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3116c], eax
xor eax, eax
jmp 0x4163b0
push 0
push 0x4400000
push 3
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov cx, word [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x31160]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x31164], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x31164], 0
jne 0x41636c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3116c], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x31160]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4163b0
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x4163ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3116c], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x31164]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x31160]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4163b0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x14

Function at 0x416660
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x47346c
push 0
push 0x4400000
lea eax, [ebp - 4]
push eax
push 0x473470
push 0x473474
mov ecx, dword [ebp + 8]
push ecx
push 0x473480
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x31164]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x31168], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x31168], 0
jne 0x4166c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x3116c], eax
xor eax, eax
jmp 0x416739
push SysReAllocString
push 0x473484
call fcn.00444520
add esp, 4
push eax
push 0x473494
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x31168]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x416705
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x3116c], eax
xor eax, eax
jmp 0x416739
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x31168]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x416734
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x3116c], eax
xor eax, eax
jmp 0x416739
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x416740
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x487490]
mov dword [ebp - 0xc], eax
push edi
mov dword [ebp - 0x418], ecx
mov dword [ebp - 8], 0x4734a4
mov al, byte [0x4734a8]
mov byte [ebp - 0x410], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x40f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0x4734ac
push 0x400
lea ecx, [ebp - 0x410]
push ecx
mov ecx, dword [ebp - 0x418]
call fcn.00416e70
mov dword [ebp - 0x414], eax
push 0
push 0x4400040
lea edx, [ebp - 8]
push edx
push 0x4734de
push 0x4734e0
mov eax, dword [ebp + 8]
push eax
push 0x4734ec
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx + 0x31164]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x418]
mov dword [ecx + 0x31168], eax
mov edx, dword [ebp - 0x418]
cmp dword [edx + 0x31168], 0
jne 0x416805
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x418]
mov dword [ecx + 0x3116c], eax
xor eax, eax
jmp 0x4168a4
push SysReAllocString
push 0x4734f4
call fcn.00444520
add esp, 4
push eax
push 0x473504
mov edx, dword [ebp - 0x418]
mov eax, dword [edx + 0x31168]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x41684a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x418]
mov dword [ecx + 0x3116c], eax
xor eax, eax
jmp 0x4168a4
lea edx, [ebp - 0x410]
push edx
call fcn.00444520
add esp, 4
push eax
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00444520
add esp, 4
push eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x31168]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x41689f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x418]
mov dword [edx + 0x3116c], eax
xor eax, eax
jmp 0x4168a4
mov eax, 1
mov ecx, dword [ebp - 0xc]
call fcn.004457b0
pop edi
mov esp, ebp
pop ebp
ret 4