joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10a8741
Capabilities:
Check http status code

Disassembly:
push ebp
bts ebp, eax
sar dx, 0xc4
mov ebp, esp
bt ecx, 0x3f
btr eax, 0xa2
shld ecx, edx, 0xd1
lea esp, [esp - 0x50]
ror ch, cl
push ebx
setge ch
add dl, 0x8e
push esi
push edi
mov edi, dword [ebp + 8]
or ecx, 0x255c4a30
test ecx, edi
sal ch, cl
mov ecx, dword [edi + 0x38]
rcr bh, 0x98
mov eax, dword [edi + 0x10]
xor esi, esp
rcl ebx, cl
mov edx, dword [edi + 0x3c]
mov dword [ebp - 0x20], eax
xor al, 0xcb
inc si
mov eax, dword [edi + 0x40]
mov ebx, dword [edi + 0x34]
sub esi, 0x6efb47a4
mov dword [ebp - 0x18], ecx
inc esi
mov ecx, dword [edi + 0x44]
bts esi, edi
jmp 0x10c93eb
mov dword [ebp - 0x40], eax
test dx, 0x6fa1
mov eax, dword [edi + 0x28]
test ax, 0x4991
cmp bp, 0x7c7e
mov dword [ebp - 0x24], eax
rol ax, 0x69
cwde
movsx ax, al
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x10], eax
mov ah, ch
cmc
rcr ax, 0x6b
mov eax, dword [edi + 0x18]
mov dword [ebp - 0xc], ecx
clc
ror ch, 3
mov ecx, dword [edi + 0x30]
test dl, 0
mov dword [ebp - 4], eax
bsf eax, eax
ror al, cl
mov eax, dword [edi + 0x1c]
cmc
test ebp, ebx
mov dword [ebp - 0x14], ebx
cmp ebx, edi
cmc
mov dword [ebp - 0x50], edx
stc
mov dword [ebp - 0x3c], ecx
shr ecx, 0xd5
shl ecx, 0xe4
bt ecx, edx
mov dword [ebp - 0x28], 0
dec edx
jmp 0x11b0761
mov esi, dword [edi + 0x20]
clc
stc
mov dword [ebp - 0x30], eax
cmp bp, 0x33c5
sub eax, 0x59015eee
mov dword [ebp - 0x38], ecx
btc ax, bx
bts eax, esi
ror ch, cl
mov ecx, dword [edi + 8]
lahf
shld ax, dx, 0x76
mov dword [ebp - 0x2c], edx
inc eax
neg ax
mov edx, 1
and al, 0x1c
shl edx, cl
or ax, dx
mov ecx, dword [edi + 4]
cwde
mov eax, 1
shl eax, cl
mov cx, bp
mov ecx, dword [edi + 0x14]
jmp 0x10ac692
mov dword [ebp - 0x34], ecx
mov cx, 0x5b19
movsx ecx, cx
xchg cl, ch
mov ecx, dword [edi + 0x24]
jmp 0x11b1329
dec eax
mov dword [ebp - 0x48], eax
add ah, 0xe8
mov eax, dword [edi]
jmp 0x10a947a
Function at 0x40289a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4028d9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4028d9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4028d9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4028d9
cmp dword [ecx + 0x74], 0xe
jbe 0x4028d9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xfe6cd1
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp], ax
lea esp, [esp + 2]
pop word [esp]
jmp 0xfe6c7e

Function at 0xfec146
Capabilities:
Encode data using xor

Disassembly:
btc ebx, ebx
push dword [esp + 0x10]
ret 0x14
push eax
call 0xfec146
mov dword [reloc.iphlpapi.dll_GetAdaptersInfo], eax
jecxz 0xfec116
not dword [bp + si - reloc.iphlpapi.dll_GetAdaptersInfo]
pop ds
cwde
push cs
imul ebx, dword [eax - reloc.iphlpapi.dll_GetAdaptersInfo], 0x22474ff
call fcn.00fec013
push dword [esp + 3]
jbe 0xfec55c
ja 0xfec608
add al, 0
add dh, bh
dec cl
leave
push 0xcd5d228b
test byte [ecx - 0xd], bh
pop ebp
int 0x84
jns 0xfec153
xor al, 0xfb
xor al, 0xfb
je 0xfec157
out 0xad, al
out 0xad, al
jb 0xfec15b
pop esp
pop esp
pop esp
je 0xfec15f
aam 0xd3
aam 0xd3
jb 0xfec163
jp 0xfec1b8
jp 0xfec1b8
jbe 0xfec167
inc esp
popal
jne 0xfec16b
outsd dx, dword [esi]
stc
jne 0xfec16f
mov ebx, 0x9ff375e5
mov ebx, 0x9ff375e5
mov dword [edx - 0xd], esi
pop ss
stosd dword es:[edi], eax
ja 0xfec17b
invalid
iretd
cmp byte [ecx], dl
jns 0xfec1ab
add edi, dword [ebp - reloc.iphlpapi.dll_GetAdaptersInfo]
jne 0xfec1b3
hlt
mov byte [esp + 6], al
lea esp, [esp + 7]
lea esp, [esp + 1]
push ecx
pushal
pop word [esp + 2]
call fcn.00fec59c
lodsb al, byte [esi]
mov edi, 0x33303186
sub esp, 4
sbb bh, 0x4c
lea esp, [esp + 3]
push eax
ret
push ecx
pushal
jmp 0xfec56a
mov byte [esp + 6], al
lea esp, [esp + 7]
lea esp, [esp + 1]
jmp 0xfec5bd

Function at 0x106201f
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp], reloc.iphlpapi.dll_GetAdaptersInfo
mov ah, al
jmp 0x1062052

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
sub dword [0x135e6752], esp
Function at 0x122d570
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x836000]
push edi
or ebp, 0xffffffff
jmp 0x122d592
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x122d599
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x122d588
mov eax, 1
add ebx, ebx
jne 0x122d5ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x122d5bc
jne 0x122d5db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x122d5db
dec eax
add ebx, ebx
jne 0x122d5c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x122d5a0
add ebx, ebx
jne 0x122d5d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x122d62d
xor ecx, ecx
sub eax, 3
jb 0x122d5f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x122d662
sar eax, 1
mov ebp, eax
jmp 0x122d5fe
add ebx, ebx
jne 0x122d5fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x122d5cc
inc ecx
add ebx, ebx
jne 0x122d60c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x122d5cc
add ebx, ebx
jne 0x122d619
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x122d60e
jne 0x122d62a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x122d60e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x122d64c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x122d63e
jmp 0x122d58e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x122d64c
add edi, ecx
jmp 0x122d58e
pop esi
mov edi, esi
mov ecx, 0x433f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x122d66a
cmp byte [edi], 0x13
jne 0x122d66a
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 al, bl
loop 0x122d66f
lea edi, [esi + 0xe2a000]
mov eax, dword [edi]
or eax, eax
je 0x122d6e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe2e0b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe2e20c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x122d69c
mov ecx, edi
jns 0x122d6cb
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 + 0xe2e214]
or eax, eax
je 0x122d6e1
mov dword [ebx], eax
add ebx, 4
jmp 0x122d6b9
call dword [esi + 0xe2e210]
mov ebp, dword [esi + 0xe2e218]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x122d71b
sub esp, 0xffffff80
jmp 0x47442c
Function at 0x4034a5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45fc20
call fcn.00457f48
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00403638
xor ebx, ebx
mov dword [esi + 0x30], 4
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x20], 0x466450
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
mov byte [esi + 0x34], 1
call fcn.00403596
lea ecx, [esi + 0x88]
mov byte [esi + 0x84], bl
push 0xf
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004014fc
lea ecx, [esi + 0x98]
mov byte [esi + 0x94], bl
push 0xf
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004014fc
lea ecx, [esi + 0xa8]
mov byte [esi + 0xa4], bl
mov byte [esi + 0xa5], bl
mov byte [esi + 0xa6], bl
push 0xf
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004014fc
lea ecx, [esi + 0xb4]
push 0xf
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004014fc
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xc0]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 8
mov dword [eax], 0x466448
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x403596
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x45fc60
call fcn.00457f48
push ecx
push ebx
push esi
push edi
push 0xf
mov esi, ecx
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.004014fc
lea ecx, [esi + 0xc]
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004014fc
lea ecx, [esi + 0x18]
push edi
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004014fc
lea ecx, [esi + 0x24]
push edi
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004014fc
lea ecx, [esi + 0x34]
mov byte [esi + 0x30], bl
push edi
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004014fc
lea ecx, [esi + 0x40]
push edi
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004014fc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405983
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jbe 0x4059ae
push ebx
push edi
movzx edi, byte [edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x478814]
xor eax, edi
inc edx
dec esi
jne 0x405994
pop edi
pop ebx
mov dword [ecx], eax
pop esi
ret 8
Function at 0x408f4b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x460858
call fcn.00457f48
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 1
mov eax, dword [esi]
push 0
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
push 0
mov dword [edi + 0x18], eax
push dword [esi + 0x1c]
call fcn.00458200
mov ecx, dword [esi + 0x20]
xor ebx, ebx
add eax, ecx
lea ecx, [ebp - 0x18]
mov dword [edi + 0x20], eax
lea eax, [esi + 0x2c]
adc edx, ebx
push eax
mov dword [edi + 0x24], edx
call fcn.00408b31
and dword [ebp - 4], ebx
call dword [0x466034]
neg eax
sbb eax, eax
inc eax
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040900b
push eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
call fcn.004014be
push dword [ebp - 0x24]
and byte [ebp - 4], bl
call fcn.00405d0e
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00405d0e
mov eax, dword [esi + 0x24]
pop ecx
pop ecx
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x40b3e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x460ac0
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x6c
cmp eax, 1
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x40bebc
invalid
invalid
and al, 0xa0
invalid

Function at 0x40d867
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x460b61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 8], esi
mov dword [esi + 8], ebx
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], ebx
call fcn.00409f41
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x68], ebx
push fcn.00412560
push fcn.004124a0
push 6
lea eax, [esi + 0x70]
push 0x7c
push eax
mov byte [esp + 0x28], 2
mov byte [esi + 0x6c], 1
call fcn.00458798
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x49b4], 9
mov dword [esi + 0x49b8], 1
mov byte [esi + 0x49bc], bl
mov dword [esi], 0x466608
mov dword [esi + 4], 0x4665f8
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40e580
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.0040dc50
push 0x41
mov ecx, esi
call fcn.0040dc50
push 0x59
mov ecx, esi
call fcn.0040dc50
push 0x26
mov ecx, esi
call fcn.0040dc50
push 0x53
mov ecx, esi
call fcn.0040dc50
push 0x59
mov ecx, esi
call fcn.0040dc50
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
xor edi, edi
xor ebp, ebp
mov bl, byte [ecx]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x1c]
cmp edi, 4
mov cl, byte [edx + ebp]
mov byte [esp + 0x14], cl
jne 0x40e610
test cl, cl
jbe 0x40e60c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and edx, 0xff
and ecx, 0xff
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
mov edi, dword [edi*4 + 0x478d64]
xor eax, edi
dec ecx
jne 0x40e5f6
xor edi, edi
jmp 0x40e63f
cmp bl, cl
jne 0x40e617
inc edi
jmp 0x40e622
mov bl, cl
mov edi, 1
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and edx, 0xff
xor ecx, edx
shl eax, 8
mov ecx, dword [ecx*4 + 0x478d64]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x40e5ce
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.0040dc90
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0040dd90
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x40f3d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460c60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
push ebx
mov ebx, ecx
push esi
push edi
mov al, byte [ebx + 0xd1c]
mov dword [ebp - 0x10], esp
test al, al
mov dword [ebp - 0x28], ebx
je 0x40f418
lea eax, [ebp - 0x38]
push 0x46a2b8
push eax
mov dword [ebp - 0x38], 0
call fcn.00457b35
lea esi, [ebx + 0x18]
mov ecx, esi
call fcn.00410160
mov eax, dword [esi + 0x30]
mov edi, dword [esi]
mov ecx, eax
and ecx, 1
inc edi
shr eax, 1
cmp ecx, 1
mov dword [esi], edi
sete cl
mov dword [esi + 0x30], eax
xor byte [eax + 0xd1c8b], cl
add byte [ebx + 0xd19e8ce], cl
add byte [eax], al
mov eax, dword [esi + 0x30]
mov edi, dword [esi]
mov ecx, eax
add edi, 2
and ecx, 3
mov dword [esi], edi
shr eax, 2
test ecx, ecx
mov dword [esi + 0x30], eax
je 0x40f889
jle 0x40f874
cmp ecx, 2
jg 0x40f874
cmp ecx, 1
mov byte [ebx + 0xd1d], 0
jne 0x40f4da
mov ecx, 0x24
mov eax, 0x8080808
lea edi, [ebp - 0x210]
mov edx, 0x8080808
rep stosd dword es:[edi], eax
mov ecx, 0x1c
mov eax, 0x9090909
lea edi, [ebp - 0x180]
rep stosd dword es:[edi], eax
mov ecx, 6
mov eax, 0x7070707
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xf8], edx
mov ecx, 8
mov eax, 0x5050505
lea edi, [ebp - 0x70]
mov dword [ebp - 0xf4], edx
rep stosd dword es:[edi], eax
jmp 0x40f829
cmp dword [esi], 8
jb 0x40f534
lea eax, [ebp - 0x34]
push 0x46a2b8
push eax
mov dword [ebp - 0x34], 0
call fcn.00457b35
mov eax, dword [esi]
mov byte [ebx + 0xd1d], 1
and eax, 7
jbe 0x40f8b9
mov edi, 8
sub edi, eax
test edi, edi
Function at 0x40f930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x460c78
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov al, byte [edi + 0xd24]
neg al
sbb eax, eax
and eax, 0x8000
add eax, 0x8000
push eax
call fcn.00413e62
test al, al
jne 0x40f986
pop edi
pop esi
pop ebp
mov eax, 0x8007000e
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0x14
lea esi, [edi + 0x20]
push 0x20000
mov ecx, esi
call fcn.00409f55
test al, al
jne 0x40f9b3
pop edi
pop esi
pop ebp
mov eax, 0x8007000e
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0x14
mov ecx, dword [esp + 0x40]
xor ebx, ebx
push ecx
mov ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00413eb4
push ebx
mov ecx, edi
call fcn.00413ecd
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edx
call fcn.00409fa3
lea esi, [edi + 0x18]
lea ecx, [esi + 8]
call fcn.00409fb2
mov dword [esi], 0x20
mov dword [esi + 4], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x24], edi
mov byte [esp + 0x28], 1
mov dword [esp + 0x34], ebx
mov byte [edi + 0xd1c], bl

