joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a00
Capabilities:
Reference sql statements

Disassembly:
jmp 0x40d990
push 0xffffffffffffffff
push 0x43b990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov eax, dword [ebp]
push 0x44e400
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString_1
push 0x44e400
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
push str.Eventos
push ecx
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x34]
add esp, 8
test edi, edi
je 0x40da68
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x40da68
lea edx, [esp + 0x30]
push 0x449134
push edx
call sub.MFC42.DLL_COleDateTime::Format
mov esi, eax
lea eax, [esp + 0x2c]
push 0x449134
push eax
mov ecx, edi
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_COleDateTime::Format
mov ecx, dword [esi]
mov edx, dword [eax]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
push str.SELECT__FROM__s_WHERE_DataHora_BETWEEN__s_AND__s_ORDER_BY_DataHora_ASC_
push ecx
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 2
call fcn.0043641e
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 1
call fcn.0043641e
jmp 0x40da80
mov eax, dword [esp + 0x28]
lea edx, [esp + 0xc]
push eax
push eax
push str.SELECT__FROM__s_WHERE_DataHora___SELECT_MIN_DataHora__FROM__s__
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
push eax
push esi
call fcn.00401311
add esp, 4
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004017d5
add esp, 0xc
cmp al, 0xff
jne 0x40dabd
mov ecx, dword [esp + 0x10]
mov dword [ebp], ecx
jmp 0x40dac4
mov edx, dword [esp + 0x10]
mov dword [ebp], edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.0043641e
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0043641e
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret
Function at 0x401a0f
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x416bd0
push 0xffffffffffffffff
push 0x43c40b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x2c]
mov dword [esp + 0x180], 1
call fcn.00401203
push 0x44e400
lea ecx, [esp + 0xc]
mov byte [esp + 0x184], 2
call sub.MFC42.DLL_CString::CString_1
push 0x44f864
mov byte [esp + 0x184], 3
call fcn.00401942
mov edi, dword [esp + 0x190]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, 0x44f864
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x44f864
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::FindNextFileA
push 0x44f864
lea ecx, [esp + 0x30]
call fcn.00401924
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x78]
push 0x100
push eax
push 2
lea ecx, [esp + 0x38]
call fcn.004011fe
lea ecx, [esp + 0x78]
lea edx, [esp + 8]
push ecx
push 0x44765c
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x194]
add esp, 0xc
lea eax, [esp + 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x180], 2
call fcn.0043641e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 1
call fcn.004016b3
mov byte [esp + 0x180], 0
lea ecx, [esp + 0x10]
call fcn.004365fe
mov ecx, dword [esp + 0x178]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x17c
ret
Function at 0x42baf0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d580
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
cmp byte [esi + 0xc4], 0xff
je 0x42bb34
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x47]
test eax, eax
jne 0x42bb55
mov ecx, esi
call fcn.0042b810
mov ecx, dword [esi + 0x4f]
mov edx, dword [eax + 0x14]
cmp ecx, edx
je 0x42bb55
push 0xffffffffffffff9a
mov ecx, esi
call fcn.0042b270
mov ecx, esi
call fcn.0042b810
cmp word [eax + 0xe], 8
jne 0x42bb6c
lea edx, [esi + 0xf]
push edx
call fcn.00430180
mov edi, dword [ebp + 8]
mov bl, 1
test edi, edi
je 0x42bbdf
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x11c], 0
call fcn.0042b810
mov ecx, eax
call fcn.0042f9b0
mov edx, dword [eax]
lea eax, [ebp - 0x12c]
push eax
push edi
mov dword [ebp - 0x128], edx
call sub.MFC42.DLL_CFile::SetStatus
mov ecx, esi
call fcn.0042b810
mov ecx, dword [eax + 0x2a]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc5]
call fcn.0042e800
lea ecx, [esi + 0x53]
mov byte [esi + 0xc4], 0
call fcn.0042f520
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42bc30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x11c
push ebx
push esi
mov esi, ecx
push 1
call fcn.0042b240
test al, al
je 0x42bc52
pop esi
xor al, al
pop ebx
add esp, 0x11c
ret 0xc
mov al, byte [esi + 0xc4]
test al, al
je 0x42bc69
pop esi
xor al, al
pop ebx
add esp, 0x11c
ret 0xc
lea ebx, [esi + 0x5f]
mov ecx, ebx
call fcn.0042d470
cmp eax, 0xffffffff
jne 0x42bc85
pop esi
xor al, al
pop ebx
add esp, 0x11c
ret 0xc
mov ecx, esi
call fcn.0042b3b0
cmp eax, 0xffff
jne 0x42bca0
pop esi
xor al, al
pop ebx
add esp, 0x11c
ret 0xc
push ebp
mov ebp, dword [esp + 0x134]
push edi
mov edi, dword [esp + 0x130]
test ebp, ebp
mov byte [esp + 0x13], 1
je 0x42bcef
lea eax, [esp + 0x14]
push eax
push ebp
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x42bcea
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0042fcd0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov dword [edi + 0x2a], eax
jne 0x42bcef
mov dword [edi + 0x2a], 0x20
mov byte [esp + 0x13], 0
lea ecx, [esi + 7]
call fcn.0042e120
push edi
lea ecx, [esi + 0xc5]
call fcn.0042e8f0
mov ecx, esi
call fcn.0042b810
mov edi, eax
mov al, byte [esi + 4]
add edi, 0x32
test al, al
je 0x42bd21
push 0x2f
push 0x5c
mov ecx, edi
call sub.MFC42.DLL_CString::Replace
mov al, byte [esi + 5]
test al, al
je 0x42bd2f
mov ecx, edi
call sub.MFC42.DLL_CString::CharToOemA
mov edx, dword [edi]
mov eax, dword [edx - 8]
test eax, eax
jne 0x42bd4e
mov ecx, esi
call fcn.0042b3b0
push eax
push str.file_i
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, ebx
call fcn.0042d470
mov ebp, dword [esp + 0x134]
cmp eax, 1
sete al
push eax
push ebp
mov ecx, esi
call fcn.0042b810
mov ecx, eax
call fcn.0042ff70
test al, al
jne 0x42bd7f
push 0xffffffffffffff95
mov ecx, esi
call fcn.0042b270
push ebx
mov ecx, esi
call fcn.0042b810
mov ecx, eax
call fcn.0042fdb0
lea edi, [esi + 0x53]
xor ebx, ebx
mov ecx, edi
mov dword [esi + 0x4b], ebx
mov dword [esi + 0x13], ebx
call fcn.0042f510
mov ecx, edi
mov dword [esi + 0x1f], eax
call fcn.0042f5b0
mov ecx, esi
mov dword [esi + 0x1b], eax
mov dword [esi + 0x17], ebx
mov dword [esi + 0x23], ebx
call fcn.0042b810
mov ecx, dword [eax + 0x2a]
push ecx
mov ecx, esi
call fcn.0042d040
test al, al
je 0x42bde1
mov ecx, esi
call fcn.0042b810
cmp word [eax + 0xe], bx
je 0x42bde1
mov ecx, esi
call fcn.0042b810
mov word [eax + 0xe], bx
mov ecx, esi
call fcn.0042b810
cmp word [eax + 0xe], 8
jne 0x42be23
mov al, byte [esi + 6]
test al, al
je 0x42bdfe
lea eax, [esi + 0xa8]
jmp 0x42be00
xor eax, eax
push 0x38
push str.1.1.3
push ebx
push 8
push 0xfffffffffffffff1
push 8
lea edx, [esi + 0xf]
push ebp
push edx
mov dword [esi + 0x37], eax
call fcn.00430ae0
push eax
mov ecx, esi
call fcn.0042b7f0
mov al, byte [esp + 0x13]
pop edi
mov byte [esi + 0xc4], 1
pop ebp
pop esi
pop ebx
add esp, 0x11c
ret 0xc
Function at 0x42c290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CFileFind::CFileFind
mov esi, dword [esp + 0x30]
push 0
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x42c316
push esi
call fcn.0042c360
add esp, 4
mov dword [esp + 0x28], 0xffffffff
test al, al
lea ecx, [esp + 4]
je 0x42c2ff
call fcn.004365fe
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
call fcn.004365fe
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 4]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov eax, dword [esp + 4]
push 0x10
lea ecx, [esp + 8]
call dword [eax + 0x40]
neg eax
sbb eax, eax
lea ecx, [esp + 4]
and al, 0xfe
mov dword [esp + 0x28], 0xffffffff
inc eax
mov esi, eax
call fcn.004365fe
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x42d8f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d94e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
xor ebx, ebx
push esi
test eax, eax
mov esi, ecx
mov dword [esp + 8], ebx
jne 0x42d937
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0xc]
lea edx, [esp + 0x18]
push edx
call dword [eax + 0x20]
mov ebx, 1
mov dword [esp + 8], ebx
mov eax, dword [eax]
mov dword [esp + 0x28], ebx
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
test bl, 1
mov dword [esp + 0x28], 3
je 0x42d95e
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 8], ebx
call fcn.0043641e
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0042be40
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x38], 4
call fcn.0042bf60
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x34]
mov byte [esp + 0x28], 6
test al, al
je 0x42d9af
push 0x44c810
lea ecx, [esp + 0x3c]
call fcn.0043642a
jmp 0x42d9c6
mov ecx, dword [esi + 0x45]
lea edx, [esp + 0x38]
inc ecx
push ecx
push str.z_.2d
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call sub.MFC42.DLL_operator
push 0x447bc8
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x30], 7
push eax
call sub.MFC42.DLL_operator_1
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
push eax
push esi
mov byte [esp + 0x34], 8
call sub.MFC42.DLL_operator
or ebx, 2
mov dword [esp + 8], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 7
call fcn.0043641e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 6
call fcn.0043641e
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call fcn.0043641e
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.0043641e
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.0043641e
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.0043641e
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc

Function at 0x42dd20
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x43d9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ecx + 0xc]
add ecx, 0xc
lea edx, [esp + 4]
push ebx
push edx
call dword [eax + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 8]
push eax
call fcn.0042cc70
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
lea ecx, [esp + 4]
sete bl
call fcn.0043641e
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0043641e
test bl, bl
pop ebx
je 0x42ddb1
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x42e8f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43db11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov ebx, ecx
push 0x46
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
test esi, esi
mov dword [esp + 0x14], 0
je 0x42e9e2
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov cx, word [edi + 8]
mov word [esi + 8], cx
mov dx, word [edi + 0xa]
mov word [esi + 0xa], dx
mov ax, word [edi + 0xc]
mov word [esi + 0xc], ax
mov cx, word [edi + 0xe]
mov word [esi + 0xe], cx
mov dx, word [edi + 0x10]
mov word [esi + 0x10], dx
mov ax, word [edi + 0x12]
mov word [esi + 0x12], ax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov cx, word [edi + 0x20]
mov word [esi + 0x20], cx
mov dx, word [edi + 0x22]
mov word [esi + 0x22], dx
mov ax, word [edi + 0x24]
mov word [esi + 0x24], ax
mov cx, word [edi + 0x26]
mov word [esi + 0x26], cx
mov dx, word [edi + 0x28]
mov word [esi + 0x28], dx
mov eax, dword [edi + 0x2a]
mov dword [esi + 0x2a], eax
mov ecx, dword [edi + 0x2e]
lea edx, [edi + 0x32]
mov dword [esi + 0x2e], ecx
push edx
lea ecx, [esi + 0x32]
call sub.MFC42.DLL_CString::CString_2
lea eax, [edi + 0x36]
lea ecx, [esi + 0x36]
push eax
mov byte [esp + 0x1c], 1
call fcn.0042f5c0
add edi, 0x42
lea ecx, [esi + 0x42]
push edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_2
mov dword [esi], 0x440850
pop edi
jmp 0x42e9e4
xor esi, esi
lea ecx, [ebx + 0x33]
mov dword [ebx + 0x1e], esi
push esi
mov dword [esp + 0x18], 0xffffffff
mov edx, dword [ecx + 8]
push edx
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov ecx, ebx
call fcn.0042ea60
mov ecx, dword [ebx + 0x22]
push 2
add ecx, 0xc
push 0
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x22]
call fcn.0042d470
test eax, eax
setne cl
mov byte [ebx + 0x53], cl
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x430960
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x43096f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x44c8e0]
test eax, eax
je 0x43097d
call fcn.00430900
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x430a7f
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x450594]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x450594]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x450594]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x450594]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x450594]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x450594]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x450594]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x450594]
xor eax, ecx
inc esi
dec edi
jne 0x430997
pop edi
test edx, edx
je 0x430aa1
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x450594]
xor eax, ecx
inc esi
dec edx
jne 0x430a83
pop ebx
pop esi
not eax
ret 0xc
Function at 0x46b000
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x15873070
nop
nop
mov edx, 0x46b01c
nop
nop
push 0x598
pop edi
xor dword [edx + edi], ecx
sub edi, 3
dec edi
nop
jne 0x46b014
nop
nop
cwde
dec ebp
xchg byte [0x15873070], dl
jo 0x46b05a
invalid
adc dword [0x15821efc], 0xffffffa2
pop ds
adc byte [0x15873070], 0x70
xor byte [edi - 0x78cf8feb], al
adc eax, 0x15c22cfc
and al, 0x2c
ret 0x7015
Function at 0x1016296b
Capabilities:
Encode data using xor

Disassembly:
mov esp, ebp
bswap bp
pushal
mov ebp, dword [esp + 0x20]
mov dword [esp + 4], 0xba07ac84
pushfd
push dword [esp + 0x28]
ret 0x30
jb 0x1015c6bc
pushal
mov edi, dword [esp + 0x20]
pushfd
mov esi, dword [esp + 0x28]
pushfd
movzx bx, al
mov ebx, dword [esp + 0x30]
mov dword [esp], eax
push ebx
mov byte [esp], 0xb0
mov esp, ebp
call fcn.1016811f
cwde
pushal
mov eax, esi
movsx bx, al
bswap di
movzx si, bl
mov edi, dword [esp + 0x20]
movsx bx, cl
bswap bx
push dword [esp + 4]
setae bl
mov esi, dword [esp + 0x28]
movsx bx, dl
jmp 0x10161924
sub ecx, esi
pop ss
xchg ebx, ecx
invalid
mov bl, ah
pop edi
pushfd
lea ebx, [ecx*4 - 0x21a4574a]
mov esi, dword [esp + 4]
call fcn.1015b468
adc dword [esi - 0x55], 0x44
ja 0x1015c718
xlatb
adc byte [eax], ch
sahf
mov bl, 0x8a
dec edx
sal ebp, 0xac
push cs
pushal
jne 0x1015c66f
hlt
jl 0x1015c771
add bl, bl
lea esp, [edi + eax*2 - 0x2f6a136]
rcr dword [ecx + 0x780a47b2], 5
mov esi, 0xe675811c
pop ds
iretd
inc ebx
aaa
das
add ah, al
jl 0x1015c75e
and al, 0xbc
ror dword [ebx + 0x3aa9d461], cl
adc esp, 0x53
cmpsb byte [esi], byte es:[edi]
mov bh, 0x68
xchg ebp, eax
insd dword es:[edi], dx
mov edi, 0x13a303b1
pop ecx
push 0x23
mov bl, 0xdd
push cs
or al, dh
push ss
jp 0x1015c6ff
or al, 0xa4
cwde
jmp 0x85ce43b3
js 0x1015c77d
int 0x95
mov eax, 0x88d501ca
into
inc ecx
mov edi, 0x7fb13ab2
mov dl, 0x3a
mov cl, 0x7f
mov dword [0xdc8aed79], eax
mov bl, ah
or al, 0x8e
xor ebp, esi
scasb al, byte es:[edi]
cmpsb byte [esi], byte es:[edi]
outsb dx, byte [esi]
or byte [edx], bl
mov dword [0xbb4b2f8b], eax
jp 0x1015c76a
mov ebp, dword [edi]
dec ebx
mov ebx, 0x5c70e77a
jo 0x1015c7e1
mov edx, 0x6b394875
retf
movsb byte es:[edi], byte [esi]
pop ss
in al, dx
mov ebp, 0x96843ece
outsb dx, byte [esi]
mov al, byte [0xdf4eae5c]
xchg ebp, eax
outsd dx, dword [esi]
mov ah, 0x60
clc
aas
lea eax, [ebp + 0x211db525]
jns 0x1015c7f5
mov ebx, dword [esp + 0x2c]
jmp 0x10159888
pushfd
push ebx
mov dword [esp + 4], 0x1015a500
mov word [esp], si
call fcn.1015bdac
or ebx, ebx
pushfd
mov word [esp], 0x545d
pushfd
lea esp, [esp + 0xc]
je 0x1015a508
not si
movzx si, dl
mov esi, eax
pushfd
movzx ax, bl
mov dword [esp], ebx
movsx ax, dl
movsx ax, cl
lea eax, sym.imp.KERNEL32.dll_LocalFree
jl 0x1016220e
pushal
pushal
mov dword [esp + 0x3c], 0x1015a500
pushfd
pushfd
push dword [eax]
pop dword [esp + 0x40]
push eax
mov byte [esp], al
push 0xf5c214f0
push dword [esp + 0x48]
ret 0x4c
Function at 0x401148
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425044]
jne 0x401152
repz ret
jmp fcn.00403213

Function at 0x40b1e9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00406a68
xor ebx, ebx
cmp dword [0x4274c8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b2be
push 0x41db78
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b229
xor eax, eax
jmp 0x40b382
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x41db6c
push edi
call esi
cmp eax, ebx
je 0x40b222
push eax
call fcn.00406a05
mov dword [esp], 0x41db5c
push edi
mov dword [0x4274c8], eax
call esi
push eax
call fcn.00406a05
mov dword [esp], 0x41db48
push edi
mov dword [0x4274cc], eax
call esi
push eax
call fcn.00406a05
mov dword [0x4274d0], eax
lea eax, [ebp - 8]
push eax
call fcn.00405081
test eax, eax
pop ecx
pop ecx
je 0x40b28c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403321
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b2be
push 0x41db2c
push edi
call esi
push eax
call fcn.00406a05
cmp eax, ebx
pop ecx
mov dword [0x4274d8], eax
je 0x40b2be
push 0x41db14
push edi
call esi
push eax
call fcn.00406a05
pop ecx
mov dword [0x4274d4], eax
mov eax, dword [0x4274d4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b337
cmp dword [0x4274d8], esi
je 0x40b337
push eax
call fcn.00406a71
pop ecx
call eax
cmp eax, ebx
je 0x40b304
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4274d8]
call fcn.00406a71
pop ecx
call eax
test eax, eax
je 0x40b304
test byte [ebp - 0x18], 1
jne 0x40b337
lea eax, [ebp - 0xc]
push eax
call fcn.004050b8
test eax, eax
pop ecx
je 0x40b31f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403321
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b32e
or dword [ebp + 0x10], 0x200000
jmp 0x40b368
or dword [ebp + 0x10], 0x40000
jmp 0x40b368
mov eax, dword [0x4274cc]
cmp eax, esi
je 0x40b368
push eax
call fcn.00406a71
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b368
mov eax, dword [0x4274d0]
cmp eax, esi
je 0x40b368
push dword [ebp - 4]
push eax
call fcn.00406a71
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4274c8]
call fcn.00406a71
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret