joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d920
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44d953
push esi
call fcn.00450a10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44d94c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44d9d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44d9c2
mov eax, dword [esi + 8]
test eax, eax
je 0x44d977
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44d9be
cmp eax, 2
je 0x44d9c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44d96a
cmp eax, 3
je 0x44d99d
cmp eax, 1
jne 0x44d96a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44d96a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44d96a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044da00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44d9e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044da00
add esp, 4
pop esi
ret

Function at 0x459a70
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x459b13
test eax, eax
jbe 0x459b13
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x459b13
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x459abe
xor esi, esi
jmp 0x459ac4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x459aef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0045d3a0
add esi, eax
push esi
mov ebx, esi
call fcn.0045d3a0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x459ad0
pop ebp
test edi, edi
pop edi
jne 0x459b13
test ebx, ebx
je 0x459b13
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046b5a0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x459c55
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x459d6d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x459d6d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047c5d1
mov esi, eax
test esi, esi
je 0x459d6d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x459d6d
mov ecx, esi
call fcn.00459bc0
cmp edi, eax
jge 0x459d6d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x459cf3
mov dword [esp + 0x34], 1
jmp 0x459d4e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x459d6d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00459170
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x47b95c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00485b13
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47b98d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0047b9a0
pop edi
pop esi
pop ebx
ret 8

Function at 0x47cf74
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47cfac
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047afbd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047af95
jmp 0x47cfb8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x47e860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47e8a2
call fcn.00485b13
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47e8a2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47e899
xor eax, eax
jmp 0x47e8aa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047e8b0
pop edi
pop esi
pop ebx
ret 4