Function at 0x41dba0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
cmp edx, 8
push edi
jae 0x41dbfc
mov eax, dword [ecx]
or edx, 8
shr eax, 2
xor esi, esi
cmp edx, 1
mov ebx, dword [eax*4 + 0x47987c]
je 0x41dbf2
mov edi, dword [esp + 0x18]
mov eax, edx
shr edx, 1
and eax, 1
lea ebp, [edx + edi*8]
mov ebp, dword [ecx + ebp*4 + 8]
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
mov eax, dword [ebp*4 + 0x47987c]
add esi, eax
cmp edx, 1
jne 0x41dbc7
lea eax, [esi + ebx]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ebx, dword [ecx]
mov eax, 0x800
sub eax, ebx
shr eax, 2
cmp edx, 0x10
mov eax, dword [eax*4 + 0x47987c]
jae 0x41dc6f
mov esi, dword [ecx + 4]
xor edi, edi
shr esi, 2
mov ebx, dword [esi*4 + 0x47987c]
lea esi, [edx - 8]
or esi, 8
add eax, ebx
cmp esi, 1
je 0x41dcc0
mov ebx, dword [esp + 0x18]
mov edx, esi
shr esi, 1
and edx, 1
lea ebp, [esi + ebx*8]
mov ebp, dword [ecx + ebp*4 + 0x208]
sub ebp, edx
neg edx
xor ebp, edx
shr ebp, 2
and ebp, 0x1ff
mov edx, dword [ebp*4 + 0x47987c]
add edi, edx
cmp esi, 1
jne 0x41dc38
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edi, dword [ecx + 4]
mov esi, 0x800
sub esi, edi
xor edi, edi
shr esi, 2
mov ebx, dword [esi*4 + 0x47987c]
lea esi, [edx - 0x10]
or esi, 0x100
add eax, ebx
cmp esi, 1
je 0x41dcc0
mov edx, esi
shr esi, 1
and edx, 1
mov ebx, dword [ecx + esi*4 + 0x408]
sub ebx, edx
neg edx
xor ebx, edx
shr ebx, 2
and ebx, 0x1ff
mov ebp, dword [ebx*4 + 0x47987c]
add edi, ebp
cmp esi, 1
jne 0x41dc95
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x421250
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebx, ebx
xor edi, edi
cmp edi, dword [ecx + 0x33678]
jae 0x421318
mov edx, edi
xor esi, esi
or edx, 0x40
cmp edx, 1
je 0x42129e
mov eax, edx
shr edx, 1
and eax, 1
lea ebp, [ebx + edx]
mov ebp, dword [ecx + ebp*4 + 0x28720]
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
mov eax, dword [ebp*4 + 0x47987c]
add esi, eax
cmp edx, 1
jne 0x421270
lea eax, [ebx + edi]
inc edi
cmp edi, 0xe
mov dword [ecx + eax*4 + 0x32a34], esi
jb 0x421258
cmp edi, dword [ecx + 0x33678]
jae 0x421318
mov edx, edi
xor esi, esi
or edx, 0x40
cmp edx, 1
je 0x4212f0
mov eax, edx
shr edx, 1
and eax, 1
lea ebp, [ebx + edx]
mov ebp, dword [ecx + ebp*4 + 0x28720]
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
mov eax, dword [ebp*4 + 0x47987c]
add esi, eax
cmp edx, 1
jne 0x4212c2
mov edx, edi
lea eax, [ebx + edi]
and edx, 0x7fffffe
add edx, 0x7fffff6
shl edx, 5
add edx, esi
inc edi
mov dword [ecx + eax*4 + 0x32a34], edx
mov eax, dword [ecx + 0x33678]
cmp edi, eax
jb 0x4212b6
add ebx, 0x40
cmp ebx, 0x100
jb 0x421256
pop edi
pop esi
pop ebp
pop ebx
ret