joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c117
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x1003800
call fcn.01007d0c
xor esi, esi
cmp dword [0x10107f0], esi
jne 0x100c15b
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100c146
mov dword [0x10107f0], edi
jmp 0x100c15b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x100c15b
mov dword [0x10107f0], 2
mov eax, dword [0x10107f0]
cmp eax, 2
je 0x100c23c
cmp eax, esi
je 0x100c23c
cmp eax, 1
jne 0x100c1a0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x100c189
mov eax, dword [0x101070c]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x100c1a7
xor eax, eax
jmp 0x100c24e
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.01007e70
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x100c1dd
cmp edi, esi
jne 0x100c1f8
lea eax, [ebx + ebx]
push eax
call fcn.010080ad
pop ecx
mov edi, eax
cmp edi, esi
je 0x100c1a0
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100c22b
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x100c215
push esi
push esi
jmp 0x100c21b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x100c237
push edi
call fcn.01007fe8
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x100c24e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.01007d47
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40e063
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004094cf
mov dword [ebp - 0x14], eax
cmp dword [0x430a1c], esi
jne 0x40e156
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e0e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e236
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e236
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e236
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x430a1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x430a20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x430a24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430a2c], eax
test eax, eax
je 0x40e153
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430a28], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e17b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e16e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e190
push 4
pop eax
jmp 0x40e238
cmp dword [ebp - 0x14], esi
je 0x40e190
push dword [0x430a1c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e175
mov eax, dword [0x430a28]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e1ee
cmp dword [0x430a2c], edi
je 0x40e1ee
push eax
call ebx
push dword [0x430a2c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e1ee
test eax, eax
je 0x40e1ee
call ecx
test eax, eax
je 0x40e1e3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e1e3
test byte [ebp - 8], 1
jne 0x40e1ee
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e21e
mov eax, dword [0x430a20]
cmp eax, edi
je 0x40e21b
push eax
call ebx
test eax, eax
je 0x40e21b
call eax
mov esi, eax
test esi, esi
je 0x40e21b
mov eax, dword [0x430a24]
cmp eax, edi
je 0x40e21b
push eax
call ebx
test eax, eax
je 0x40e21b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x430a1c]
call ebx
test eax, eax
je 0x40e236
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e238
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040cc
mov esp, ebp
pop ebp
ret
Function at 0x409294
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4092cf

Function at 0x40951c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x409542
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
invalid
invalid
cld

Function at 0x4096f3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
invalid
Function at 0x4098d0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x409908
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x409903
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add byte [eax], al
add byte [eax], al
cmp edx, 0x3000
jne 0x4098ed
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4098f5
cmp edx, ebx
jne 0x409a43
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4098c4
add eax, dword [eax + 4]
jmp 0x4098b1
mov dword [ebp + 0xc], ebx
jmp 0x409913
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40992b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x409949
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4099a7
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40998e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x409997
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4099a1
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x409983
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40990d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4099f4
dec eax
je 0x4099eb
sub eax, 3
je 0x4099e2
mov dword [ebp - 4], 0x40
jmp 0x409a11
mov dword [ebp - 4], 4
jmp 0x4099f7
mov dword [ebp - 4], 0x20
jmp 0x4099f7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x409a43
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4099c3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00409254
std
sbb dword [0x1475fff5], esi
push 1
push esi
call edi
mov eax, esi
jmp 0x409a4f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409970
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x409908
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x409903
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add byte [eax], al
add byte [eax], al
cmp edx, 0x3000
jne 0x4098ed
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4098f5
cmp edx, ebx
jne 0x409a43
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4098c4
add eax, dword [eax + 4]
jmp 0x4098b1
mov dword [ebp + 0xc], ebx
jmp 0x409913
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40992b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x409949
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4099a7
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40998e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x409997
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4099a1
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x409983
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40990d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4099f4
dec eax
je 0x4099eb
sub eax, 3
je 0x4099e2
mov dword [ebp - 4], 0x40
jmp 0x409a11
mov dword [ebp - 4], 4
jmp 0x4099f7
mov dword [ebp - 4], 0x20
jmp 0x4099f7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x409a43
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4099c3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00409254
std
sbb dword [0x1475fff5], esi
push 1
push esi
call edi
mov eax, esi
jmp 0x409a4f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409b43
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
test dword [esi - 4], eax
invalid
call dword [ebx]
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
invalid
invalid
Function at 0x420c33
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret

Function at 0x421461
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c7283]
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], al
push 0x8000
push esi
mov edi, edx
call fcn.004251f6
pop ecx
push eax
call fcn.00425024
cmp dword [edi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0x4569b7
lea ecx, [ebp - 0x18]
call fcn.00405a78
mov ecx, edi
call fcn.00409851
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.004059d5
push dword [ebp - 0x18]
push 0x492d40
push esi
call fcn.004253f5
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x4569d7
lea ecx, [ebp - 0x18]
call fcn.004058c4
mov edi, dword [ebp - 8]
push esi
call fcn.004255ba
pop ecx
cmp ebx, 0xffffffff
je 0x4214ff
push ebx
push esi
call fcn.004251f6
pop ecx
push eax
call fcn.00425024
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4000
jmp 0x4214e7
push esi
mov ecx, edi
call fcn.00468c9e
push eax
push 1
call fcn.00468c5b
push eax
call fcn.00425373
add esp, 0x10
mov edi, eax
jmp 0x4214da
mov ecx, edi
call fcn.00409851
mov eax, dword [edi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
jmp 0x4214cf
Function at 0x45b625
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 8], ebx
call fcn.00407d4c
push dword [ebx]
call fcn.0041632a
test al, al
je 0x45b64d
xor al, al
jmp 0x45b6e2
mov ecx, ebx
call fcn.0045b6eb
mov ebx, eax
test ebx, ebx
jne 0x45b65f
mov ebx, 0x7fff
xor ecx, ecx
lea esi, [ebx + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004218c6
pop ecx
mov edi, eax
mov eax, dword [ebp - 8]
push edi
push esi
push 0xd
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x45b6d9
push edi
call fcn.00424250
pop ecx
cmp eax, ebx
jne 0x45b6d0
xor ecx, ecx
test eax, eax
je 0x45b6b1
mov dl, byte [ecx + edi]
cmp dl, 0x20
jl 0x45b6d0
cmp dl, 0x7e
jg 0x45b6d0
inc ecx
cmp ecx, eax
jb 0x45b69f
push edi
lea ecx, [ebp - 0x18]
call fcn.0045b45d
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0040779a
lea ecx, [ebp - 0x18]
call fcn.004058c4
jmp 0x45b6d9
mov ecx, dword [ebp + 8]
push edi
call fcn.00407b8c
push edi
call fcn.0042193c
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45d094
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x2c]
mov dword [edi], 0x4baa30
jmp 0x45d0b5
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx*4 + 4]
mov ecx, dword [ecx + edx*4]
inc edx
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 8]
dec eax
cmp edx, eax
jb 0x45d0a3
mov esi, dword [edi + 0x28]
dec dword [esi + 8]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
push dword [eax + ecx*4]
call fcn.0042193c
mov eax, dword [esi + 4]
pop ecx
mov ecx, dword [esi + 8]
and dword [eax + ecx*4], 0
lea ecx, [edi + 0x18]
call fcn.0045d2f5
lea ecx, [edi + 0x18]
call fcn.0045d07b
lea ecx, [edi + 8]
pop edi
pop esi
jmp fcn.004098d0
Function at 0x468d2d
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c5190]
jne 0x468d3f
call fcn.00468dcf
mov eax, dword [0x4c8ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c8ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x468d82
fadd qword [0x4bcad8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4bcab0]
mov esp, ebp
pop ebp
ret

Function at 0x468d92
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4c8530], ecx
inc esi
mov ecx, 0x4c8530
mov edx, esi
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x4c8eec
jl 0x468da3
mov dword [0x4c5190], esi
mov dword [0x4c8518], esi
pop esi
ret

Function at 0x468dcf
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4c8518], 0
push esi
push edi
mov esi, 0x4c8530
jne 0x468dee
push 0
call fcn.00425d1a
pop ecx
mov ecx, eax
call fcn.00468d92
mov dword [0x4c5190], 0x270
mov edi, 0xe3
mov dword [0x4c8ef0], esi
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x468e03
mov edi, 0x18c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x468e38
mov ecx, dword [0x4c8530]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
pop edi
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
and edx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, edx
mov dword [esi], eax
pop esi
ret

Function at 0x4692d7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x4692fc
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00421950
add esp, 0xc
jmp 0x46930f
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.004260f2
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, eax
mov byte [ebp - 4], 0
movzx eax, byte [ebp - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
push str.EA06
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
call fcn.004261a0
neg eax
pop ecx
pop ecx
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4693e5
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10000
mov eax, dword [esi + 0x460]
test eax, eax
je 0x4693fb
cmp eax, ecx
jne 0x469416
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x458]
call fcn.004260f2
add esp, 0x10
and dword [esi + 0x460], 0
mov ecx, dword [esi + 0x460]
mov eax, dword [esi + 0x458]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x460], ecx
pop esi
ret

Function at 0x46942e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x45c]
mov esi, dword [edi + 0x454]
mov byte [esi + edx], al
mov eax, 0x10000
inc dword [edi + 0x45c]
cmp dword [edi + 0x45c], eax
jne 0x469475
push dword [edi + 0x20]
push eax
push 1
push dword [edi + 0x454]
call fcn.00425373
add esp, 0x10
and dword [edi + 0x45c], 0
pop edi
pop esi
pop ebp
ret 4

