joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442a70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a95cc
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
push 1
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.004432d0
mov dword [esp + 0x54], 1
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
sar ecx, 1
jne 0x442ac5
call fcn.00489d53
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edx
push ebx
call esi
inc eax
lea ecx, [esp + 0x14]
call fcn.004434b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, eax
sub edx, ecx
sar edx, 1
jne 0x442afa
call fcn.00489d53
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, ecx
sar eax, 1
push ecx
push eax
call esi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub ecx, edx
sar ecx, 1
cmp eax, ecx
jbe 0x442b2e
push edi
call fcn.00442400
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], bl
lea eax, [esp + 0x14]
push eax
jmp 0x442bb0
cmp ecx, ebx
ja 0x442b3b
call fcn.00489d53
mov edx, dword [esp + 0x20]
xor ecx, ecx
push edx
mov esi, edx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
call fcn.0048a11b
add esp, 4
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0040429b
mov byte [esp + 0x54], 2
push edi
lea ecx, [esp + 0x30]
call fcn.004424d0
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], 1
cmp dword [esp + 0x44], 8
jb 0x442b94
mov edx, dword [esp + 0x30]
push edx
call fcn.00489b10
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
mov byte [esp + 0x54], bl
lea ecx, [esp + 0x14]
push ecx
call fcn.00443340
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x442bd0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ac173
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
mov dword [esp + 0x38], edi
mov esi, ecx
mov dword [esp + 0x18], ebx
call fcn.00442a70
add esp, 4
mov dword [esp + 0x26c], 1
mov ebp, 8
cmp dword [esi + 0x18], ebp
jb 0x442c3d
mov esi, dword [esi + 4]
jmp 0x442c40
add esi, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x442c4e
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x54]
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp byte [esp + 0x274], bl
je 0x442c70
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x54]
xor eax, eax
mov esi, 7
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.0048a11b
add esp, 4
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x20]
call fcn.0040429b
mov byte [esp + 0x26c], 2
push edi
lea ecx, [esp + 0x1c]
call fcn.004424d0
mov dword [esp + 0x14], 1
mov byte [esp + 0x26c], 1
cmp dword [esp + 0x30], ebp
jb 0x442cd5
mov eax, dword [esp + 0x1c]
push eax
call fcn.00489b10
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
mov dword [esp + 0x26c], ebx
cmp dword [esp + 0x50], ebp
jb 0x442cfe
mov edx, dword [esp + 0x3c]
push edx
call fcn.00489b10
add esp, 4
xor eax, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov eax, edi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.00489b1b
add esp, 0x260
ret
Function at 0x443ae0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2c0
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x2bc], eax
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4011
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0x10
push 0x4c314c
call edi
push 0x4011
push 0x2b4
lea ecx, [esp + 0x14]
push ecx
push 0x10
push 0x4c3154
mov dword [esi], eax
call edi
mov edx, dword [esp + 0x10]
push 0x4013
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0x10
push 0x4c3154
mov dword [esi + 4], edx
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 4]
push edx
push 0x11
push 0
mov dword [esi + 8], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x443bbd
mov ecx, dword [esp + 4]
push 0x4009
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push ecx
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
mov dword [esi + 0xc], edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x443bc4
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, esi
pop edi
mov ecx, dword [esp + 0x2bc]
xor ecx, esp
call fcn.00489b1b
add esp, 0x2c0
ret
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 0x2c0]
pop edi
xor ecx, esp
mov eax, esi
call fcn.00489b1b
add esp, 0x2c0
ret

Function at 0x4446c0
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
mov ebx, ecx
call fcn.00444870
mov eax, 8
cmp dword [edi + 0x18], eax
jb 0x4446dd
mov edi, dword [edi + 4]
jmp 0x4446e0
add edi, 4
cmp dword [ebx + 0x18], eax
jb 0x4446ea
mov ebx, dword [ebx + 4]
jmp 0x4446ed
add ebx, 4
test edi, edi
je 0x44470c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
lea eax, [eax + eax + 2]
push eax
push edi
push 2
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret
Function at 0x444710
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ac103
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x44482e
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x44475e
mov ecx, dword [esi]
jmp 0x444760
mov ecx, esi
lea edx, [esp + 0x14]
push edx
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push ecx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x44482e
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x444792
cmp eax, 2
jne 0x44482e
mov eax, dword [esp + 0x14]
shr eax, 1
mov dword [esp + 0x1c], eax
cmp eax, ebx
jbe 0x44482e
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004432d0
mov dword [esp + 0x40], 1
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
sar ecx, 1
jne 0x4447c8
call fcn.00489d53
cmp dword [edi + 0x18], 8
jb 0x4447d2
mov eax, dword [esi]
jmp 0x4447d4
mov eax, esi
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
push eax
push edx
lea esi, [esp + 0x24]
call fcn.0041c530
cmp eax, ebx
jne 0x444820
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 1
jne 0x4447fc
call fcn.00489d53
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.0040432c
mov dword [esp + 0x18], 1
mov byte [esp + 0x40], bl
lea edx, [esp + 0x20]
push edx
call fcn.00443340
jmp 0x44484a
mov byte [esp + 0x40], bl
lea eax, [esp + 0x20]
push eax
call fcn.00443340
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
xor ecx, ecx
mov word [ebp + 4], cx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], 1
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8
Function at 0x4452e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4aec48
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0x104
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44534f
mov edx, dword [0x4e799c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e799c
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x4453ca
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x445362
mov ecx, 0x5c
mov word [esp + eax*2 + 0x10], cx
inc eax
xor edx, edx
mov word [esp + eax*2 + 0x10], dx
mov eax, dword [0x4e799c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e799c
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x224], 2
lea eax, [esp + 0x10]
test eax, 0xffff0000
jne 0x4453b0
mov ecx, eax
movzx edi, cx
push edi
call fcn.00412938
add esp, 4
test eax, eax
je 0x4453ca
push edi
push eax
mov eax, esi
call fcn.00412a51
jmp 0x4453ca
lea edx, [esp + 0x10]
push edx
call fcn.0048a11b
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.0040a6dc
mov dword [esp + 0x224], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00489b1b
add esp, 0x220
ret
Function at 0x445410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac0c1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov ebx, 1
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x1c]
push eax
call fcn.00446820
mov edx, dword [0x4e799c]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x4e799c
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x30], bl
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
cmp ebx, esi
jle 0x445512
mov ebp, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x4454e2
lea ecx, [eax - 1]
test ecx, ecx
jl 0x445593
cmp ecx, eax
jg 0x445593
movzx ecx, word [edx + ecx*2]
cmp cx, 0x5d
je 0x4454e2
test eax, eax
jle 0x4454e2
lea ecx, [eax - 1]
test ecx, ecx
jl 0x445593
cmp ecx, eax
jg 0x445593
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4454e2
push 0x5c
call fcn.00444570
test esi, esi
jl 0x44559d
cmp esi, ebx
jge 0x44559d
mov eax, ebp
call fcn.00447140
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, edi
call fcn.00434240
inc esi
add ebp, 4
cmp esi, ebx
jl 0x445494
xor esi, esi
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x445575
cmp ebx, esi
jle 0x445568
mov esi, eax
mov ebp, ebx
jmp 0x445530
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], 0
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44555a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub ebp, 1
jne 0x445530
mov eax, dword [esp + 0x1c]
xor esi, esi
push eax
call fcn.0048a345
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0x80070057
call fcn.00403da7
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x4455b0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4aebd8
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x418], eax
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x424]
mov dword fs:[0], eax
lea eax, [esp + 0x218]
push eax
xor edi, edi
push 0x104
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x445620
mov edx, dword [0x4e799c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e799c
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x445669
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x4c3180
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x445653
mov eax, dword [0x4e799c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e799c
call edx
add eax, 0x10
mov dword [esi], eax
jmp 0x445669
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.00412ade
mov dword [esp + 0x42c], edi
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00489b1b
add esp, 0x428
ret
Function at 0x445dd0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
lea eax, [esp + 0x20c]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x445e16
xor al, al
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00489b1b
add esp, 0x414
ret
mov esi, dword [esi]
lea ecx, [esp + 4]
push ecx
push 0
push esi
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x445dfe
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 4]
push ecx
call fcn.0048a11b
add esp, 4
push eax
lea edx, [esp + 8]
push edx
mov eax, edi
call fcn.0040a6dc
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
mov al, 1
call fcn.00489b1b
add esp, 0x414
ret
Function at 0x449ea0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4a2208
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x18]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x449f62
push esi
lea ecx, [esp + 0x14]
push ecx
call fcn.0044cc40
test al, al
jne 0x449f0d
mov dword [esp + 0x28], 0xffffffff
mov edx, dword [esp + 0x10]
push edx
call fcn.00489beb
lea eax, [ebx + 8]
jmp 0x449f7a
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ebx
push esi
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x449f62
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x4c24e4
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x449f6a
cmp dword [esp + 0x1c], 0
je 0x449f6a
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x449f53
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x449f6a
mov ecx, dword [ecx + 0xc]
mov dword [eax], ecx
jmp 0x449f6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [esp + 0x28], 0xffffffff
push ebx
call fcn.00489beb
mov eax, ebp
mov dword [esp + 0x14], 0
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x44a550
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ae908
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x10], 0xc8
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489008
add esp, 4
mov esi, eax
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x20]
push edx
push 0
push eax
push ebx
mov dword [esp + 0x2c], esi
call ebp
cmp eax, 0xea
jne 0x44a5d3
inc dword [esp + 0x10]
jmp 0x44a590
test eax, eax
jne 0x44a66d
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x44a610
cmp eax, 4
jne 0x44a590
mov eax, dword [esi]
mov ecx, dword [esp + 0x30]
push eax
push 0x4c33d4
push ecx
call fcn.004399be
mov dword [esp + 0x34], 0xffffffff
push esi
call fcn.00489beb
add esp, 0x10
mov al, 1
jmp 0x44a680
mov ecx, dword [esp + 0x10]
push esi
lea edx, [esp + 0x20]
xor eax, eax
push edx
mov word [esi + ecx*2], ax
call fcn.00412ade
mov byte [esp + 0x28], 1
mov edi, dword [esp + 0x30]
call fcn.004085dd
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a658
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
push esi
call fcn.00489beb
add esp, 4
mov al, 1
jmp 0x44a680
mov dword [esp + 0x28], 0xffffffff
push esi
call fcn.00489beb
add esp, 4
xor al, al
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret

Function at 0x44acf0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4a29b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
cmp esi, 0xffffffff
jne 0x44ad6b
mov dword [esp + 0x20], eax
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], edi
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x44ad8c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], edi
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x44aea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ae8d1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], ebp
mov eax, dword [0x4e799c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e799c
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x24], ebp
fild dword [esp + 0x30]
cmp dword [esp + 0x30], 0x100000
mov dword [esp + 0x14], 1
jle 0x44af67
fmul qword [0x4cbfb0]
fld st(0)
call fcn.004a2080
mov ebx, eax
mov dword [esp + 0x18], ebx
fisub dword [esp + 0x18]
fmul qword [0x4cbf50]
call fcn.004a2080
mov edi, eax
lea eax, [esp + 0x18]
push edi
push eax
call fcn.0044b010
mov dword [esp + 0x2c], 2
mov eax, dword [eax]
push 0x4c3480
push edi
push ebx
push eax
push esi
call fcn.004399be
add esp, 0x1c
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x44afe3
fmul qword [0x4cbf28]
fld st(0)
call fcn.004a2080
mov ebx, eax
mov dword [esp + 0x18], ebx
fisub dword [esp + 0x18]
fmul qword [0x4cbf50]
call fcn.004a2080
mov edi, eax
cmp ebx, ebp
je 0x44afa5
push 0x4be5b8
push ebx
push 0x4c3488
push esi
call fcn.004399be
add esp, 0x10
jmp 0x44afef
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0044b010
mov dword [esp + 0x2c], 4
mov eax, dword [eax]
push 0x4be5b8
push edi
push ebp
push eax
push esi
call fcn.004399be
add esp, 0x1c
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44afef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x44b130
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a47a8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
push 0x40
xor ebx, ebx
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x30], 0x44
call fcn.0048a3e0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0x7c], ebx
cmp byte [esp + 0x8c], bl
je 0x44b1b2
call fcn.0044d3e0
mov eax, dword [0x4e8910]
cmp eax, ebx
je 0x44b1b2
lea ecx, [esp + 0xc]
push ecx
call eax
mov byte [esp + 0x10], 1
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x44b1c7
mov edx, dword [eax + 4]
push edx
push esi
call fcn.00403c16
mov eax, dword [esi]
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x90]
push ebx
push ebx
push edx
push ebx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp byte [esp + 0x8c], bl
je 0x44b21b
cmp byte [esp + 0x10], bl
je 0x44b21b
call fcn.0044d3e0
mov eax, dword [0x4e8914]
cmp eax, ebx
je 0x44b21b
lea ecx, [esp + 0xc]
push ecx
call eax
mov byte [esp + 0x10], bl
cmp esi, ebx
jne 0x44b25a
mov dword [esp + 0x7c], 0xffffffff
cmp byte [esp + 0x10], bl
je 0x44b246
call fcn.0044d3e0
mov eax, dword [0x4e8914]
cmp eax, ebx
je 0x44b246
lea edx, [esp + 0xc]
push edx
call eax
mov byte [esp + 0x10], bl
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x74
ret
cmp edi, ebx
je 0x44b277
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x14]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x7c], 0xffffffff
cmp byte [esp + 0x10], bl
je 0x44b2a9
call fcn.0044d3e0
mov eax, dword [0x4e8914]
cmp eax, ebx
je 0x44b2a9
lea ecx, [esp + 0xc]
push ecx
call eax
mov byte [esp + 0x10], bl
mov al, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x74
ret