joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e1a0
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x464170
push esi
push 0
push 0
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x5401ec], eax
test eax, eax
je 0x464373
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AdjustWindowRect
push eax
call esi
mov dword [0x5401d4], eax
test eax, eax
jne 0x4641e0
push str.AdjustWindowRect
push str.Failed_to_get__s_function_address__n
push 2
call fcn.00405150
add esp, 4
push eax
call fcn.0040e3f0
add esp, 0xc
call fcn.0043e390
test eax, eax
je 0x46437f
cmp byte [section..data], 0
je 0x46437f
jmp 0x464377
push str.CreateWindowExA
push dword [0x5401ec]
call esi
mov dword [0x5401d8], eax
test eax, eax
jne 0x464232
push str.CreateWindowExA
push str.Failed_to_get__s_function_address__n
push 2
call fcn.00405150
add esp, 4
push eax
call fcn.0040e3f0
add esp, 0xc
call fcn.0043e390
test eax, eax
je 0x46438e
cmp byte [section..data], 0
je 0x46438e
jmp 0x464386
push str.DefWindowProcA
push dword [0x5401ec]
call esi
mov dword [0x5401dc], eax
test eax, eax
jne 0x464284
push str.DefWindowProcA
push str.Failed_to_get__s_function_address__n
push 2
call fcn.00405150
add esp, 4
push eax
call fcn.0040e3f0
add esp, 0xc
call fcn.0043e390
test eax, eax
je 0x46439d
cmp byte [section..data], 0
je 0x46439d
jmp 0x464395
push str.DestroyWindow
push dword [0x5401ec]
call esi
mov dword [0x5401e0], eax
test eax, eax
jne 0x4642d6
push str.DestroyWindow
push str.Failed_to_get__s_function_address__n
push 2
call fcn.00405150
add esp, 4
push eax
call fcn.0040e3f0
add esp, 0xc
call fcn.0043e390
test eax, eax
je 0x4643ac
cmp byte [section..data], 0
je 0x4643ac
jmp 0x4643a4
push str.LoadIconA
push dword [0x5401ec]
call esi
mov dword [0x5401e4], eax
test eax, eax
jne 0x464328
push str.LoadIconA
push str.Failed_to_get__s_function_address__n
push 2
call fcn.00405150
add esp, 4
push eax
call fcn.0040e3f0
add esp, 0xc
call fcn.0043e390
test eax, eax
je 0x4643bb
cmp byte [section..data], 0
je 0x4643bb
jmp 0x4643b3
push str.RegisterClassExA
push dword [0x5401ec]
call esi
mov dword [0x5401e8], eax
test eax, eax
jne 0x46436f
push str.RegisterClassExA
push str.Failed_to_get__s_function_address__n
push 2
call fcn.00405150
add esp, 4
push eax
call fcn.0040e3f0
add esp, 0xc
call fcn.0043e390
test eax, eax
je 0x4643ca
cmp byte [section..data], 0
je 0x4643ca
jmp 0x4643c2
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.00410b10
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.00410b10
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.00410b10
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.00410b10
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.00410b10
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.00410b10
int3
Function at 0x411e80
Capabilities:
Query environment variable

Disassembly:
jmp 0x4eb026
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4eb03a
xor edi, edi
jmp 0x4eb071
push ebx
push esi
call fcn.004eaf2f
sub eax, esi
sar eax, 1
lea ebx, [eax + eax]
push ebx
call fcn.0040fba0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4eb061
push ebx
push esi
push edi
call fcn.00406580
add esp, 0xc
push 0
call fcn.00408570
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x412540
Capabilities:
Terminate process

Disassembly:
jmp 0x4b0a27
push 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x4b0a37
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00406f90
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x43e2e0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x53e094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x43e327
mov ecx, dword [ebp - 0x1c]
mov eax, 0x4e20
add ecx, 0x1e
mov word [ebp - 0x1e], ax
mov word [ebp - 0x20], cx
push dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x1d
mov word [ebp - 0x24], ax
mov eax, 0x32
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x28]
push eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push dword [0x53e004]
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040eff0
mov esp, ebp
pop ebp
ret

Function at 0x48d8f9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [ebp + 0xc], edx
jbe 0x48d91f
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x48d90c
pop esi
mov eax, ecx
pop ebp
ret
Function at 0x401020
Capabilities:
Accept command line arguments
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x41d2d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x427324]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor ebx, ebx
lea esi, [ebp + 0x14]
mov byte [ebp], 1
mov byte [ebp + 1], bl
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov eax, 7
xor ecx, ecx
mov dword [esi], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], ebx
mov word [esi + 8], cx
lea edi, [ebp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
xor edx, edx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x28], ebx
mov word [edi + 0x18], dx
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 1
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x401138
cmp dword [esp + 0x14], 4
jl 0x401138
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
cmp edx, ebx
jne 0x4010e7
push 0x43c
push str.C:MSVSMSVS2008VCincludexstring
push str.invalid_null_pointer
call fcn.00402370
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x18], ecx
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4010f0
sub eax, dword [esp + 0x18]
sar eax, 1
push eax
mov eax, edx
call fcn.004015b0
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 8]
push edx
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp + 0xc], ebx
je 0x401138
mov ecx, dword [esi + 0xc]
call fcn.00401c80
mov byte [ebp + 1], 1
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x403280
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427324]
jne 0x40328a
repz ret
jmp fcn.00407330

Function at 0x408030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
aam 0x88
pop ebp
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00407c23
push eax
push esi
push dword [ebp + 8]
call fcn.00407bd8
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00407c13
call 0x890a1cc9
popfd
jl 0x408098
invalid
invalid

Function at 0x408340
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4082ea
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x408308
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]
push esp
invalid
invalid
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x408366
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
invalid
invalid
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40834d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x408356
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x408360
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x408342
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4082cc
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 0x4083b3
dec eax
je 0x4083aa
sub eax, 3
je 0x4083a1
mov dword [ebp - 4], 0x40
jmp 0x4083d0
mov dword [ebp - 4], 4
jmp 0x4083b6
mov dword [ebp - 4], 0x20
jmp 0x4083b6
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 0x408402
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x408382
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00407c13
out 0xd0, eax
jecxz 0x408428
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x40840e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lodsb al, byte [esi]
cld
invalid
Function at 0x408450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00407c23
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00407bd8
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
invalid
Function at 0x41ce21
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x427324]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41cef6
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41cee5
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x41cecf
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x41cee5
push eax
push edi
push dword [ebp - 0x110]
call fcn.0041cdbe
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x41cef8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00403280
leave
ret 4
Function at 0x415c70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x415c92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415c99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415c88
mov eax, 1
add ebx, ebx
jne 0x415cab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415ca0
jne 0x415cbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415ca0
xor ecx, ecx
sub eax, 3
jb 0x415cd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415d42
mov ebp, eax
add ebx, ebx
jne 0x415cdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415ce8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415d0c
inc ecx
add ebx, ebx
jne 0x415cf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415ced
jne 0x415d09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415ced
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415d2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415d1d
jmp 0x415c8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415d2c
add edi, ecx
jmp 0x415c8e
pop esi
mov edi, esi
mov ecx, 0x20
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415d4a
cmp byte [edi], 3
jne 0x415d4a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x415d4f
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x415dc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b73c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b778]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415d7c
mov ecx, edi
jns 0x415dab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b77c]
or eax, eax
je 0x415dc1
mov dword [ebx], eax
add ebx, 4
jmp 0x415d99
call dword [esi + 0x1b780]
popal
jmp 0x4012dc
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40611c
pop dword [ebp - 0x48]
mov eax, 0x62138a5e
add eax, 0x9e2cd6be
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x62aa1ebe
sub dword [ebp - 0x58], 0x1457d973
mov dword [ebp - 0x54], 0x18186c4e
sub dword [ebp - 0x54], 0xe5e52009
mov dword [ebp - 0x50], 0xa8609065
sub dword [ebp - 0x50], 0x5c144c37
mov dword [ebp - 0x4c], 0x23be4a63
sub dword [ebp - 0x4c], 0x23be4a63
lea eax, [ebp - 0x58]
push eax
mov eax, 0x7febb0a8
sub eax, 0x7fab4048
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xdbdf6f2c
add dword [ebp - 0x58], 0x9892fa2a
mov dword [ebp - 0x54], 0x32556a2f
add dword [ebp - 0x54], 0xf16f746
mov dword [ebp - 0x50], 0x815b41db
add dword [ebp - 0x50], 0xe2142a91
mov dword [ebp - 0x4c], 0x1d0c69c1
sub dword [ebp - 0x4c], 0x1d0c69c1
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x229a3423
sub eax, 0x2259c323
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x37a0f
push 0
call eax
mov ecx, 0xb9ea62e2
add ecx, 0x4615e933
mov edx, eax
mov edi, 0x8cef8b05
sub edi, 0x8cae8b05
add edi, dword [ebp - 0x48]
mov esi, 0xebf2e4bc
sub esi, 0x86e7a3c
add dword [ebp - 0x44], 0x3df9fcf3
mov ebx, dword [edi]
sub ebx, esi
xor dword [ebp - 0x34], 0x4d41f88f
mov dword [edx], ebx
add edx, 0x20de0c17
sub edx, 0x20de0c13
add edi, 0xb06fd72d
add edi, 0x4f9028d7
loop 0x40623e
add eax, 0xba5e0944
add eax, 0x45a319e3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x41036329
sub ecx, 0x40c36329
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x1e23fd7c
Capabilities:
Encode data using xor

Disassembly:
out dx, al
pop edi
pop eax
push edx
lodsd eax, dword [esi]
lodsb al, byte [esi]
loope 0x1e23fd81
push eax
xor al, bh
mov ah, 0x1a
pop eax
stosd dword es:[edi], eax
loope 0x1e23fdaf
mov al, byte [0x73fd26a2]
and al, 0xa3
dec ebp
and dword [ecx], esi
outsb dx, byte [esi]
jo 0x1e23fd94
sti
push 0x24ca1117
out dx, al
fdivr st(6), st(0)
xlatb
int 0x12
sti
adc dword [edx], edi
xor ebx, dword [ebx - 0x20]
test dword [edx - 0x51047937], esi
Function at 0x402d54
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x55a008], 0x8088405
inc edx
mov dword [ebx + 0x55a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4045c8
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x40462d
test ecx, ecx
je fcn.00404300
cmp edx, dword [eax]
je 0x404634
cmp ecx, dword [eax]
je 0x4045ea
push eax
push ecx
call fcn.00404300
pop edx
pop eax
jmp fcn.00404584
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
push eax
mov eax, dword [ebx - 4]
add eax, dword [esi - 4]
call fcn.00404370
mov edi, eax
mov edx, eax
mov eax, ebx
mov ecx, dword [ebx - 4]
call fcn.0040293c
mov edx, edi
mov eax, esi
mov ecx, dword [esi - 4]
add edx, dword [ebx - 4]
call fcn.0040293c
pop eax
mov edx, edi
test edi, edi
je 0x404624
dec dword [edi - 8]
call fcn.00404300
pop edi
pop esi
pop ebx
ret
mov edx, ecx
jmp fcn.00404300
mov edx, ecx
jmp fcn.00404584

Function at 0x42f650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f67d
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42f66e
and ecx, 3
je 0x42f695
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x42f682
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42f6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x42f6d9
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f6c1
pop esi
and esi, 3
je 0x42f6fe
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42f6df
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x42f708
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f734
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f725
and ecx, 3
je 0x42f74c
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x42f739
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x42f754
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x42f760
pop edi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx]
call dword [eax + 0x20]
mov edi, eax
mov eax, edi
shr eax, 2
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
add eax, edi
mov dword [esp + 8], eax
mov eax, edi
add eax, eax
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
cdq
idiv edi
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x430038
inc ebp
push edi
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, dword [ebx + 8]
call fcn.0042f650
mov edx, dword [ebx + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [esp + 8]
push eax
push edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0042f6a0
lea eax, [esi + edi]
mov esi, eax
dec ebp
jne 0x430003
mov eax, dword [esp]
cdq
idiv edi
mov ebp, edx
test ebp, ebp
jle 0x430073
mov edx, dword [esp + 8]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 4]
call fcn.0042f754
mov edx, dword [ebx + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec ebp
test ebp, ebp
jl 0x430073
inc ebp
xor eax, eax
mov edx, dword [ebx + 8]
mov dl, byte [edx + eax]
xor byte [esi + eax], dl
inc eax
dec ebp
jne 0x430066
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43007c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0042fcd4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4601bb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x43012a
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f754
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f754
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x4300d7
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x430178
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f754
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.0040293c
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x4301a2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x4301a2
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x430192
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4601c2
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0042fe70
ret