joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444c7a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040aa70
xor edi, edi
inc edi
push edi
push 0xffffffffffffffff
push 0x56d178
lea ecx, [ebp - 0x228]
call fcn.0040ebd0
push ebx
lea ecx, [ebp - 0x228]
cmp eax, 0xffffffff
jne 0x444cf4
push edi
call fcn.00402ea0
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045633d
leave
ret 4
inc eax
push eax
call fcn.004064f0
push edi
push 3
lea ecx, [ebp - 0x32c]
call fcn.00444c2c
push dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 8]
push 0x56dbd4
push eax
push 0x4cdff8
lea eax, [ebp - 0x228]
push eax
push 0x4cdff4
push 0x44222e
push 0x442214
lea ecx, [ebp - 0x324]
call fcn.0044233e
mov ecx, eax
call fcn.0044233e
push eax
call fcn.00444775
pop ecx
pop ecx
push eax
call fcn.0044487d
pop ecx
pop ecx
push eax
call fcn.00444775
pop ecx
pop ecx
mov ecx, eax
call fcn.00444b93
push eax
call fcn.004449a1
pop ecx
pop ecx
mov ecx, eax
call fcn.00444b93
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x320]
call fcn.00443758
cmp dword [ebp - 0x248], 8
mov eax, dword [ebp - 0x25c]
jae 0x444d99
lea eax, [ebp - 0x25c]
push eax
call fcn.0045712c
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x230], eax
call fcn.00402ea0
push 0x40
lea eax, [ebp - 0x2a0]
push ebx
push eax
call fcn.004561f0
add esp, 0xc
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x2a4], 0x44
call fcn.00416e30
lea ecx, [ebp - 0x244]
call fcn.00416e80
push eax
lea eax, [ebp - 0x2a4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x230]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x444e32
lea ecx, [ebp - 0x244]
call fcn.00416e40
push ebx
lea ecx, [ebp - 0x230]
call fcn.0044137b
lea ecx, [ebp - 0x32c]
call fcn.004434ca
push ebx
lea ecx, [ebp - 0x228]
jmp 0x444cdb
push 0xffffffffffffffff
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne al
cmp esi, 0x102
jne 0x444ea2
mov byte [ebp - 0x229], bl
lea ecx, [ebp - 0x244]
call fcn.00416e40
push ebx
lea ecx, [ebp - 0x230]
call fcn.0044137b
lea ecx, [ebp - 0x32c]
call fcn.004434ca
push ebx
push edi
lea ecx, [ebp - 0x228]
call fcn.00402ea0
mov al, byte [ebp - 0x229]
jmp 0x444ce3
cmp al, bl
je 0x444eb2
cmp dword [ebp - 0x234], ebx
jne 0x444eb2
mov al, 1
jmp 0x444eb4
xor al, al
mov byte [ebp - 0x229], al
jmp 0x444e68
Function at 0x444ebc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], edi
call fcn.004172d0
cmp dword [eax + 0x24], 1
je 0x444edd
mov al, 1
jmp 0x444fc2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push 1
push edi
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 8], eax
call ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push edi
push edi
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
push 0x100002
lea ecx, [ebp - 8]
push ecx
push eax
push dword [esi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x444fb0
mov eax, dword [esi]
mov eax, dword [eax]
push edi
push edi
push 0x100002
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [esi + 0xc]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x444fb0
mov eax, dword [esi]
mov ecx, dword [eax]
push 0x40
mov eax, 0x1000
push eax
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
cmp ebx, edi
je 0x444fb0
push 0x2c
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.004561f0
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x444fb0
cmp dword [ebp - 0x10], 0x10
jne 0x444fb0
push ebx
mov ecx, esi
call fcn.00444c7a
test al, al
je 0x444fb0
mov ecx, esi
call fcn.00444b03
test al, al
jne 0x444fb4
xor al, al
jmp 0x444fc1
mov eax, dword [esi]
mov eax, dword [eax]
push ebx
push eax
call fcn.0044223a
pop ecx
pop ecx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x447795
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4477fe
cmp dword [ebp + 0x10], 1
je 0x4477d6
cmp dword [ebp + 0x10], 2
je 0x4477d6
push 0xd
pop eax
jmp 0x4477fe
mov eax, dword [ebp - 4]
test edi, edi
je 0x4477f8
test eax, eax
je 0x4477f3
test al, 1
jne 0x4477d1
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x4477f8
jmp 0x4477d1
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x447858
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
mov edi, 0x823
push edi
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x827]
push 0
push eax
mov byte [ebp - 0x828], 0
call fcn.004561f0
add esp, 0xc
cmp dword [ebp + 0x18], 0
push ebx
je 0x447996
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push 0x4dfa54
push 0x4df9e8
push edi
push eax
call fcn.004583e5
lea eax, [ebp - 0x828]
add esp, 0x18
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4478df
sub eax, edi
push 0x56daf8
push ebx
mov edi, eax
call fcn.004583ce
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 0x82c], ebx
test ebx, ebx
je 0x4479e8
push 2
push 0
push ebx
call fcn.00458285
push ebx
call fcn.0045818d
push 0
push 0
push ebx
mov dword [ebp - 0x834], eax
call fcn.00458285
mov eax, dword [ebp - 0x834]
lea ebx, [eax + edi + 2]
add esp, 0x1c
cmp ebx, dword [esi]
jae 0x447985
push edi
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.00456cb0
push dword [ebp - 0x82c]
mov eax, dword [ebp - 0x830]
push 1
push dword [ebp - 0x834]
add eax, edi
push eax
call fcn.00457fd3
mov ecx, dword [ebp - 0x834]
mov eax, dword [ebp - 0x830]
add esp, 0x1c
add eax, ecx
mov ecx, 0xa0d
mov word [eax + edi], cx
mov dword [esi], ebx
jmp 0x447988
and dword [esi], 0
push dword [ebp - 0x82c]
call fcn.00457cb7
pop ecx
jmp 0x4479eb
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push 0x4dfa54
push 0x4df9ac
push edi
push eax
call fcn.004583e5
lea eax, [ebp - 0x828]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4479bf
sub eax, ecx
mov edi, eax
cmp edi, dword [esi]
jae 0x4479e8
push edi
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.00456cb0
add esp, 0xc
mov dword [esi], edi
jmp 0x4479eb
and dword [esi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045633d
leave
ret
Function at 0x447e88
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004585a0
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push eax
call fcn.004561f0
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x447f4a
cmp eax, 0x3fff
ja 0x447f4a
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x447f4a
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x56d178
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x447f4a
mov eax, dword [ebp - 0x4008]
movzx ecx, word [eax + 0xc]
mov edi, dword [ebp + 0x10]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push 0x4dfb38
push edi
push esi
call fcn.004584cc
xor eax, eax
add esp, 0x1c
mov word [esi + edi*2 - 2], ax
inc eax
jmp 0x447f4c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045633d
leave
ret

Function at 0x447f5a
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push ebx
mov ebx, 0x5db880
cmp ax, word [0x5db880]
jne 0x447f93
push esi
push edi
push eax
push 0x26
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, ebx
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x447f7c
push 0x10
pop ecx
mov esi, 0x4dfb50
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x447f97
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push esi
call fcn.00447f5a
push eax
call fcn.00447e88
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x447fe7
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push 0x4dfbdc
push 0x4dfb90
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x447fe7
cmp ax, word [esi]
je 0x447fe7
inc edi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4481a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x4dfc24
mov edi, 0x4df954
push edi
mov esi, 0x103
push esi
push 0x5770d8
call fcn.004584cc
call fcn.00447fed
push eax
push edi
push esi
push 0x5772e0
call fcn.004584cc
call fcn.00447fed
push eax
push edi
push esi
push 0x5774e8
call fcn.004584cc
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push edi
push esi
push 0x5776f0
call fcn.004584cc
push dword [ebx]
push 0x4dfc14
push esi
push 0x577d08
call fcn.004584cc
and dword [ebp - 0x324], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004561f0
lea eax, [ebp - 0x324]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 0xc]
call fcn.00447804
add esp, 0x3c
test eax, eax
je 0x4482b4
push esi
lea eax, [ebp - 0x20c]
push 0x577b00
push eax
call fcn.00447e88
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x44828c
lea eax, [ebp - 0x20c]
push eax
push edi
push esi
push 0x5778f8
call fcn.004584cc
push dword [ebp - 0x324]
push 0x4dfc14
push esi
push 0x577f10
call fcn.004584cc
add esp, 0x20
jmp 0x4482c7
push 0x4dfc04
push esi
push 0x5778f8
call fcn.004584cc
add esp, 0xc
mov edi, 0x114
push edi
lea eax, [ebp - 0x320]
push 0
push eax
call fcn.004561f0
add esp, 0xc
lea eax, [ebp - 0x320]
push eax
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x448321
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x314]
push dword [ebp - 0x318]
push dword [ebp - 0x31c]
push 0x4dfbec
push esi
push 0x578118
call fcn.004584cc
add esp, 0x1c
push 0x104
push 0x578320
call fcn.00447f97
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045633d
leave
ret
Function at 0x448481
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x4df970
mov dword [ebp - 0x21c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
mov dword [ebp - 0x214], eax
cmp eax, ebx
je 0x44863b
push 0x4df95c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x218], eax
cmp eax, ebx
je 0x44862f
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004561f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x578938
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4dfce4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x210], eax
cmp eax, 0xffffffff
je 0x44862e
push edi
xor eax, eax
lea edi, [ebp - 0x228]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
call fcn.0044844a
push 0x78
pop esi
pop edi
cmp dword [eax + 0x14], esi
ja 0x44858a
call fcn.0044844a
mov esi, dword [eax + 0x14]
inc esi
call fcn.0044844a
cmp dword [eax + 0x18], 0x10
jb 0x44859a
mov eax, dword [eax + 4]
jmp 0x44859d
add eax, 4
push esi
push eax
push 0x57703c
call fcn.00456cb0
xor eax, eax
inc eax
mov dword [0x577038], eax
mov dword [ebp - 0x230], eax
add esp, 0xc
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
push ebx
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x228]
push eax
movzx eax, byte [0x5770bc]
neg eax
sbb eax, eax
and eax, 2
push eax
push dword [ebp - 0x210]
mov byte [0x5770bb], bl
mov dword [ebp - 0x23c], 0x3600001
mov dword [ebp - 0x238], 0x84
mov dword [ebp - 0x234], 0x577038
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045633d
leave
ret
Function at 0x448b4b
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004561f0
mov esi, dword [ebp + 0xc]
push 0x2454
push 0
push esi
call fcn.004561f0
lea eax, [esi + 8]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0x2148]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x48]
mov dword [ebp - 0x10], eax
mov eax, 0x800
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [esi + 0x2348]
lea ecx, [esi + 0x1048]
mov dword [ebp - 0x20], eax
mov eax, 0x80
mov dword [ebp - 8], ecx
lea ecx, [esi + 0x2048]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
add esp, 0x18
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x28], 0x100
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x448bd3
sub eax, ecx
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp + 0x10]
sar eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x448c2c
mov eax, dword [ebp - 0x30]
cmp eax, 3
je 0x448c08
cmp eax, 4
je 0x448c08
cmp eax, 1
jne 0x448c2c
mov cx, word [ebp - 0x24]
and dword [esi + 0x2448], 0
and dword [esi + 0x244c], 0
or dword [esi + 0x2450], 0xffffffff
mov dword [esi + 4], eax
xor eax, eax
mov word [esi], cx
inc eax
jmp 0x448c2e
xor eax, eax
pop esi
leave
ret

