joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c1f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x18]
xor eax, 0x53
push ebp
push esi
mov ebp, edx
mov dword [esp + 0x28], eax
lea ecx, [ebx - 0x25]
xor eax, 0x778
lea esi, [edx - 0x10a]
mov dword [esp + 0x1c], ecx
xor ebx, 0x72b
mov dword [esp + 0x14], esi
xor ebp, 0x2549
mov dword [esp + 0x20], ebx
xor edx, 0x155
push edi
mov edi, dword [esp + 0x28]
cmp ebx, eax
je 0x401c9b
mov eax, ebp
xor eax, 0x23a3
cmp ebx, eax
jl 0x401c9b
mov ecx, dword [edi + 0xb0]
sub ecx, dword [edi + 0x2c]
mov eax, dword [0x645dfc]
add eax, 0xe25d4
add eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [0x645dfc], eax
sub edx, 0x5c
lea eax, [ebp + 0x2488]
cmp esi, eax
jg 0x401cd3
mov eax, esi
xor eax, 0xb7
cmp edx, eax
jg 0x401d96
mov ecx, dword [0x645d9c]
mov eax, dword [ecx + 0x34]
xor eax, dword [0x645dcc]
add eax, 0x11da
mov dword [ecx + 0x10c], eax
jmp 0x401d96
mov eax, dword [edi + 0xf8]
mov ebp, esi
add eax, ebx
mov dword [esp + 0x10], esi
xor eax, ecx
cmp esi, eax
jb 0x401d96
mov edx, dword [0x645d9c]
mov eax, dword [edi + 0xe8]
sub eax, dword [edx + 0x98]
imul eax, ecx
mov dword [esp + 0x14], esi
cmp esi, eax
jb 0x401d7d
mov ebp, esi
mov ebx, esi
xor ebp, 0x237e
sub ebp, dword [esp + 0x2c]
mov esi, dword [0x645e58]
cmp esi, ebp
jge 0x401d59
mov eax, ebp
xor edx, edx
sub eax, esi
push 3
dec eax
pop ecx
div ecx
inc eax
mov dword [esp + 0x14], eax
mov esi, eax
mov ecx, dword [0x645e58]
xor ecx, dword [0x645e78]
imul ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
sub esi, 1
jne 0x401d33
mov edx, dword [0x645d9c]
mov ecx, dword [esp + 0x20]
push 3
pop eax
add ebx, eax
mov eax, dword [edi + 0xe8]
sub eax, dword [edx + 0x98]
imul eax, ecx
cmp ebx, eax
jae 0x401d16
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov eax, dword [edi + 0xf8]
add ebp, 2
add eax, ebx
mov dword [esp + 0x10], ebp
xor eax, ecx
cmp ebp, eax
jae 0x401cf1
pop edi
lea eax, [esi + 0x84]
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x40705e
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov edx, edi
xor edx, 0x689
lea eax, [esi - 0x192]
lea ebx, [edi - 0x23c0]
lea ecx, [edi + 0x137]
cmp ebx, eax
je 0x4070cd
mov ecx, dword [esp + 0x14]
or dword [ecx + 0x124], 0x53213
cmp dword [ecx + 0x98], 0x1f22
jbe 0x4070c4
mov eax, dword [0x645d9c]
mov eax, dword [eax + 0x20]
add eax, dword [ecx + 0xdc]
add eax, dword [0x645dd4]
imul eax, dword [ecx + 0x124]
mov dword [ecx + 0x124], eax
jmp 0x40711a
mov dword [ecx + 0x1c], 0x149ce6a
jmp 0x40711a
lea eax, [edx + 0x24f7]
cmp esi, eax
jl 0x40711a
sub ecx, dword [0x645ec0]
lea eax, [edx + 0x23a3]
imul ecx, ebx
xor edx, 0x2370
push ecx
push eax
lea eax, [edi*2 + 0x2438]
push eax
mov eax, dword [0x645d9c]
mov ecx, dword [eax + 0xf8]
mov eax, dword [esp + 0x20]
or ecx, dword [eax + 0xc0]
push ecx
imul ecx, edi, 0x24f7
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor esi, 0x1c1
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x407126
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, eax
mov edx, dword [esp + 0x14]
add eax, 0xfffffea3
push ebx
push ebp
xor ecx, 0x7a5
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov ebx, edx
push esi
mov esi, dword [esp + 0x1c]
mov ebp, eax
push edi
mov dword [esp + 0x14], ecx
mov edi, edx
mov ecx, 0x2370
xor ebx, 0x7b3
xor edi, ecx
xor ebp, ecx
lea ecx, [eax + 0x47]
lea eax, [edx + 0xe]
mov dword [esp + 0x2c], eax
lea eax, [edi + 0x2488]
cmp ebp, eax
je 0x4071e2
mov eax, edi
xor eax, 0x2488
cmp ebx, eax
jle 0x4071e2
xor dword [esp + 0x28], 0xbe
xor ecx, 0x77
push esi
push edx
push eax
lea eax, [ecx + 0x1e8]
mov dword [esp + 0x30], ecx
push eax
lea eax, [edi + 0x2537]
push eax
lea eax, [ebp + 0x2537]
push eax
call fcn.0041b786
mov ecx, dword [esi + 0x118]
mov ebx, eax
mov eax, dword [0x645d9c]
add esp, 0x18
cmp ecx, dword [eax + 0xf8]
mov ecx, dword [esp + 0x24]
jae 0x4071e2
mov eax, dword [esi + 0x90]
sub eax, dword [0x645da4]
xor eax, 0xfff24e49
or dword [esi + 0x74], eax
lea eax, [ecx + 0xc8]
cmp edi, eax
jg 0x4072dd
lea eax, [ebp + 0x2474]
cmp edi, eax
jg 0x40721d
mov eax, dword [esi + 0x108]
add eax, dword [0x645dd4]
xor eax, 0x129ced
imul eax, dword [esi + 0xc4]
mov dword [esi + 0xc4], eax
jmp 0x4072dd
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x118]
or eax, 0x2549
mov dword [esp + 0x24], ecx
cmp ecx, eax
ja 0x4072dd
mov edx, dword [esp + 0x14]
mov eax, ebp
xor eax, 0x25a8
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
xor eax, edi
mov dword [esp + 0x10], eax
imul eax, dword [esp + 0x28], 0x22ee
mov edi, dword [esp + 0x10]
add eax, 0xffffdb25
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x74]
or eax, edx
push eax
mov eax, dword [esi + 0x18]
sub eax, 0x237e
push eax
mov eax, dword [0x645d9c]
mov ecx, dword [eax + 0xf0]
and ecx, dword [eax + 0x18]
push ecx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [0x645d9c]
mov ecx, dword [esi + 0xec]
push edi
xor ecx, ebp
mov edx, dword [eax + 0xec]
xor ecx, 0x23ff
mov eax, dword [esi + 0x20]
or edx, dword [esp + 0x30]
imul eax, ebx
push eax
push ecx
push edx
push dword [esp + 0x38]
push esi
call fcn.00419eb2
mov ecx, dword [esi + 0x14]
mov edx, eax
mov eax, dword [esp + 0x3c]
or ecx, 0x2549
add eax, 3
add esp, 0x18
mov dword [esp + 0x24], eax
cmp eax, ecx
jbe 0x407267
pop edi
pop esi
pop ebp
lea eax, [ebx + 0xbf]
pop ebx
add esp, 0xc
ret
Function at 0x419c97
Capabilities:
Delete file
Encode data using xor
Suspend thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
lea ecx, [eax - 0x24f7]
xor eax, 0x24f7
push esi
push edi
add eax, 0x23b7
lea edi, [ebp - 0x2474]
mov dword [esp + 0x20], edi
cmp ebx, eax
je 0x419e50
cmp dword [0x645e8c], 0x11375
mov esi, dword [esp + 0x1c]
ja 0x419ce7
mov eax, dword [esi + 0xdc]
sub eax, 0xb0f46
add dword [esi + 0x6c], eax
mov eax, dword [0x645e0c]
add eax, 0x684d6d45
add eax, dword [esi + 0xd4]
xor ebp, ebp
mov dword [0x645e0c], eax
mov edi, ebp
mov dword [esi + 0xa0], 0x60a600
mov eax, dword [0x645db0]
sub eax, dword [esi + 0x74]
sub eax, 0x77553b2
add dword [esi + 0xa8], eax
mov eax, dword [0x645e40]
mov edx, dword [edi + eax]
add edi, 4
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 4]
sub eax, 0x1e3a20
imul eax, dword [esi + 0x40]
mov dword [esi + 0x40], eax
mov ecx, dword [0x645d9c]
mov eax, dword [ecx + 0x40]
add eax, dword [esi + 0x5c]
xor eax, 0xe25fb
imul eax, dword [ecx + 4]
mov dword [ecx + 4], eax
mov ebx, dword [esi + 0x6c]
mov eax, dword [0x645e24]
mov ecx, dword [esi + 0xa4]
imul ebx, edx
mov edx, ebx
shr edx, 8
mov byte [eax + ecx], dl
inc dword [0x645e24]
mov ecx, dword [esi + 0x84]
mov eax, dword [esi + 0xa4]
mov byte [ecx + eax], bl
inc dword [esi + 0x84]
mov eax, dword [0x645e50]
xor dword [esi + 0x118], eax
cmp edi, 0x27450
jl 0x419d0a
cmp dword [esi + 0x78], 0x148a1
je 0x419db7
mov eax, dword [0x645d9c]
mov dword [eax + 0x110], 0x645da0
jmp 0x419dc2
mov eax, dword [0x645e2c]
or dword [0x645da4], eax
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0xfc]
mov eax, dword [esi + 0x88]
xor dword [ecx + ebp], eax
add ebp, 4
mov eax, dword [esi + 0x100]
add dword [esi + 0x88], eax
mov eax, dword [0x645ec4]
sub eax, dword [esi + 0xec]
mov ecx, dword [esi + 0x70]
sub eax, 0x53212
add dword [esi + 0x24], eax
mov eax, dword [0x645ec8]
add ecx, dword [esi + 0xb0]
dec eax
add dword [esi + 0xdc], eax
mov eax, dword [0x645e8c]
dec eax
add eax, ecx
mov dword [0x645e8c], eax
cmp ebp, 0x9c88
jl 0x419dc6
push dword [esi + 0x11c]
mov eax, dword [esi + 0x114]
add eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0xfc]
push eax
push dword [esi + 0x110]
mov dword [esi + 0x9c], ecx
call ecx
mov dword [esi + 0x10c], eax
jmp 0x419ea5
mov eax, dword [0x645e38]
add eax, 0x24db
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0xe4]
imul eax, dword [0x645e48]
and eax, dword [esi + 0x58]
or dword [esi + 0x74], eax
mov eax, dword [esi + 0xd4]
xor eax, dword [esi + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x23c0]
cmp dword [esi + 0x7c], eax
ja 0x419ea5
lea ecx, [ebx - 0x24c3]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edi, 0x2370
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41b610
Capabilities:
Create thread

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
add edx, 0xffffff08
push ebp
mov ebp, dword [esp + 0x20]
add ebp, 0xffffff99
mov dword [esp + 8], edx
lea eax, [ebx - 0xf8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
add eax, 0xffffdc5d
mov dword [esp + 0x18], eax
lea eax, [ebx - 0xc3]
cmp edx, eax
jg 0x41b692
mov eax, dword [0x645d9c]
mov edx, dword [esp + 0x10]
cmp dword [eax + 0x8c], 0x137a8
ja 0x41b67e
mov eax, dword [0x645ec4]
add eax, 0xfffacdf2
add eax, dword [edx + 0x118]
imul eax, dword [0x645ea4]
mov dword [0x645ea4], eax
mov eax, dword [edx + 0x104]
sub eax, dword [edx + 0x1c]
mov dword [edx + 0x88], eax
jmp 0x41b77c
mov ecx, dword [0x645d9c]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, dword [edi + 0x20]
jmp 0x41b766
imul eax, dword [0x645e70], 0x2474
cmp dword [0x645db0], eax
jb 0x41b763
mov eax, ebp
xor eax, dword [esp + 0x1c]
push eax
mov eax, dword [edi + 0x118]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [ecx + 0xa8]
and eax, dword [edi + 0x40]
sub eax, 0x2549
push eax
mov eax, dword [ecx + 0x50]
lea ecx, [ebx - 0xf8]
xor eax, ecx
xor ecx, edx
imul eax, eax, 0x2370
push eax
mov eax, dword [0x645e14]
sub eax, dword [esp + 0x30]
push ecx
add eax, 0x23a3
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
imul eax, dword [edi + 0x5c], 0x2488
mov ecx, dword [edi + 0x94]
xor ecx, dword [0x645e98]
or eax, ebp
push eax
mov eax, dword [edi + 0x108]
or eax, 0x23a3
push eax
lea eax, [ebx - 0x24f7]
push eax
mov eax, ebx
sub eax, dword [edi + 0x20]
push eax
mov eax, dword [0x645d9c]
imul ecx, dword [eax + 0x20]
lea eax, [ebx - 0x2537]
sub eax, ebp
push ecx
push eax
mov eax, dword [esp + 0x38]
xor eax, 0x24db
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [0x645d9c]
mov edx, dword [esp + 0x10]
add esi, 4
mov eax, dword [ecx + 0x108]
add eax, dword [ecx + 0xac]
cmp esi, eax
jne 0x41b6a6
pop edi
pop esi
lea eax, [ebp - 0xbd]
pop ebp
pop ebx
pop ecx
ret

Function at 0x41b84f
Capabilities:
Set file attributes

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
push ebp
push esi
push edi
lea edi, [ecx - 0xcd]
lea esi, [ecx - 0x1f1]
lea ebp, [eax + 0x86]
lea ecx, [eax - 0x1d5]
mov dword [esp + 0x10], ebp
lea eax, [edi - 0x9c]
cmp dword [esp + 0x18], eax
je 0x41b8c4
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xdc], 0x13b21
jb 0x41b8a3
mov eax, dword [0x645d9c]
mov dword [eax + 0xdc], 0x2c57b
jmp 0x41b8fd
mov ecx, dword [eax + 0xf8]
mov eax, dword [eax + 0x90]
mov edx, dword [0x645d9c]
add eax, 0xffff2fb2
add eax, ecx
xor dword [edx + 0xdc], eax
jmp 0x41b8fd
push ebx
mov ebx, edi
and ebx, esi
add ebx, 0xffffdb3d
cmp esi, ebx
jl 0x41b8fc
or ebp, ecx
add ebp, 0x24c3
mov ecx, dword [esp + 0x28]
mov eax, edi
push ebp
sub eax, dword [ecx + 0x60]
sub eax, 0x2537
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esi, 2
cmp esi, ebx
jge 0x41b8db
mov ebp, dword [esp + 0x14]
pop ebx
pop edi
pop esi
lea eax, [ebp - 0x12]
pop ebp
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x1fbe6cd6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x601c0cba
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, ebx
nop
inc eax
mov eax, ebx
mov eax, ecx
mov eax, ebx
cmp eax, 0x52
nop
cmp eax, 0x4b
nop
inc eax
mov eax, 0x5f61127f
mov eax, 0x84dfc3c1
mov eax, ecx
inc eax
cmp eax, 0xa155ddf1
mov eax, ebx
mov eax, ecx
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
nop
mov eax, ecx
cmp eax, 0x2a7cb26f
inc eax
cmp eax, 0xdf8a82e8
mov eax, ebx
mov eax, ebx
cmp eax, 0xb242bbf7
inc eax
cmp eax, 0x4e
mov eax, ebx
mov eax, 0x6fb237a
mov eax, ebx
mov eax, ecx
nop
mov eax, ebx
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
inc eax
mov eax, ecx
cmp eax, 0x2b4696db
mov eax, ecx
cmp eax, 0xffffff91
mov eax, ebx
cmp eax, 0x51fba216
nop
mov eax, ecx
mov eax, ebx
inc eax
cmp eax, 0x75c79887
mov eax, 0xb71039a7
cmp eax, 0x6f
inc eax
nop
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, ecx
inc eax
mov eax, 0xefe5ef4c
cmp eax, 0xfffffffb
mov eax, 0xe6c86c16
mov eax, ebx
mov eax, 0xa9e2a4bd
nop
cmp eax, 0x7c189104
mov eax, ebx
cmp eax, 0x11
cmp eax, 0x19
cmp eax, 0xffffffe1
mov eax, ebx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
inc eax
cmp eax, 0x952ab8f8
mov eax, ecx
mov eax, 0x7ee5261b
nop
mov eax, ecx
mov eax, ecx
mov eax, ecx
cmp eax, 0x4b
inc eax
nop
inc eax
cmp eax, 0x71
mov eax, ebx
inc eax
cmp eax, 0xffffffdc
mov eax, ebx
mov eax, 0xc2a9d22b
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, ecx
mov eax, 0x4c0b8097
nop
cmp eax, 0x35793471
inc eax
mov eax, ecx
nop
inc eax
mov eax, ecx
mov eax, ecx
mov eax, 0xbd5a32eb
cmp eax, 0xffffffb5
mov eax, ebx
cmp eax, 0xffffffc5
mov eax, ebx
mov eax, ecx
cmp eax, 0xffffff92
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40ed00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x5e0470], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x5e046c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5e0470], edx
cmp eax, 0x26f
jl 0x40ed08
mov dword [0x564fb0], 0x270
ret

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

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x5e0474]
mov ebx, dword [eax*4 + 0x5e0470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5e0aa4]
mov dword [eax*4 + 0x5e0470], edx
cmp eax, 0xe2
jl 0x40ed48
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5e0474]
mov ebx, dword [eax*4 + 0x5e0470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5e00e4]
mov dword [eax*4 + 0x5e0470], edx
cmp eax, 0x26e
jl 0x40ed98
mov edx, dword [0x5e0470]
mov ecx, dword [0x5e0e2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x5e0aa0]
mov dword [0x5e0e2c], eax
mov dword [0x564fb0], 0
pop ebx
ret

Function at 0x40ee20
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x564fb0]
add dword [0x564fb0], 1
mov eax, dword [0x5df020]
cmp eax, dword [0x564700]
jne 0x40ee43
cmp ebx, 0x271
jb 0x40ee64
mov eax, dword [0x5df020]
call fcn.0040ed00
not dword [0x5df020]
mov eax, dword [0x5df020]
mov dword [0x564700], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40ee80
call fcn.0040ed40
xor ebx, ebx
mov dword [0x564fb0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x5e0470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x4109d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x564450]
cmp ax, 0xcb
je 0x410adc
cmp ax, 0xcc
je 0x410adc
lea esi, [esi]
mov edx, dword [0x5e1070]
test edx, edx
je 0x410a05
mov eax, dword [0x5e0f20]
call edx
mov ebx, eax
jmp 0x410a0a
mov ebx, 0x5e0f24
cmp word [0x5e0f10], 0
jle 0x410a30
mov eax, 0x5e0ef0
call fcn.00410c40
mov eax, ebx
call fcn.00410590
mov eax, ebx
call fcn.00410600
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x410a52
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x410a4d
mov edx, edi
mov eax, ebx
call fcn.0040fa00
jmp 0x410a50
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x410a38
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x5e0f10], 0
jle 0x410adc
mov edx, 0x5e0e30
mov eax, ebx
call fcn.0040fb40
mov edi, eax
test edi, edi
je 0x410aac
mov eax, dword [0x5e0ec4]
mov dword [edi + 0xc], eax
cmp dword [0x5e0ec4], 0
je 0x410aa0
mov eax, dword [0x5e0ec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x5e0ec4], eax
nop
sub word [0x5e0f10], 1
cmp word [0x5e0f10], 0
sete bl
mov eax, 0x5e0ef0
call fcn.00410c60
test bl, bl
je 0x410adc
mov eax, 0x5e0ef0
call fcn.00410c30
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x413310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004132f0
push ebp
push 0x414710
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x41343a
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b5d0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x41339f
mov edx, 0x5e02f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x4133f1
call sub.kernel32.dll_GetLastError
call fcn.00404000
lea eax, [ebp - 0x10]
call fcn.0040a1b0
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a650
mov edx, dword [ebp - 0x14]
mov ecx, 0x580368
lea eax, [ebp - 0x10]
call fcn.0040a4e0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040aea0
jmp 0x413488
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x41340a
cmp eax, ecx
je 0x413414
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040b5d0
cmp byte [0x5646d0], 0
jne 0x413488
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bb70
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040af30
lea esi, [esi]
jmp 0x413488
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b5d0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x41345e
mov eax, 0x5e02f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x5646d0], 0
jne 0x413488
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bb70
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040af30
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004132f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret