joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.00406b49
Function at 0x418bc0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov ecx, dword [ebp + 8]
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x418e02
cmp dword [0x4bfcb0], 0xe69e32f3
jne 0x418e05
mov edx, dword [ecx + 8]
lea esi, [edx + 0x1c8]
mov byte [esp + 0xf], 0xff
cmp byte [ecx + 3], 0
mov eax, esi
jne 0x418c4d
lea ecx, [edx + 0xc7]
mov eax, esi
cmp ecx, 0x7fefe
ja 0x418c4d
xor ecx, ecx
cmp esi, 1
sbb ecx, ecx
or ecx, 0x20
add edx, 0x1c7
je 0x418c32
bsr eax, edx
xor eax, 0x1f
jmp 0x418c37
mov eax, 0x20
sub ecx, eax
xor edx, edx
inc edx
shl edx, cl
mov eax, edx
shr eax, 1
lea eax, [eax + eax*4]
shr eax, 2
cmp eax, esi
cmovb eax, edx
mov dword [esp + 4], esi
mov edx, 0x20
mov ecx, 0x20
test eax, eax
je 0x418c65
bsr ecx, eax
xor ecx, 0x1f
sub edx, ecx
mov cl, byte [edx + 0x4b17a0]
mov esi, eax
shr esi, cl
and esi, 3
and eax, dword [edx*4 + 0x4b17c4]
lea ecx, [esi + edx*4]
cmp eax, 1
sbb ecx, 0xffffffff
movzx edi, word [ecx + ecx + 0x4b1694]
shl edi, 5
mov eax, dword [ebp + 8]
lea ebx, [eax + edi]
add ebx, 0x48
lea esi, [eax + 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x418cad
mov ecx, esi
call fcn.004385b0
mov dword [esp + 8], esi
mov eax, dword [ebx]
mov esi, dword [eax]
test esi, esi
je 0x418d80
mov byte [esp + 0xf], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x418cf6
mov edx, dword [ebp + 8]
mov ebx, dword [edx + edi + 0x54]
mov edi, edx
bswap ecx
mov edx, ecx
xor edx, esi
cmp edx, 0x1fffff
ja 0x418dd1
mov edx, ecx
and edx, 0x1fc000
je 0x418dd1
prefetcht0 byte [ecx]
jmp 0x418cfb
xor ecx, ecx
mov edi, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + 0x8fc]
add ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x900]
mov dword [edi + 0x8fc], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [edi + 0x900], ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
push edi
call fcn.00438970
push esi
push dword [0x4cdd0c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x4c1b28]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x90], esi
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.00453803
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0xf]
mov ecx, ebx
push eax
push 0x4000
push dword [esp + 0xc]
push 2
mov edi, dword [ebp + 8]
push edi
call fcn.004372e0
test eax, eax
je 0x418dfb
mov esi, eax
mov ecx, eax
and ecx, 0xffe00000
mov edx, eax
shr edx, 9
and edx, 0xfe0
lea eax, [edx + ecx]
movzx ecx, byte [edx + ecx + 0x101e]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
add eax, 0x1000
jmp 0x418d14
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov ecx, edi
push dword [esi]
push 0x4b1578
call fcn.0047d180
push edi
call fcn.004369e0
add esp, 4
mov ecx, ebx
call fcn.0047d270
xor esi, esi
jmp 0x418d37
int3
int3
Function at 0x418e70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x418e87
test eax, eax
je 0x418e87
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x418e95
mov ecx, dword [0x4cdd4c]
test ecx, ecx
jne 0x418ed1
cmp dword [0x4cdd44], 0
je 0x418e81
mov esi, dword [0x4cdd48]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x418edb
test esi, esi
je 0x418e81
mov ecx, dword [0x4cdd44]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x418e81
call dword [section..00cfg]
call ecx
jmp 0x418e95
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x418eb9
Function at 0x41b350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4210f0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [ecx + 4], 1
jne 0x41b3c1
movzx edi, byte [ebp + 0x18]
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
movsx eax, byte [ebp + 0x14]
mov ecx, esi
push edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0043b710
mov dword [ebp - 0x10], 0
mov ecx, esi
push 0x4ce294
call fcn.0043c080
mov esi, eax
mov edi, dword [ebp - 0x30]
xor ebx, ebx
dec ebx
mov eax, ebx
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x41b413
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0xffffffff
call dword [section..00cfg]
mov ecx, edi
call dword [ebp - 0x24]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [esi]
mov cl, byte [ebp + 0x18]
xor cl, 1
movzx ecx, cl
mov edi, dword [eax + ecx*4 + 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x30]
push eax
call edi
movzx eax, byte [ebp - 0x25]
test al, al
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov esi, eax
cmovs esi, edx
test esi, esi
je 0x41b4e9
test al, al
lea esi, [ebp - 0x30]
cmovs esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], 0
je 0x41b4b9
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
movzx esi, al
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [edx + 0x1c]
je 0x41b4c2
lea edx, [ecx + 1]
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x18], edx
mov byte [ecx], al
xor edi, edi
cmp esi, 0xffffffff
je 0x41b490
mov edi, dword [ebp - 0x20]
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp - 0x24]
inc ebx
test al, al
lea esi, [ebp - 0x30]
cmovs esi, ecx
movzx edi, al
cmovs edi, edx
add edi, esi
mov dword [ebp - 0x24], ebx
cmp ebx, edi
jne 0x41b462
jmp 0x41b4e9
mov dword [ebp - 0x20], 0
jmp 0x41b49c
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
mov ecx, ebx
push esi
call edi
mov esi, eax
jmp 0x41b486
shr al, 7
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
mov dword [edx], esi
test al, al
je 0x41b501
push ecx
call fcn.00452d9c
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x41b3b7
Function at 0x422320
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x4ce950]
test ebx, ebx
jne 0x422398
push 0x24
call fcn.00452d6c
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax], edi
push 0xc
call fcn.00452d6c
add esp, 4
mov dword [esi + 8], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x10], ecx
mov dword [eax + 8], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esi + 0xc], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 1
mov dword [0x4ce950], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4223a2
mov edi, eax
push eax
call fcn.0046afb0
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004223b0
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x424900
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0043d9b0
test al, al
je 0x424943
call fcn.0043d9a0
mov esi, eax
mov ecx, eax
push 0x4b435e
call fcn.0043da40
test al, al
jne 0x42496b
mov ecx, esi
push str.vmodule
call fcn.0043da40
test al, al
jne 0x42496b
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x4c0c40], eax
mov bl, 1
test al, 1
jne 0x424a0b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453803
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [0x4ce9a4], 0
jne 0x424a8c
mov eax, dword [0x4ce9a8]
mov dword [0x4ce9a4], eax
push 0x10
call fcn.00452d6c
add esp, 4
mov edi, eax
mov ebx, str.vmodule
push ebx
call fcn.0046a910
add esp, 4
lea edx, [ebp - 0x1c]
mov ecx, esi
push eax
push ebx
push edx
call fcn.0043db40
mov eax, 0x4b435e
push eax
call fcn.0046a910
add esp, 4
lea ebx, [ebp - 0x28]
mov ecx, esi
push eax
mov eax, 0x4b435e
push eax
push ebx
call fcn.0043db40
mov ecx, edi
push 0x4ce9ac
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.00499740
mov dword [0x4ce9a8], edi
cmp byte [ebx + 0xb], 0
jns 0x4249f1
push dword [ebp - 0x28]
call fcn.00452d9c
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x424943
push dword [ebp - 0x1c]
call fcn.00452d9c
add esp, 4
jmp 0x424943
mov eax, dword [0x4ce9c0]
test eax, eax
jne 0x424a20
mov ecx, dword [0x4ce9b0]
test ecx, ecx
je 0x424a42
jmp 0x424a5e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ce9c0], 0
mov ecx, dword [0x4ce9b0]
test ecx, ecx
jne 0x424a5e
and byte [0x4c0c40], 0xfe
push 0xc
call fcn.00452d6c
add esp, 4
mov ecx, eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [0x4ce9b0], ecx
push dword [esi + 4]
call fcn.004218a0
cmp dword [esi + 0xc], 0
jne 0x424a80
mov eax, dword [0x4ce9b0]
cmp byte [eax + 0xb], 0
jns 0x424a79
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00497940
mov ebx, eax
jmp 0x424957
int3
Function at 0x426890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov ebx, ecx
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x4268c7
mov eax, dword [0x4c0c68]
cmp eax, 0xffffffff
je 0x426954
mov ebx, 0x100000
test eax, eax
jne 0x4268c7
mov ebx, 0x80000
push 0xc
call fcn.00452d6c
add esp, 4
mov esi, eax
mov dword [eax], 0
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x4c4888]
bt ecx, eax
jae 0x426946
push edi
call fcn.00444c50
add esp, 4
mov dword [esi], edi
mov edi, dword [ebp + 8]
test edi, edi
setne byte [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
xor eax, eax
push eax
push 0x10000
push esi
push 0x426c40
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x426978
test edi, edi
je 0x4269d6
mov dword [edi], eax
test eax, eax
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453803
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x4cc888], 1
jmp 0x4268f8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4c0c68
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x426a45
mov eax, dword [0x4c0c68]
jmp 0x4268b9
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x426994
mov edi, eax
cmp eax, 0x5af
je 0x426994
cmp edi, 0xe
jne 0x4269e6
push ebx
call fcn.00498aa0
add esp, 4
test esi, esi
mov eax, dword [ebp - 0x20]
je 0x42692d
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x4c4888]
bt edx, ecx
jae 0x4269c5
push eax
call fcn.00444d60
add esp, 4
push esi
call fcn.00403d70
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x42692d
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x42692d
mov eax, dword [0x4ce9f8]
mov ecx, dword [0x4c1b28]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x426a54
lea ebx, [ebp - 0x1c]
push edi
push ebx
call fcn.0042db50
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x426a1e
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push eax
push ebx
push dword [0x4ce9f4]
call fcn.00447230
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x42699d
push dword [ebp - 0x1c]
call fcn.00452d9c
jmp 0x42699a
mov dword [0x4c0c68], 0
jmp 0x4268c2
push 0x4ce9f8
call fcn.00452e17
add esp, 4
cmp dword [0x4ce9f8], 0xffffffff
jne 0x426a03
push 0x20
push str.create_thread_last_error
call fcn.0042db10
add esp, 8
mov dword [0x4ce9f4], eax
push 0x4ce9f8
call fcn.00452e8d
add esp, 4
jmp 0x426a03
Function at 0x4294a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1af
push str..._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00445900
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00445a90
cmp byte [edi + 0xb], 0
jns 0x429501
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.00445af0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00453803
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x429530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.00456480
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x4295b8
push ebx
call fcn.0046afb0
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.0043e380
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.004245c0
mov ecx, dword [ebp + 8]
push ebx
call fcn.0043e460
mov ecx, ebx
call fcn.0043e440
mov ecx, edi
call fcn.0043e440
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453803
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4295e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.00456480
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x4b5670]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42965c
cmp word [ebp - 0x214], 0
je 0x42965c
push edi
call fcn.0046afb0
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0043e380
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00453803
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
xor eax, eax
dec eax
lea edi, [ebp - 0x220]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.0043e330
push edi
call fcn.00429530
add esp, 4
mov ecx, esi
test al, al
je 0x42968b
push edi
call fcn.0043e350
jmp 0x429697
push 3
push 0x4b56c2
call fcn.0043e380
lea ecx, [ebp - 0x220]
call fcn.0043e440
jmp 0x429646
Function at 0x4296b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [esp + 0x268], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x220]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x18]
push 0x391
push str..._.._base_files_file_util_win.cc
push 0x4b56ca
push ebx
call fcn.00445900
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00445a90
lea esi, [esp + 0x1a]
push 0x206
push 0xff
push esi
call fcn.00456480
add esp, 0xc
mov word [esi - 2], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 0xfffffefb
cmp esi, 0xfffffefc
jb 0x429781
push ebx
call fcn.0046afb0
add esp, 4
mov edi, esp
mov ecx, edi
push eax
push ebx
call fcn.0043e380
lea ebx, [esp + 0xc]
mov ecx, edi
push ebx
call fcn.004245c0
mov ecx, dword [ebp + 8]
push ebx
call fcn.0043e460
mov ecx, ebx
call fcn.0043e440
mov ecx, edi
call fcn.0043e440
cmp esi, 0xfffffefc
setae bl
lea ecx, [esp + 0x220]
call fcn.00445af0
mov ecx, dword [esp + 0x268]
xor ecx, ebp
call fcn.00453803
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42a350
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4d02b4]
mov ecx, dword [0x4c1b28]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42a39d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453803
mov eax, 0x4d02b0
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4d02b4
call fcn.00452e17
add esp, 4
cmp dword [0x4d02b4], 0xffffffff
jne 0x42a383
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.00456480
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.00452d6c
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x4d02e4]
mov ecx, dword [0x4c1b28]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42a446
mov ecx, esi
push ebx
push 0x4d02c0
push edi
call fcn.0042a560
mov dword [0x4d02b0], esi
push 0x4d02b4
call fcn.00452e8d
add esp, 4
jmp 0x42a383
push 0x4d02e4
call fcn.00452e17
add esp, 4
cmp dword [0x4d02e4], 0xffffffff
jne 0x42a420
xorps xmm0, xmm0
movups xmmword [0x4d02d0], xmm0
movups xmmword [0x4d02c0], xmm0
mov dword [0x4d02e0], 0
push 0x4d02c0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4d02e4
call fcn.00452e8d
add esp, 4
jmp 0x42a420
Function at 0x42a4b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4d02e4]
mov ecx, dword [0x4c1b28]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42a4e2
movzx ecx, word [0x4d02c0]
cmp cx, 9
jne 0x42a52d
xor eax, eax
inc eax
pop ebp
ret
push 0x4d02e4
call fcn.00452e17
add esp, 4
cmp dword [0x4d02e4], 0xffffffff
jne 0x42a4d0
xorps xmm0, xmm0
movups xmmword [0x4d02d0], xmm0
movups xmmword [0x4d02c0], xmm0
mov dword [0x4d02e0], 0
push 0x4d02c0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4d02e4
call fcn.00452e8d
add esp, 4
jmp 0x42a4d0
xor eax, eax
test cx, cx
je 0x42a4e0
cmp cx, 6
jne 0x42a541
mov eax, 2
jmp 0x42a4e0
cmp cx, 0xc
jne 0x42a54e
mov eax, 3
jmp 0x42a4e0
mov eax, 4
jmp 0x42a4e0

