joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d8b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x52a4c8
push 0x4be6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x533068]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x440], eax
xor bl, bl
mov byte [ebp - 0x439], bl
push 0x412
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.004bf3c0
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
mov ecx, edi
call fcn.0047d6a0
cmp byte [edi + 0x30], bl
je 0x47d95c
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47d984
test al, 0x10
jne 0x47d984
call fcn.0047e120
push ecx
lea ecx, [ebp - 0x438]
push ecx
mov ecx, eax
call fcn.0047e200
test al, al
je 0x47d984
mov dword [edi + 0x34], 0
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x47d988
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x47d9f4
push str.ExtractArchive
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47d9bf
mov dword [edi + 0x34], esi
push edi
push 0x47d5a0
push 0
push dword [ebp - 0x440]
push dword [ebp - 0x444]
call eax
add esp, 0x14
test eax, eax
sete bl
mov byte [ebp - 0x439], bl
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x47d9e7
test esi, esi
je 0x47d9f2
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004bc909
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47da20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x52a4e8
push 0x4be6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x533068]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x440], eax
xor bl, bl
mov byte [ebp - 0x439], bl
push 0x412
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.004bf3c0
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
mov ecx, edi
call fcn.0047d6a0
cmp byte [edi + 0x30], bl
je 0x47dacc
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47daf4
test al, 0x10
jne 0x47daf4
call fcn.0047e120
push ecx
lea ecx, [ebp - 0x438]
push ecx
mov ecx, eax
call fcn.0047e200
test al, al
je 0x47daf4
mov dword [edi + 0x34], 0
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x47daf8
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x47db67
push str.ExtractArchive2
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47db32
mov dword [edi + 0x34], esi
push dword [edi + 0x38]
push edi
push 0x47d5a0
push 0
push dword [ebp - 0x440]
push dword [ebp - 0x444]
call eax
add esp, 0x18
test eax, eax
sete bl
mov byte [ebp - 0x439], bl
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x47db5a
test esi, esi
je 0x47db65
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004bc909
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4810d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f49fb
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x533068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x481109
call fcn.00481270
cmp byte [0x535aec], 0
jne 0x48111c
mov eax, SysReAllocString
jmp 0x48124c
mov eax, dword [esi]
test eax, eax
jne 0x48119c
push 8
call fcn.004bc91a
mov edi, eax
add esp, 4
mov dword [ebp - 0x138], edi
mov dword [ebp - 4], 0
push 1
call fcn.004bc91a
add esp, 4
mov dword [edi + 4], eax
mov byte [eax], 0
lea eax, [ebp - 0x130]
push 0x118
push 0
push eax
call fcn.004bf3c0
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x48118b
cmp dword [ebp - 0x130], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x48123b
call fcn.00489280
test al, al
jne 0x4811d6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.004897c0
test al, al
je 0x48123b
mov ecx, dword [esi]
add ecx, 4
call fcn.00488de0
call fcn.00489280
test al, al
je 0x48123b
push str.Advapi32.dll
lea ecx, [ebp - 0x150]
call fcn.00402800
mov dword [ebp - 4], 2
lea eax, [ebp - 0x150]
push eax
call fcn.004821d0
mov ecx, eax
call fcn.00482290
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.004027f0
test edi, edi
je 0x48123b
push str.RegOpenCurrentUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48123b
push dword [esi]
push dword [ebp + 8]
call eax
test eax, eax
je 0x48123b
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x48124a
mov dword [eax], SysReAllocString
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bc909
mov esp, ebp
pop ebp
ret 4
Function at 0x481430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x533068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x654]
mov ebx, dword [ebp + 0xc]
call fcn.00402850
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x63c]
call fcn.00403800
push 0x535b0c
call fcn.00404230
mov byte [ebp - 4], 1
mov ecx, 0x535b1c
call fcn.00405520
test al, al
jne 0x4814d5
mov ecx, 0x535b1c
call fcn.00402870
lea ecx, [ebp - 0x654]
cmp ecx, eax
je 0x481599
mov ecx, 0x535b1c
call fcn.00402870
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4814cc
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x48158e
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004bf3c0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x48162c
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x638]
push eax
call fcn.004bf3c0
add esp, 0xc
lea eax, [ebp - 0x638]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x481577
test eax, eax
je 0x481577
add eax, eax
cmp eax, 0x412
jae 0x48166f
xor ecx, ecx
mov word [ebp + eax - 0x638], cx
lea eax, [ebp - 0x638]
push eax
call fcn.00402af0
add esp, 4
push eax
lea eax, [ebp - 0x638]
jmp 0x48158d
lea eax, [ebp - 0x220]
push eax
call fcn.00402af0
add esp, 4
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x654]
call fcn.004028e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x63c]
call fcn.00404260
push ebx
push edi
lea eax, [ebp - 0x654]
mov ecx, esi
push eax
call fcn.004813c0
test al, al
je 0x4815c0
mov bl, 1
jmp 0x48163d
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004bf3c0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x48163b
xor eax, eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x220]
push eax
call fcn.00402af0
add esp, 4
lea ecx, [ebp - 0x654]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004028e0
push ebx
push edi
lea eax, [ebp - 0x654]
mov ecx, esi
push eax
call fcn.004813c0
mov bl, al
jmp 0x48163d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x63c]
call fcn.00404260
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x654]
call fcn.004027f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc909
mov esp, ebp
pop ebp
ret 8
call fcn.004bcf86
int3
Function at 0x483ad0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f50df
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x533068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [edi + 4]
push eax
lea ecx, [eax + 0x94]
call fcn.004841b0
mov esi, dword [edi + 4]
add esp, 4
sub esi, 0x94
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.004027f0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.004027f0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.004027f0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.004027f0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004027f0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004027f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add dword [edi + 4], 0xffffff6c
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x484780
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f52cf
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x533068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.004027f0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.004027f0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.004027f0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.004027f0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004027f0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004027f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x485a60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f546f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x533068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00404060
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00404060
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00404060
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00404060
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00404060
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00404060
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4886a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x533068]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.004bc91a
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.004bf3c0
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x4886fc
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.004bc909
add esp, 0x120
ret
Function at 0x48bb90
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x533068]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x48bc12
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x48bc12
test ecx, ecx
je 0x48bc0e
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x48bbd0
xor eax, eax
jmp 0x48bc17
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x48bc21
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004bc909
add esp, 0xc
ret 0xc

Function at 0x48df50
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x48df88
mov edx, dword [esp + 4]
test edx, edx
je 0x48df88
cmp dword [eax], 0xffffffff
je 0x48df88
mov eax, dword [esp + 0xc]
push 0
push eax
push dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [ecx]
push edx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48df88
mov al, 1
ret 0xc
xor al, al
ret 0xc

Function at 0x48df90
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx]
push esi
push edi
test eax, eax
je 0x48dfca
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x48dfca
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x48dfca
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 0
push esi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48dfca
cmp edi, dword [esi]
jne 0x48dfca
pop edi
mov al, 1
pop esi
ret 0xc
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x48e010
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x533068]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
test eax, eax
je 0x48e073
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x48e073
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48e04e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x48e073
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004bc909
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004bc909
add esp, 8
ret 4
Function at 0x48ef10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6706
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x533068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x820], ecx
lea eax, [ebp - 0x810]
push eax
push 0x3fe
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
mov dword [ebp - 0x818], ebx
test ebx, ebx
je 0x48efee
lea edi, [ebp - 0x810]
mov dword [ebp - 0x814], 0
xor esi, esi
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x814], esi
mov dword [ebp - 4], esi
cmp ebx, 0x3fe
jbe 0x48f00c
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bd065
add esp, 4
mov dword [ebp - 0x81c], eax
mov edi, eax
mov esi, edi
mov dword [ebp - 0x814], esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x48efda
cmp eax, ebx
ja 0x48efda
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [ebp - 0x818], ebx
jmp 0x48f03a
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x48efee
push edi
call fcn.004bd060
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc909
mov esp, ebp
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x48f0c5
xor ecx, ecx
mov word [ebp + eax - 0x810], cx
add eax, 2
cmp eax, 0x800
jae 0x48f0c5
mov word [ebp + eax - 0x810], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x48f0aa
mov esi, dword [ebp - 0x81c]
mov ebx, 2
mov eax, dword [ebp - 0x818]
cmp word [esi + ebx - 2], 0
jne 0x48f09c
cmp ecx, edi
je 0x48f09c
lea eax, [esi + ecx*2]
push eax
lea ecx, [ebp - 0x838]
call fcn.00402800
mov byte [ebp - 4], 1
lea eax, [ebp - 0x838]
mov ecx, dword [ebp - 0x820]
push eax
call fcn.0040a1f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x838]
call fcn.004027f0
mov eax, dword [ebp - 0x818]
lea ecx, [edi + 1]
inc edi
add ebx, 2
cmp edi, eax
jb 0x48f053
mov esi, dword [ebp - 0x814]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x48f0be
push esi
call fcn.004bd060
add esp, 4
mov al, 1
jmp 0x48eff0
call fcn.004bcf86
int3
Function at 0x4921b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6f98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x533068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push 0xffffffffffffffff
push 0xffff8000
movlpd qword [ebp - 0x3c], xmm0
call fcn.0048e090
test al, al
jne 0x492210
mov eax, 1
jmp 0x49238d
push 0x10000
call fcn.004bd065
mov ebx, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
push 0x10000
push 0
push ebx
call fcn.004bf3c0
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x492366
test ebx, ebx
je 0x492366
cmp dword [eax], 0xffffffff
je 0x492366
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x8000
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x492366
mov esi, dword [ebp - 0x20]
mov ecx, 0x8000
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ecx
add esi, ecx
nop word [eax + eax]
cmp byte [edi + 0x9c], 0
jne 0x49235c
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [esi + ebx]
push eax
call fcn.004b5de0
test al, al
je 0x49234f
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x492302
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x4922f1
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x9c], 0
jne 0x49235c
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
jmp 0x49230c
add ebx, eax
cmp ebx, 0x8000
je 0x49231c
cmp dword [ebp - 0x28], 0xf
ja 0x492345
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
jne 0x4922a0
mov ebx, dword [ebp - 0x20]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x49233e
add ecx, 4
add esi, 4
sub edx, 4
jae 0x492326
mov esi, 4
jmp 0x492377
mov esi, 5
jmp 0x492377
mov ebx, dword [ebp - 0x20]
mov esi, 3
jmp 0x492377
mov eax, dword [ebp - 0x30]
mov esi, 3
mov ebx, dword [ebp - 0x20]
jmp 0x492371
mov ebx, dword [ebp - 0x20]
mov esi, 2
jmp 0x492377
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x49238b
push ebx
call fcn.004bd060
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bc909
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4923b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x533068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], 0
call fcn.00405530
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
push 0x512890
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.00405670
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
push ecx
mov ecx, dword [ebp - 0x3c]
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.004b4ba0
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00405620
test bl, bl
jne 0x492473
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x49252e
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push ecx
push eax
push 0x13
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.0042dd50
test al, al
jne 0x4924a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x49252e
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x49251b
cmp eax, 0xce
je 0x49251b
cmp eax, 0x12e
jne 0x49254f
mov ecx, 0x400
mov dword [ebp - 0x34], ecx
test esi, esi
jne 0x4924e3
push 0x800
call fcn.004bd065
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x34]
add ecx, ecx
push ecx
push 0
push esi
call fcn.004bf3c0
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
push esi
push 0x21
call fcn.0042ddc0
test al, al
je 0x49254f
push esi
call fcn.00402af0
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.004028e0
mov ebx, dword [ebp - 0x38]
jmp 0x49253f
cmp dword [ebp + 0x14], 0
ja 0x492527
cmp dword [ebp + 0x10], 0
jbe 0x492553
cmp eax, 0xce
je 0x492553
mov ebx, dword [ebp - 0x38]
cmp dword [ebx + 4], 0
je 0x49254f
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x492413
xor bl, bl
jmp 0x49255f
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x492570
push esi
call fcn.004bd060
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004027f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc909
mov esp, ebp
pop ebp
ret 0x10