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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4e5c7c], 0
je 0x454679
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4dff2c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x454679
mov eax, dword [0x4e5c80]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4e5c7c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x454648
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4e5c7c]
call fcn.00420d50
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x454640
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x454640
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x454640
mov eax, dword [ebp - 0x14]
call fcn.0045ee30
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454640
push ebp
call fcn.004544ec
pop ecx
test al, al
jne 0x454640
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004049ec
test al, al
je 0x454640
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004049ec
cmp byte [ebp - 1], 0
je 0x454640
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x454640
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4e5c80]
call fcn.00453c5c
inc edi
dec ebx
jne 0x454595
mov eax, dword [0x4e5c80]
cmp dword [eax + 8], 0
jle 0x454660
mov eax, dword [0x4e5c80]
call fcn.00453d14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x454679
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00454350
pop ecx
test al, al
jne 0x454679
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bd04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00407f20
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004568b8
test ebx, ebx
jne 0x45bd57
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0045bc40
mov ebx, eax
test ebx, ebx
je 0x45be42
cmp esi, ebx
je 0x45bd80
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x45bd95
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x45bdcd
add eax, 0xffffff5f
sub eax, 2
jb 0x45bde5
dec eax
sub eax, 2
jb 0x45bdf9
dec eax
sub eax, 2
jb 0x45bdef
jmp 0x45be03
add eax, 0xfffffdff
sub eax, 2
jb 0x45bde5
dec eax
sub eax, 2
jb 0x45bdf9
dec eax
sub eax, 2
jb 0x45bdef
jmp 0x45be03
mov byte [esp + 0x120], 0
jmp 0x45be0b
mov byte [esp + 0x120], 2
jmp 0x45be0b
mov byte [esp + 0x120], 1
jmp 0x45be0b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0043c848
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00458070
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x45be44
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x464244
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4e0218]
cmp byte [eax + 0xc], 0
je 0x4643b1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4643aa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e5c8c], 0
jne 0x464298
push 0x4643b8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4643c0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5c8c], eax
cmp dword [0x4dd940], 0
jne 0x464393
push 0x4643d0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4dd940], eax
cmp dword [0x4dd940], 0
je 0x464393
push 0x4643dc
mov eax, dword [0x4dd940]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5c90], eax
push 0x4643ec
mov eax, dword [0x4dd940]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5c94], eax
push 0x464400
mov eax, dword [0x4dd940]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5c98], eax
push 0x464418
mov eax, dword [0x4dd940]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5c9c], eax
push 0x464430
mov eax, dword [0x4dd940]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5ca0], eax
push 0x464444
mov eax, dword [0x4dd940]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5ca4], eax
push 0x46445c
mov eax, dword [0x4dd940]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5ca8], eax
push 0x464474
mov eax, dword [0x4dd940]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5cac], eax
push 0x464490
mov eax, dword [0x4dd940]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5cb0], eax
push 0x46449c
mov eax, dword [0x4dd940]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e5cb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4643b1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x46f1a8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405c50
xor eax, eax
push ebp
push 0x46f2dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x46f2b0
xor edx, edx
push ebp
push 0x46f2a9
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x46f1f5
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46f27e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x46f26d
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x46f234
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405c60
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403260
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f274
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4dfa44]
mov dl, 1
mov eax, dword [0x4091dc]
call fcn.0040fefc
call fcn.00405128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f2e4
lea eax, [ebp - 4]
call fcn.004057d0
ret
Function at 0x46f2ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46f4a7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405f54
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x46f4c0
call fcn.00405ae8
mov eax, ebx
call fcn.004288bc
mov edi, eax
dec edi
test edi, edi
jl 0x46f3a4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00428890
mov edx, dword [0x46a4a0]
call fcn.0040497c
test al, al
je 0x46f3a0
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00428890
lea edx, [ebp - 0x14]
call fcn.00456d80
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405f54
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405b64
inc esi
dec edi
jne 0x46f352
movzx eax, byte [0x46f4c4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x46f4d0
mov eax, dword [ebp - 8]
call fcn.00411258
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405868
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00456d80
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x46f4c0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00456d80
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x46f4c0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x46f4c0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x46f4dc
call fcn.0040c4c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f4ae
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004057f4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004057f4
lea eax, [ebp - 0x14]
call fcn.004057d0
lea eax, [ebp - 0x10]
call fcn.004057d0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004057f4
ret
Function at 0x470ff4
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405c50
xor eax, eax
push ebp
push 0x471072
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405c60
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x47103d
mov eax, dword [ebx + 4]
call fcn.00405c60
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471079
lea eax, [ebp - 4]
call fcn.004057d0
ret

Function at 0x472114
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4722b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.004034bc
cmp word [ebx + 0xa2], 0
je 0x47215d
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x472171
lea esi, [ebp - 0xc]
jmp 0x472173
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x472180
xor edi, edi
jmp 0x47218d
mov eax, dword [ebx + 0x80]
call fcn.00405c60
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00405c60
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004717c4
mov eax, dword [ebp - 0x14]
call fcn.00405c60
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00405c60
push eax
mov eax, dword [ebp - 4]
call fcn.00405c60
push eax
mov eax, ebx
call fcn.00471904
push eax
mov eax, ebx
call fcn.004718d8
push eax
mov eax, ebx
call fcn.00471890
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00471690
mov eax, dword [ebp - 0x18]
call fcn.00405c60
push eax
mov eax, dword [ebx + 8]
call fcn.00405c60
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0x10], 0
jne 0x472216
call fcn.00411720
xor edx, edx
push ebp
push 0x47228f
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x472254
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x47224a
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472296
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4722c8
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x4722f4
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00405c60
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x472319
call fcn.00411720
xor eax, eax
push ebp
push 0x472350
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x472339
call fcn.00411720
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472357
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x474714
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405c50
xor eax, eax
push ebp
push 0x4747df
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0xffffffff
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405c60
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4747be
push 0
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea eax, [ebp - 0x100c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x4747a7
mov edi, dword [ebp - 0xc]
test edi, edi
jbe 0x4747ac
lea ebx, [ebp - 0x100c]
mov edx, esi
movzx eax, byte [ebx]
call fcn.004746f8
add esi, eax
inc ebx
dec edi
jne 0x474795
jmp 0x4747ac
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1000
je 0x474769
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, esi
call fcn.00474710
mov esi, eax
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4747e6
lea eax, [ebp - 4]
call fcn.004057d0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405c60
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x474ab1
test al, 0x10
jne 0x474ab5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405c60
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4781f1
test al, 0x10
jne 0x4781f5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4785a0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov eax, ebx
call fcn.004057d0
push esp
push 5
mov eax, dword [0x4dff2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, 0x80000000
sete al
test al, al
je 0x4785f5
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4785ed
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040bc38
mov eax, dword [esp]
call fcn.00478548
add esp, 0x108
pop ebx
ret
Function at 0x478d18
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405c50
xor eax, eax
push ebp
push 0x478ddb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 4]
call fcn.0040bab8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jle 0x478dc5
mov eax, ebx
call fcn.00402fec
mov edi, eax
push edi
push ebx
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x478dec
push edi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x478dbe
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfeef04bd
jne 0x478dbe
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [esi + 4], eax
mov eax, edi
call fcn.00403008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478de2
lea eax, [ebp - 4]
call fcn.004057d0
ret

Function at 0x47950c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405c50
xor eax, eax
push ebp
push 0x47957d
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405c60
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
test ebx, ebx
jbe 0x479567
lea eax, [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479584
lea eax, [ebp - 4]
call fcn.004057d0
ret

Function at 0x47958c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405c50
xor eax, eax
push ebp
push 0x47963b
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405c60
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
test esi, esi
jbe 0x479625
push 0
lea eax, [ebp - 8]
push eax
push 0x1000
lea eax, [ebp - 0x1008]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x479611
mov edx, dword [ebp - 8]
test edx, edx
jbe 0x479616
lea eax, [ebp - 0x1008]
movzx ecx, byte [eax]
add ebx, ecx
inc eax
dec edx
jne 0x479606
jmp 0x479616
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1000
je 0x4795dd
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479642
lea eax, [ebp - 4]
call fcn.004057d0
ret
Function at 0x47997c
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405c50
xor eax, eax
push ebp
push 0x479a1c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
call fcn.00405c60
mov esi, eax
push esi
call sub.LZ32.DLL_LZOpenFileA
mov ebx, eax
lea eax, [ebp - 0x191]
push eax
push esi
call sub.LZ32.DLL_GetExpandedNameA
dec eax
jne 0x4799f2
push 0x1000
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x191]
push eax
call sub.LZ32.DLL_LZOpenFileA
mov esi, eax
push esi
push ebx
call sub.LZ32.DLL_LZCopy
push esi
call sub.LZ32.DLL_LZClose
push ebx
call sub.LZ32.DLL_LZClose
mov eax, dword [ebp - 4]
call fcn.00405c60
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479a23
lea eax, [ebp - 4]
call fcn.004057d0
ret
Function at 0x47b204
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x103c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47b41f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x47b438
call fcn.00405868
mov esi, dword [ebx + 0x80]
cmp dword [esi + 4], 0
je 0x47b3fe
cmp dword [esi + 8], 0
je 0x47b3fe
lea eax, [ebp - 0x35]
mov edx, 0x47b470
call fcn.0040bab8
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x194]
call fcn.00405c60
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
push 1
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebx + 0x80]
mov eax, dword [eax + 4]
call fcn.00405c60
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47b3e3
push 1
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x80]
mov eax, dword [eax + 8]
call fcn.00405c60
push eax
push 0x47b478
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x47b3c6
mov eax, dword [ebx + 0x80]
add eax, 0x14
call fcn.004057d0
mov esi, dword [ebp - 4]
test esi, esi
je 0x47b2fe
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx + 0x80]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x47b310
sub edi, 4
mov edi, dword [edi]
push edi
mov eax, dword [ebx + 0x80]
mov eax, dword [eax + 0xc]
call fcn.00405c60
push eax
push esi
mov eax, dword [ebp - 4]
call fcn.00405c60
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x47b3bb
mov dword [ebp - 0x14], 0x1000
cmp dword [ebp - 0x14], 0
jbe 0x47b3bb
mov eax, dword [0x4dff2c]
mov eax, dword [eax]
call fcn.0044745c
lea eax, [ebp - 0x14]
push eax
push 0x1000
lea eax, [ebp - 0x1035]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x47b3bb
cmp dword [ebp - 0x14], 0
jbe 0x47b3b5
cmp dword [ebp - 0x14], 0x1000
ja 0x47b3b5
mov edi, dword [ebp - 0x14]
dec edi
test edi, edi
jl 0x47b3b5
inc edi
lea esi, [ebp - 0x1035]
lea eax, [ebp - 0x103c]
movzx edx, byte [esi]
call fcn.004059b8
mov edx, dword [ebp - 0x103c]
mov eax, dword [ebx + 0x80]
add eax, 0x14
call fcn.00405a9c
inc esi
dec edi
jne 0x47b38f
cmp dword [ebp - 0x14], 0
ja 0x47b348
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x47b3d8
push 0x11
push 5
xor ecx, ecx
mov edx, 0x3b8
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x47b3f5
push 0x10
push 5
xor ecx, ecx
mov edx, 0x3b7
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b426
lea eax, [ebp - 0x103c]
call fcn.004057d0
lea eax, [ebp - 4]
call fcn.004057d0
ret