Function at 0x46947b
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x45c]
test eax, eax
je 0x4694a3
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x454]
call fcn.00425373
add esp, 0x10
and dword [esi + 0x45c], 0
pop esi
ret

Function at 0x46964f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
lea ecx, [ebp - 0xdc]
push esi
push edi
call fcn.004694a5
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call fcn.004694eb
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x469693
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00469623
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x46967d
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40673a
pop dword [ebp - 0x34]
mov eax, 0x3af84ec
sub eax, 0x36f1db2
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x1327c2da
sub dword [ebp - 0x44], 0xc4d57d8f
mov dword [ebp - 0x40], 0x25c3e124
add dword [ebp - 0x40], 0xc6f6b21
mov dword [ebp - 0x3c], 0x2593339f
add dword [ebp - 0x3c], 0x26b9108f
mov dword [ebp - 0x38], 0x6d42a08d
sub dword [ebp - 0x38], 0x6d42a08d
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x96b7172
add dword [ebp - 0x44], 0x6b06f7e4
mov dword [ebp - 0x40], 0xfba54a00
sub dword [ebp - 0x40], 0xba38e88b
mov dword [ebp - 0x3c], 0xec5e2c1d
add dword [ebp - 0x3c], 0x7711404f
mov dword [ebp - 0x38], 0x6ffcbc90
sub dword [ebp - 0x38], 0x6ffcbc90
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x3dddfec7
sub eax, 0x3d9d7dc7
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3af21
push 0
call eax
mov ecx, 0x4159193
sub ecx, 0x4153bdb
mov esi, eax
mov edi, 0xf661bf37
add edi, 0x9e524c9
add edi, dword [ebp - 0x34]
mov edx, 0x22b359fd
sub edx, 0x56d1b033
add dword [ebp - 0x14], 0xc89bba55
mov ebx, dword [edi]
mov dword [ebp - 0x14], 0x74f824e
xor ebx, edx
mov dword [esi], ebx
xor dword [ebp - 0x10], ebx
add esi, 4
add edi, 4
loop 0x406857
add eax, 0xd1a2eb77
add eax, 0x2e5e5e3c
mov ebx, eax
add eax, 0xe2693425
sub eax, 0xe2693420
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx