joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013890
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10013a5d
pushal
mov esi, section.IXF1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x100138ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100138c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100138b0
mov eax, 1
add ebx, ebx
jne 0x100138d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100138c8
jne 0x100138e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100138c8
xor ecx, ecx
sub eax, 3
jb 0x100138f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1001396a
mov ebp, eax
add ebx, ebx
jne 0x10013903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10013910
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10013934
inc ecx
add ebx, ebx
jne 0x10013920
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10013915
jne 0x10013931
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10013915
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10013954
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10013945
jmp 0x100138b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10013954
add edi, ecx
jmp 0x100138b6
pop esi
mov edi, esi
mov ecx, 0x248
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10013972
cmp byte [edi], 2
jne 0x10013972
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 0x10013977
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x100139ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x130f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1325c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100139a4
mov ecx, edi
jns 0x100139d3
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 + 0x13260]
or eax, eax
je 0x100139e9
mov dword [ebx], eax
add ebx, 4
jmp 0x100139c1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10013a20
cmp al, 0xef
ja 0x10013a13
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100139f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10013a02
mov ebp, dword [esi + 0x13264]
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 0x10013a54
sub esp, 0xffffff80
jmp 0x10008361
Function at 0x40a91f
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00404914
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.004067e4
mov edi, eax
cmp edi, 0x104
jbe 0x40a942
mov eax, edi
add eax, eax
call fcn.00402e04
mov esi, eax
jmp 0x40a944
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.004067e4
push edi
push esi
call fcn.0040687c
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x40a97d
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x40a967
mov eax, esp
cmp esi, eax
je 0x40a98a
mov eax, esi
call fcn.00402e20
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x40a9c4
cmp bl, 0
je 0x40a9c0
cmp bl, 0x41
jl 0x40a9bb
cmp bl, 0x5a
jg 0x40a9bb
or bl, 0x20
xor al, bl
inc esi
jmp 0x40a99f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x40a904

Function at 0x40c5a0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x417d98
mov eax, esi
mov edx, 8
test al, 1
je 0x40c5bc
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c5be
shr eax, 1
dec edx
jne 0x40c5af
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40c5a8
pop esi
ret

Function at 0x40c5eb
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x417d94], 0
jne 0x40c5f7
call fcn.0040c5a0
push 1
push 0x417d94
call fcn.004066b0
mov eax, edi
test esi, esi
je 0x40c622
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x417d98]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40c5fd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x99677c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9967a3
call fcn.00938d18
mov dword [eax], esi
call fcn.00938d05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093995a
mov eax, esi
jmp 0x9967f8
test dword [ebp + 0xc], 0xfffffff9
jne 0x996789
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9967d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00938d2b
pop ecx
call fcn.00938d05
mov eax, dword [eax]
jmp 0x9967f8
test al, 0x10
jne 0x9967f6
test al, 1
je 0x9967f6
test byte [ebp + 0xc], 2
je 0x9967f6
call fcn.00938d18
mov dword [eax], 5
call fcn.00938d05
mov dword [eax], 0xd
jmp 0x9967c7
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4de06ae
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x40f32181
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, reloc.comsvcs.dll_CoEnterServiceDomain
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402280
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4022ba
mov edx, dword [esp + 0x10]
mov edi, 0x1505
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + esi]
test ebx, ebx
je 0x4022c1
mov eax, edi
shl eax, 5
add eax, edi
add eax, ebx
inc esi
mov edi, eax
cmp ecx, esi
jne 0x4022a0
jmp 0x4022c3
mov eax, 0x1505
jmp 0x4022c3
mov eax, edi
pop esi
pop edi
pop ebx
ret

Function at 0x4029f0
Capabilities:
Compute adler32 checksum
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x402b94
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, ecx
not eax
or eax, 0xffff
lea edi, [ecx + eax]
inc edi
shr ecx, 0x10
test esi, esi
je 0x402b8d
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x402a80
add ebp, dword [esp + 8]
mov esi, dword [esp + 4]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov edx, 0x15b0
je 0x402b8d
xor eax, eax
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 4], esi
jb 0x402afe
mov eax, edx
and eax, 0x1ff8
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
movzx esi, byte [ebp + ebx]
add esi, edi
add ecx, esi
movzx edi, byte [ebp + ebx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebp + ebx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebp + ebx + 3]
add edi, esi
add ecx, edi
movzx esi, byte [ebp + ebx + 4]
add esi, edi
add ecx, esi
movzx edi, byte [ebp + ebx + 5]
add edi, esi
add ecx, edi
movzx esi, byte [ebp + ebx + 6]
add esi, edi
add ecx, esi
movzx edi, byte [ebp + ebx + 7]
add edi, esi
add ecx, edi
add ebx, 8
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x402aa0
add ebp, ebx
mov esi, dword [esp + 4]
mov ebx, edx
sub ebx, eax
mov dword [esp + 8], ebx
jbe 0x402a48
mov ebx, edx
mov edx, eax
or edx, 1
test bl, 1
jne 0x402b30
mov ebx, ebp
cmp dword [esp], edx
je 0x402a40
jmp 0x402b4d
lea ebx, [ebp + 1]
movzx eax, byte [ebp]
mov esi, edi
and esi, eax
xor edi, eax
lea edi, [edi + esi*2]
add ecx, edi
mov eax, edx
cmp dword [esp], edx
je 0x402a40
mov edx, dword [esp]
sub edx, eax
mov dword [esp + 0xc], edx
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebx + eax]
mov edx, edi
and edx, esi
xor edi, esi
lea edx, [edi + edx*2]
add ecx, edx
movzx esi, byte [ebx + eax + 1]
mov edi, edx
and edi, esi
xor edx, esi
lea edi, [edx + edi*2]
add ecx, edi
add eax, 2
cmp dword [esp + 0xc], eax
jne 0x402b60
jmp 0x402a40
shl ecx, 0x10
add ecx, edi
jmp 0x402b99
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402bb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x402bde
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x402c7c
not eax
test bl, 1
jne 0x402be5
mov edx, ebx
cmp ebx, 1
jne 0x402c16
jmp 0x402c7a
xor eax, eax
jmp 0x402c7c
lea edx, [ebx - 1]
movzx esi, byte [ecx]
mov edi, eax
shr edi, 4
xor eax, esi
and eax, 0xf
xor edi, dword [eax*4 + 0x43d80c]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x43d80c]
cmp ebx, 1
je 0x402c7a
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x43d80c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x43d80c]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x43d80c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x43d80c]
add esi, 2
cmp edx, esi
jne 0x402c20
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x4086b0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, dword [esp + 4]
mov dword [0x444f04], ecx
mov eax, 0xfffffd92
nop
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x26f
mov dword [eax*4 + 0x4458c0], ecx
test eax, eax
je 0x408701
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x270
mov dword [eax*4 + 0x4458c4], ecx
add eax, 2
jmp 0x4086c0
mov dword [0x444f00], 0x270
ret
Function at 0x408740
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
call fcn.00438a40
test al, al
je 0x40895e
call fcn.00432030
test al, al
je 0x408959
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov esi, 0xbda8b052
mov ebp, 0x8c90152e
shrd ebp, esi, cl
shr esi, cl
test cl, 0x20
je 0x40878b
mov ebp, esi
xor esi, esi
mov ecx, ebp
xor ecx, 0x8c90152e
mov dword [esp], ecx
mov edx, esi
and edx, 0xf4fed10c
xor edx, 0x4056410c
and ecx, 0x24d8f978
mov eax, ecx
imul ecx, edx
mov ebx, ebp
and ebx, 0xdb270687
xor ebx, 0x53270281
mul ebx
mov dword [esp + 4], eax
add ecx, edx
mov eax, esi
xor eax, 0xbda8b052
mov edi, eax
and edi, 0xb012ef3
imul edi, ebx
add edi, ecx
mov ecx, ebp
and ecx, 0x24d8f978
mov edx, esi
and edx, 0xb012ef3
xor ecx, 0xfb6feed7
xor edx, 0xf6ffdfad
mov ebx, dword [esp]
add ecx, ebx
adc edx, eax
add ecx, 1
adc edx, 0
and ebx, 0xdb270687
xor ebp, 0x57b713a9
or ebp, ebx
and eax, 0xf4fed10c
xor esi, 0x4956615e
or esi, eax
mov eax, ebp
imul ebp, edx
mul ecx
imul esi, ecx
add esi, edx
add esi, ebp
mov ecx, eax
add ecx, dword [esp + 4]
mov dword [esp], ecx
adc esi, edi
mov eax, esi
shld eax, ecx, 0xd
mov dword [esp + 0x1c], eax
mov ebx, esi
shr ebx, 0x13
mov dword [esp + 4], ebx
and ebx, esi
and eax, ecx
mov ecx, eax
and ecx, 0xfffffffd
mov dword [esp + 0x18], ecx
mov ecx, eax
and ecx, 2
mov ebp, eax
or ebp, 0xfffffffd
add ebp, 1
mov edi, 0
adc edi, 0xffffffff
or eax, 2
mov edx, ebp
imul edx, ebx
mov dword [esp + 0x10], edx
mul ecx
mov dword [esp + 0x14], eax
imul ebx, ecx
or edx, ebx
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x1c]
mov eax, ebp
mov ecx, dword [esp + 0x18]
mul ecx
add edx, dword [esp + 0x10]
imul edi, ecx
add edi, edx
sub eax, dword [esp + 0x14]
sbb edi, dword [esp + 0xc]
add ebx, dword [esp]
mov ecx, dword [esp + 4]
adc ecx, esi
add ebx, eax
adc ecx, edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x408935
mov ecx, dword [esp + 8]
and cl, 0xf
mov ebp, ebx
shrd ebp, edi, cl
mov esi, edi
shr esi, cl
xor ebp, ebx
xor esi, edi
mov ebx, ebp
and ebx, 0xbee10e0b
mov eax, ebx
xor eax, 0xbee10e0b
mov ecx, ebp
and ecx, 0x411ef1f4
mov edi, esi
and edi, 0x59ae2346
imul edi, eax
mul ecx
mov dword [esp + 4], eax
mov dword [esp], edx
mov edx, esi
and edx, 0xa651dcb9
or ebp, 0xbee10e0b
mov eax, ebp
imul ebp, edx
xor edx, 0xa651dcb9
imul ecx, edx
mul ebx
add ecx, dword [esp]
add ecx, edi
add ebp, edx
or esi, 0xa651dcb9
imul esi, ebx
add esi, ebp
mov ebx, eax
add ebx, dword [esp + 4]
adc esi, ecx
mov edi, esi
or edi, 0x1010101
or ebx, 0x1010101
push edi
push ebx
call fcn.00409c80
add esp, 8
test al, al
je 0x408959
call fcn.0040cd90
call fcn.0040b6d0
call fcn.00438fb0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x408970
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x4089de
mov esi, dword [ecx + 4]
mov eax, 0xfffff640
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, esi
xor edx, 0x7fffffff
or esi, 0x80000000
and esi, edx
mov edx, dword [ecx + eax + 0x9c8]
mov edi, edx
and edi, 0x7fffffff
or edi, esi
mov esi, edi
shr esi, 1
and edi, 1
neg edi
and edi, 0x9908b0df
xor esi, dword [ecx + eax + 0xff8]
xor esi, edi
mov dword [ecx + eax + 0x1384], esi
mov esi, edx
add eax, 4
jne 0x408990
mov eax, 0x270
jmp 0x4089f0
cmp eax, 0x4e0
jb 0x4089f0
mov esi, ecx
call fcn.00408a40
mov ecx, esi
mov eax, dword [esi]
lea edx, [eax + 1]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
mov esi, edx
not esi
or esi, dword [ecx + 0x1384]
lea ecx, [edx + esi]
inc ecx
xor ecx, eax
mov eax, ecx
shl eax, 7
mov edx, eax
not edx
or edx, 0x9d2c5680
add eax, edx
inc eax
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
pop edi
ret

Function at 0x408a40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
xor eax, eax
mov edx, SysReAllocString
nop
nop
nop
nop
nop
mov edi, eax
and edi, 0x70
mov esi, eax
or esi, 0x270
add esi, edi
mov ebp, dword [ecx + esi*4 + 4]
and ebp, edx
mov edi, dword [ecx + esi*4 + 8]
mov ebx, edi
and ebx, 0x7ffffffe
or ebx, ebp
shr ebx, 1
and edi, 1
neg edi
and edi, 0x9908b0df
mov ebp, ebx
and ebp, edi
add edi, ebx
add ebp, ebp
sub edi, ebp
xor edi, dword [ecx + esi*4 + 0x638]
mov dword [ecx + eax*4 + 4], edi
inc eax
cmp eax, 0xe3
jne 0x408a50
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 - 0xd50]
xor edi, edx
mov dword [ecx + eax*4 - 0x9c4], edi
inc eax
cmp eax, 0x4e1
jne 0x408ab0
mov esi, SysReAllocString
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
push eax
sub esp, 0x14
mov ebx, esp
sub esp, 0x190
mov dword [ebp - 0x44], esp
push eax
mov dword [ebp - 0x50], esp
sub esp, 0x18
mov dword [ebp - 0x54], esp
sub esp, 0x80
mov dword [ebp - 0x40], esp
sub esp, 0x100
mov eax, esp
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], eax
push eax
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x2c], esp
sub esp, 0x6c
mov dword [ebp - 0x14], esp
sub esp, 0x24
mov dword [ebp - 0x28], esp
sub esp, 8
mov dword [ebp - 0x3c], esp
sub esp, 0x40
mov dword [ebp - 0x24], esp
sub esp, 0x80
mov dword [ebp - 0x38], esp
mov eax, dword [0x4462dc]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], 0xb4b3aab1
mov ecx, 0xcd435e79
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebp + ecx + 0x32bca157]
mov edx, ecx
and edx, 0x8143007f
or eax, 0x5e305f00
or edx, 0x12300100
xor edx, eax
neg edx
mov eax, edx
and eax, 0x49
add eax, eax
xor edx, 0x36
sub edx, eax
add dl, 2
mov byte [ebp + ecx + 0x32bca157], dl
inc ecx
cmp ecx, 0xcd435e7d
jne 0x409d00
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov dword [ebx], 0x86168414
mov dword [ebx + 4], 0xba56b855
mov dword [ebx + 8], 0xbe6fbc68
mov dword [ebx + 0xc], 0xb255b061
mov dword [ebx + 0x10], 0xb629b42f
mov word [ebx + 0x14], 0xa8b7
xor esi, esi
xor edi, edi
mov dword [ebp - 0x10], ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [ebx + edi]
mov dword [ebp - 0x18], ecx
mov eax, esi
and eax, 0x36
mov edx, edi
xor edx, 0x2fb49b5b
add edx, eax
mov ebx, edx
and ebx, ecx
mov eax, ebx
and eax, 0xfffffffd
mov ecx, ebx
and ecx, 2
or ebx, 2
imul ebx, ecx
xor ecx, 2
imul ecx, eax
add ebx, ecx
add edx, dword [ebp - 0x18]
mov eax, ebx
xor eax, edx
not ebx
and ebx, edx
add ebx, ebx
sub ebx, eax
add bl, 0x28
mov eax, dword [ebp - 0x10]
mov byte [eax + edi], bl
mov ebx, dword [ebp - 0x10]
inc edi
add esi, 2
cmp edi, 0x16
jne 0x409d80
push dword [ebp - 0x48]
push 0
push ebx
call dword [ebp - 0x4c]
mov ecx, 0x4462e0
push eax
call fcn.00438a00
movzx eax, al
mov eax, dword [eax*4 + 0x4403f0]
mov ecx, 0x72488b23
xor ecx, dword [0x4403f8]
add eax, ecx
inc eax
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
jmp eax
Function at 0x40b050
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0x3c
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x4462b8]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40b0fe
sar edx, 1
lea edi, [esi + 0x14]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x440770]
mov eax, dword [0x440780]
nop
nop
nop
nop
nop
nop
jmp eax