Function at 0x486043
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x486071
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48608f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00485fa9
jmp 0x48608f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48608f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00485fa9
test edi, edi
mov eax, edi
jne 0x486079
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401ff0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x402001
push eax
mov esi, esp
push eax
mov ebx, esp
push eax
mov ecx, esp
push eax
mov dword [ebp - 0x14], esp
push eax
mov edi, esp
mov eax, esi
mov edx, dword [ebp - 0x18]
mov dword [esi], edx
mov esi, ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x1c]
mov dword [ebx], ecx
mov dword [esi], 0x1505
mov dword [edi], 0
mov dword [edi], 0
mov ebx, dword [ebp - 0x14]
jmp 0x402039
mov ecx, dword [edi]
cmp ecx, dword [eax]
jae 0x4020ac
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, dword [edi]
mov cl, byte [ecx + edx]
mov byte [ebx], cl
movzx ecx, byte [ebx]
cmp ecx, 0
jne 0x402055
jmp 0x4020ae
mov ecx, dword [esi]
shl ecx, 5
mov edx, dword [esi]
mov dword [ebp - 0x10], edx
xor edx, edx
sub edx, dword [ebp - 0x10]
sub ecx, edx
movzx edx, byte [ebx]
sub ecx, 0xddf698a0
sub ecx, 0x50f8cfe2
add ecx, 0xddf698a0
add ecx, edx
sub ecx, 0xaf07301e
mov dword [esi], ecx
mov edx, dword [edi]
mov ecx, 0x59ddf656
sub ecx, edx
sub ecx, 0x59ddf656
mov edx, ecx
and edx, 0xffffffff
shl edx, 1
xor ecx, 0xffffffff
add ecx, edx
xor ecx, 0
xor edx, edx
sub edx, ecx
mov dword [edi], edx
jmp 0x402039
jmp 0x4020ae
mov eax, dword [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x406500
Capabilities:
Link many functions at runtime
Parse pe header

Disassembly:
mov dword [0x47656c], 0x4686e4
mov dword [0x476570], 0x4686fa
mov dword [0x476574], 0x468710
mov dword [0x476578], 0x468724
mov dword [0x47657c], 0x46873c
jmp fcn.00405450
Function at 0x406540
Capabilities:
Get file size
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x1050
call fcn.0044daf0
lea eax, [0x472170]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0x1c
mov dword [esp + 8], eax
call fcn.00407ab0
mov eax, dword [esp + 0x1c]
add eax, 0x1c
lea ecx, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0x14
call fcn.0044ea7e
cmp eax, 0
je 0x4065ab
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x4065ad
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
sete al
test al, 1
jne 0x4065bd
jmp 0x4065d2
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 1
jmp 0x40678b
lea eax, [esp + 0x50]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x800
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0xc
lea eax, [esp + 0x50]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0x80000000
mov dword [esp + 8], 3
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0x80
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov dword [esp + 0x20], eax
mov eax, 0xffffffff
cmp dword [esp + 0x20], eax
sete al
test al, 1
jne 0x40664c
jmp 0x406661
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 1
jmp 0x40678b
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
call eax
sub esp, 8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
sub ecx, 0xad899aeb
add ecx, 0x30
add ecx, 0xad899aeb
cmp eax, ecx
setb al
test al, 1
jne 0x40669f
jmp 0x4066c4
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 1
jmp 0x40678b
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00455ba4
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea esi, [esp + 0x38]
xor edi, edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esp + 0x1c]
add eax, 8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
add ecx, dword [edx + 4]
add ecx, 8
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0x14
call fcn.0044ea7e
cmp eax, 0
jne 0x40676f
call fcn.004067a0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00455b05
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 1
jmp 0x40678b
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00455b05
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x24]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x430370
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x2c
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0042ff20
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0x40000000
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0x80
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov dword [esp + 0x20], eax
mov eax, 0xffffffff
cmp dword [esp + 0x20], eax
je 0x430452
cmp dword [esp + 0x1c], 0
je 0x430452
cmp dword [esp + 0x24], 0
jle 0x430452
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea esi, [esp + 0x28]
xor edi, edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
jmp 0x430454
cmp dword [esp + 0x1c], 0
setne al
test al, 1
jne 0x430462
jmp 0x43046e
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00455b05
add esp, 0x2c
pop esi
pop edi
ret
Function at 0x445cf0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebx
push edi
push esi
sub esp, 0x860
mov eax, dword [esp + 0x870]
lea eax, [esp + 0x40]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x820
call fcn.00450c00
lea eax, [esp + 0x40]
cmp eax, 0
je 0x445e96
lea eax, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0x104
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
sub esp, 8
cmp eax, 0
setne al
xor al, 0xff
and al, 1
movzx eax, al
cmp eax, 0
jle 0x445d5e
mov word [esp + 0x28], 0x43
jmp 0x445d6b
jmp 0x445d60
mov eax, dword [esp + 0x40]
mov word [esp + 0x28], ax
jmp 0x445d6b
mov word [esp + 0x2a], 0x3a
mov word [esp + 0x2c], 0x5c
mov word [esp + 0x2e], 0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x28]
xor ecx, ecx
lea ecx, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
sub esp, 0x20
cmp eax, 0
je 0x445e92
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.00445cb0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.00445cb0
mov word [esp + 0x34], ax
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.00445cb0
mov word [esp + 0x36], ax
mov dword [esp + 0x24], 1
cmp dword [esp + 0x24], 9
jl 0x445e1e
jmp 0x445e52
jmp 0x445e20
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.00445cb0
mov ecx, dword [esp + 0x24]
mov edx, ecx
xor edx, 0xffffffff
and edx, 1
and ecx, 0xfffffffe
sub ecx, edx
mov byte [esp + ecx + 0x38], al
jmp 0x445e43
jmp 0x445e45
mov eax, dword [esp + 0x24]
sub eax, 0xffffffff
mov dword [esp + 0x24], eax
jmp 0x445e15
jmp 0x445e54
mov eax, dword [esp + 0x38]
movzx ecx, word [esp + 0x34]
movzx edx, word [esp + 0x36]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x870]
lea ebx, str.l2_08x_08x_04x_xu
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x445e92
jmp 0x445e94
jmp 0x445e96
add esp, 0x860
pop esi
pop edi
pop ebx
ret
Function at 0x445ea0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004560b0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
xor edx, edx
lea edx, [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
sub esp, 0x1c
cmp eax, 0
jne 0x445f19
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 1
jmp 0x445fd2
mov eax, dword [esp + 0x20]
sub eax, 0xe0ca747b
add eax, 1
mov ecx, eax
xor ecx, 0x1f358b85
and eax, 0xe0ca747a
shl eax, 1
sub eax, ecx
mov dword [esp], eax
call fcn.00455ba4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
lea esi, [esp + 0x20]
xor edi, edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
sub esp, 0x1c
cmp eax, 0
jne 0x445fb4
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00455b05
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 1
jmp 0x445fd2
jmp 0x445fb6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
jmp 0x445fd2
mov eax, dword [esp + 0x24]
add esp, 0x30
pop esi
pop edi
ret
Function at 0x44d140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
sub esp, 0x3c
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x3c]
mov edx, eax
and edx, ecx
or eax, ecx
mov ecx, edx
and ecx, eax
or edx, eax
add ecx, edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x78]
xor ecx, 0xffffffff
and ecx, 0xffffffff
or ecx, 0
xor ecx, 0xffffffff
xor edx, edx
sub edx, ecx
add eax, 0x98cb244f
sub eax, edx
sub eax, 0x98cb244f
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
add eax, dword [ecx + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x24]
mov ecx, eax
and ecx, edx
mov esi, edx
and esi, eax
xor esi, 0xffffffff
add eax, edx
add eax, 1
add eax, esi
xor eax, 0xffffffff
sub eax, 0xffffffff
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
jmp 0x44d1f1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx + 0x18]
setb al
test al, 1
jne 0x44d214
jmp 0x44d205
jmp 0x44d207
mov dword [esp + 8], 2
jmp 0x44d297
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + edx*4]
sub eax, 0xec818e04
add eax, ecx
add eax, 0xec818e04
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0044d300
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x24]
sete al
test al, 1
jne 0x44d254
jmp 0x44d26e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x14], eax
mov dword [esp + 8], 2
jmp 0x44d276
mov dword [esp + 8], 0
cmp dword [esp + 8], 0
jne 0x44d295
jmp 0x44d27f
jmp 0x44d281
jmp 0x44d283
jmp 0x44d285
mov eax, dword [esp + 0xc]
add eax, 1
mov dword [esp + 0xc], eax
jmp 0x44d1ef
jmp 0x44d297
jmp 0x44d299
jmp 0x44d29b
cmp dword [esp + 0x14], 0
jne 0x44d2b4
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
jmp 0x44d2ee
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
add eax, dword [ecx + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + edx*4]
mov edx, eax
and edx, ecx
or eax, ecx
add edx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 8], 1
mov eax, dword [esp + 0x18]
add esp, 0x3c
pop esi
ret
Function at 0x44d7f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
sub esp, 0x24
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x20], 0x10
mov eax, dword fs:[0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
xor ecx, 0xffffffff
sub ecx, 0xffffffff
sub eax, ecx
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 0
je 0x44d879
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x30]
lea ecx, str.kernel32.dll
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
sub esp, 8
cmp eax, 0
jne 0x44d879
jmp 0x44d892
jmp 0x44d87b
jmp 0x44d87d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
cmp eax, ecx
setne al
test al, 1
jne 0x44d841
jmp 0x44d890
jmp 0x44d892
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x18]
add esp, 0x24
ret