Function at 0x42abd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
jne 0x42aca9
cmp dword [esi], 0
jne 0x42aca9
cmp dword [esi + 0xc], 0
jne 0x42aca9
xor eax, eax
cmp dword [esi + 4], 0
jne 0x42aca9
mov ebx, dword [edi]
cmp eax, ebx
je 0x42ac33
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x42ac79
lea eax, [ebx + 1]
cmp eax, 2
jb 0x42ac29
mov dword [esi], ebx
call fcn.00445930
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp dword [esi + 4], ebx
je 0x42ac66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x42ac90
lea eax, [ebx + 1]
cmp eax, 2
jb 0x42ac5c
mov dword [esi + 4], ebx
call fcn.00445930
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00445930
push dword [esi]
call fcn.00447130
add esp, 4
mov dword [esi], 0
jmp 0x42ac1a
call fcn.00445930
push dword [esi + 4]
call fcn.00447130
add esp, 4
mov dword [esi + 4], 0
jmp 0x42ac4c
mov ecx, esi
call fcn.0049c840
mov eax, dword [esi]
jmp 0x42ac04
Function at 0x42cc20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x42cd12
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x301
mov dword [esp + 0x54], ecx
mov eax, dword [eax]
mov dword [esp + 0x60], eax
sar eax, 0x1f
mov dword [esp + 0x64], eax
xor eax, eax
dec eax
lea ecx, [esp + 0x48]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [esp], ecx
call fcn.00445310
mov eax, dword [0x4d04e8]
mov ecx, dword [0x4c1b28]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42cd8e
mov dword [esp], 0x4b1b7c
call fcn.00445c70
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp], edi
lea edi, [esp + 0x50]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x4b0590]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.0042f050
sub esp, 0x44
cmp byte [edi], 0
jne 0x42cd76
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00453803
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x42cd82
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov dword [esp], 1
mov ecx, esi
call edi
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x42cd7e
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x42cd82
lea ecx, [esi + 0x5c]
call fcn.00439990
lea ecx, [esi + 0x28]
call fcn.004369e0
mov ecx, esi
call fcn.00439b10
mov dword [esp], esi
call fcn.00452d9c
jmp 0x42cd82
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x42cd25
cmp al, 9
je 0x42cd4d
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x42cd12
jmp 0x42cd76
mov dword [esp], 0x4d04e8
call fcn.00452e17
cmp dword [0x4d04e8], 0xffffffff
jne 0x42ccac
mov dword [esp], 0
mov ecx, 0x4d02e8
call fcn.0042b3f0
sub esp, 4
mov dword [esp], 0x4d04e8
call fcn.00452e8d
jmp 0x42ccac