Function at 0x448faa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
call fcn.004561f0
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push ebx
push 0xffffffffffffff96
push dword [esi + 8]
call edi
push ebx
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0x6a
jne 0x4490a5
mov edx, 0x4dff88
lea eax, [ebp - 0x20c]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x449056
cmp cx, bx
je 0x449052
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x449056
add eax, 4
add edx, 4
cmp cx, bx
jne 0x449030
xor eax, eax
jmp 0x44905b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4490a5
push 1
push ebx
push 0xffffffffffffff92
push dword [esi + 8]
call edi
push ebx
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
push 1
add eax, ecx
push ebx
neg eax
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045633d
leave
ret
Function at 0x449a99
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ecx + 0x61870]
mov dword [ebp - 8], ecx
push edi
xor ecx, ecx
xor edi, edi
xor edx, edx
cmp cx, word [eax]
je 0x449ac2
mov edx, eax
push 0x10000000
push edi
push edi
push edi
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x14], eax
cmp eax, edi
je 0x449c38
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
mov edi, dword [esi + 0x20]
lea edx, [edi + 0x2348]
mov ecx, edx
mov dword [ebp - 0x18], 3
lea eax, [ecx + 2]
mov bx, word [ecx]
inc ecx
inc ecx
test bx, bx
jne 0x449afd
sub ecx, eax
sar ecx, 1
je 0x449b10
mov dword [ebp - 0xc], edx
lea edx, [edi + 0x2048]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
inc ecx
inc ecx
test ax, ax
jne 0x449b1b
sub ecx, ebx
sar ecx, 1
je 0x449b2e
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
mov ebx, dword [ebp - 8]
jne 0x449b59
lea edx, [ebx + 0x60628]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
inc ecx
inc ecx
test ax, ax
jne 0x449b45
sub ecx, dword [ebp - 8]
sar ecx, 1
je 0x449b59
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x14], 0
jne 0x449b81
lea edx, [ebx + 0x60728]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
inc ecx
inc ecx
test ax, ax
jne 0x449b6d
sub ecx, dword [ebp - 8]
sar ecx, 1
je 0x449b81
mov dword [ebp - 0x14], edx
xor eax, eax
inc eax
cmp dword [edi + 4], eax
jne 0x449b8c
mov dword [ebp - 0x18], eax
push 0x449672
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [esi + 0x20]
movzx ecx, word [eax]
push esi
push dword [ebx + 0x26e0]
add eax, 0x2148
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push ecx
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 0x18], eax
test eax, eax
je 0x449c38
add ebx, 0x60828
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x449bd2
sub eax, edx
sar eax, 1
je 0x449c33
mov dword [ebp - 0x28], 3
test ebx, ebx
je 0x449bfc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x449c02
and dword [ebp - 0x24], 0
jmp 0x449c1b
lea edi, [eax + eax]
mov eax, edi
call fcn.004584a0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.00417500
mov dword [ebp - 0x24], eax
push 0xc
lea eax, [ebp - 0x28]
push eax
push 0x26
push dword [esi + 0x14]
mov dword [ebp - 0x20], 0x56d056
call dword [sym.imp.WININET.dll_InternetSetOptionA]
xor eax, eax
inc eax
jmp 0x449c3a
xor eax, eax
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045633d
leave
ret 4
Function at 0x449fe4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
push 2
xor edi, edi
lea esi, [ebx + 0x26fc]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push edi
push edi
push dword [ebx + 8]
sar eax, 2
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 8], edi
je 0x44a0a1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebx + 8]
call edi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
and dword [ebp - 4], 0
sar eax, 2
mov dword [ebp - 0x10], 4
test eax, eax
jbe 0x44a078
push dword [ebp - 4]
mov ecx, esi
call fcn.0047546c
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0x20
push dword [eax]
push dword [ebx + 8]
call edi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
add dword [ebp - 0x10], 0x20
inc dword [ebp - 4]
sar eax, 2
cmp dword [ebp - 4], eax
jb 0x44a04a
mov eax, dword [ebp - 0x10]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebx + 8]
call edi
push 0
lea eax, [ebp - 0xc]
push eax
push 0x6a
push 0x4dff88
push dword [ebx + 8]
call edi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44a5b6
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.004585a0
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1010], edi
mov dword [ebp - 0x100c], 0x4e0224
cmp dword [edi + 0x2480], ebx
je 0x44a5f9
mov dword [ebp - 0x100c], 0x4e0218
xor eax, eax
push 0xffe
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push ebx
push eax
mov dword [ebp - 0x1008], ebx
mov dword [ebp - 0x101c], 0x4e0210
mov dword [ebp - 0x1018], ebx
call fcn.004561f0
mov eax, dword [esi + 0x20]
lea ecx, [eax + 0x1048]
push ecx
add eax, 0x48
push eax
push 0x4e01c4
lea eax, [ebp - 0x1004]
push 0x7ff
push eax
call fcn.00449394
add esp, 0x20
mov eax, 0x8400c300
cmp dword [edi + 0x62cd4], ebx
je 0x44a663
mov eax, 0x8408c300
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 4], 4
jne 0x44a671
or eax, 0x803000
push esi
push eax
lea eax, [ebp - 0x101c]
push eax
push ebx
push 0x4dfff4
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x100c]
push dword [esi + 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x1c], eax
cmp eax, ebx
je 0x44a781
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x100c]
push ecx
push 2
push eax
mov dword [ebp - 0x100c], 0x3a98
call edi
push 4
lea eax, [ebp - 0x1014]
push eax
push 0x41
push dword [esi + 0x1c]
mov dword [ebp - 0x1014], 1
call edi
push 0xa
mov dword [ebp - 0x1008], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x1044]
rep stosd dword es:[edi], eax
xor ecx, ecx
push 2
pop edx
mov eax, 0x5168
mul edx
seto cl
mov dword [ebp - 0x1044], 0x28
neg ecx
or ecx, eax
push ecx
call fcn.0045565c
mov edi, eax
pop ecx
cmp edi, ebx
je 0x44a75c
push 0xa2d0
push ebx
push edi
call fcn.004561f0
mov ecx, dword [ebp - 0x1010]
add esp, 0xc
push dword [ebp - 0x1008]
push 0x5167
push edi
push esi
call fcn.00449c4e
mov eax, edi
mov dword [ebp - 0x103c], edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x44a748
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x1038], eax
push esi
push 1
push ebx
lea eax, [ebp - 0x1044]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov dword [ebp - 0x1008], eax
cmp edi, ebx
je 0x44a781
push edi
call fcn.00456149
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1008]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045633d
leave
ret 4