Function at 0x44e10f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44e14e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44e14e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44e14e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44e14e
cmp dword [ecx + 0x74], 0xe
jbe 0x44e14e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x459f80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x459fad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x459fad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x45fb58
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045fb63

Function at 0x1001f82
Capabilities:
Read file on windows

Disassembly:
push ebx
push 0x8000
push dword [esp + 0xc]
call dword [0x10010ac]
mov ebx, eax
cmp ebx, 0xffffffff
pop ecx
pop ecx
jne 0x1001fa2
xor al, al
jmp 0x100204b
push esi
push edi
mov edi, dword [0x10010c8]
push 0x40
call edi
mov esi, eax
test esi, esi
pop ecx
je 0x1001fcf
push 0x40
push esi
push ebx
call dword [0x10010b0]
add esp, 0xc
cmp eax, 0x40
je 0x1001fd3
push esi
call dword [0x10010cc]
pop ecx
xor al, al
jmp 0x1002049
push ebp
mov ebp, 0x3000
push ebp
call edi
mov edi, eax
test edi, edi
pop ecx
jne 0x1001fec
push esi
call dword [0x10010cc]
jmp 0x1002045
push 0
push dword [esi + 0x3c]
push ebx
call dword [0x10010b4]
push ebp
push edi
push ebx
call dword [0x10010b0]
add esp, 0x18
test eax, eax
je 0x1002038
cmp eax, 0xffffffff
je 0x1002038
push eax
push esi
push edi
call fcn.01001e2d
push esi
mov esi, dword [0x10010cc]
mov ebp, eax
call esi
push edi
call esi
push ebx
call dword [0x10010b8]
add esp, 0xc
cmp ebp, 0xc000011b
sete al
jmp 0x1002048
push esi
mov esi, dword [0x10010cc]
call esi
push edi
call esi
pop ecx
pop ecx
xor al, al
pop ebp
pop edi
pop esi
pop ebx
ret 4