joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49da18
Capabilities:
Terminate process

Disassembly:
push esi
push esi
xor ecx, ecx
call fcn.0049db48
mov ebp, eax
mov ebx, 0x4e9054
mov ecx, dword [ebx + 0x2c]
call fcn.0049db48
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, esi
call fcn.0049dbc0
mov esi, dword [ebx + 0x3c]
mov ecx, eax
cmp dword [esi], 0
je 0x49da92
push ecx
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp]
movzx eax, al
cmp al, byte [esi]
je 0x49da7f
cmp al, byte [esi + 1]
jne 0x49db3d
call fcn.0049dbe0
cmp eax, dword [esi + 4]
je 0x49da92
cmp eax, dword [esi + 8]
jne 0x49db3d
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [ebx + 0x18]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov eax, dword [ebx + 0x1c]
test eax, eax
jbe 0x49dace
xor eax, eax
mov ecx, dword [ebx + 0x28]
mov esi, dword [ecx + eax]
mov dword [edx + eax], esi
mov edi, dword [ebx + 0x20]
add eax, edi
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
jb 0x49dab9
mov ecx, dword [esp + 4]
call fcn.0049dc00
mov edi, eax
test edi, edi
je 0x49db3d
lea esi, [esp]
push esi
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x1c]
push eax
push edx
push esi
call edi
mov edx, dword [ebx + 4]
add ebp, edx
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp + 4]
cmp eax, 8
jbe 0x49db17
push 8
pop eax
mov ecx, dword [ebp + eax]
add ecx, edx
mov dword [esi + eax], ecx
mov ecx, dword [ebx + 0x20]
add eax, ecx
mov ecx, dword [ebx + 0x40]
cmp eax, ecx
jb 0x49db02
mov edx, dword [ebx + 0x34]
lea eax, [esp]
push eax
mov dword [esi + 8], edx
push dword [esp + 4]
mov ecx, dword [ebx + 0x40]
push ecx
push esi
call edi
mov edx, dword [esi + 0xc]
add edx, esi
mov eax, dword [ebx]
add edx, eax
mov ebx, dword [ebx]
add esi, ebx
push esi
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x49da9a
Capabilities:
Terminate process

Disassembly:
push esi
push esi
xor ecx, ecx
call fcn.0049db48
mov ebp, eax
mov ebx, 0x4e9054
mov ecx, dword [ebx + 0x2c]
call fcn.0049db48
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, esi
call fcn.0049dbc0
mov esi, dword [ebx + 0x3c]
mov ecx, eax
cmp dword [esi], 0
je 0x49da92
push ecx
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp]
movzx eax, al
cmp al, byte [esi]
je 0x49da7f
cmp al, byte [esi + 1]
jne 0x49db3d
call fcn.0049dbe0
cmp eax, dword [esi + 4]
je 0x49da92
cmp eax, dword [esi + 8]
jne 0x49db3d
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [ebx + 0x18]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov eax, dword [ebx + 0x1c]
test eax, eax
jbe 0x49dace
xor eax, eax
mov ecx, dword [ebx + 0x28]
mov esi, dword [ecx + eax]
mov dword [edx + eax], esi
mov edi, dword [ebx + 0x20]
add eax, edi
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
jb 0x49dab9
mov ecx, dword [esp + 4]
call fcn.0049dc00
mov edi, eax
test edi, edi
je 0x49db3d
lea esi, [esp]
push esi
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x1c]
push eax
push edx
push esi
call edi
mov edx, dword [ebx + 4]
add ebp, edx
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp + 4]
cmp eax, 8
jbe 0x49db17
push 8
pop eax
mov ecx, dword [ebp + eax]
add ecx, edx
mov dword [esi + eax], ecx
mov ecx, dword [ebx + 0x20]
add eax, ecx
mov ecx, dword [ebx + 0x40]
cmp eax, ecx
jb 0x49db02
mov edx, dword [ebx + 0x34]
lea eax, [esp]
push eax
mov dword [esi + 8], edx
push dword [esp + 4]
mov ecx, dword [ebx + 0x40]
push ecx
push esi
call edi
mov edx, dword [esi + 0xc]
add edx, esi
mov eax, dword [ebx]
add edx, eax
mov ebx, dword [ebx]
add esi, ebx
push esi
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0xc
mov esi, ecx
mov dword [esp], edx
test esi, esi
je 0x49dc48
mov ebp, dword [esi + 0x3c]
mov eax, dword [ebp + esi + 0x78]
mov dword [esp + 8], eax
mov edx, dword [eax + esi + 0x18]
mov ebp, dword [eax + esi + 0x20]
add ebp, esi
mov dword [esp + 4], edx
test edx, edx
jbe 0x49dc48
xor ebx, ebx
mov ecx, dword [ebp + ebx*4]
add ecx, esi
mov edx, dword [esp]
call fcn.0049dc70
test al, al
jne 0x49dc4c
inc ebx
cmp ebx, dword [esp + 4]
jb 0x49dc2f
xor eax, eax
jmp 0x49dc65
mov eax, dword [esp + 8]
mov edx, dword [eax + esi + 0x24]
add edx, esi
mov ecx, dword [eax + esi + 0x1c]
add ecx, esi
movzx ebx, word [edx + ebx*2]
mov eax, dword [ecx + ebx*4]
add eax, esi
add esp, 0xc
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x49ea65
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov eax, dword [0x4e8008]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov dword [esp + 0x24], 0x544c5073
push 0xa
pop ebp
mov edi, ecx
mov byte [esp + 0x28], 0
cmp byte [ebx + 4], 8
lea eax, [esp + 0x10]
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx]
push 6
pop ecx
cmove ebp, ecx
mov ecx, edi
push eax
imul esi, ebp
call fcn.00497fa8
mov dword [esp + 0x18], eax
pop ecx
test eax, eax
je 0x49ebae
lea ecx, [esi + 2]
add ecx, eax
lea edx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0049cc01
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x14]
inc eax
push eax
call fcn.0049cbb5
push 1
lea edx, [ebx + 4]
mov ecx, edi
call fcn.0049cbb5
imul eax, dword [ebx + 0xc], 0xa
add esp, 0xc
mov esi, dword [ebx + 8]
add eax, esi
jmp 0x49eb94
cmp byte [ebx + 4], 8
jne 0x49eb29
mov al, byte [esi]
mov byte [esp + 0x18], al
mov al, byte [esi + 2]
mov byte [esp + 0x19], al
mov al, byte [esi + 4]
mov byte [esp + 0x1a], al
mov al, byte [esi + 6]
mov byte [esp + 0x1b], al
movzx ecx, word [esi + 8]
mov eax, ecx
mov byte [esp + 0x1d], cl
shr eax, 8
mov byte [esp + 0x1c], al
jmp 0x49eb7d
movzx ecx, word [esi]
mov eax, ecx
mov byte [esp + 0x19], cl
shr eax, 8
mov byte [esp + 0x18], al
movzx ecx, word [esi + 2]
mov eax, ecx
mov byte [esp + 0x1b], cl
shr eax, 8
mov byte [esp + 0x1a], al
movzx ecx, word [esi + 4]
mov eax, ecx
mov byte [esp + 0x1d], cl
shr eax, 8
mov byte [esp + 0x1c], al
movzx ecx, word [esi + 6]
mov eax, ecx
mov byte [esp + 0x1f], cl
shr eax, 8
mov byte [esp + 0x1e], al
movzx ecx, word [esi + 8]
mov eax, ecx
mov byte [esp + 0x21], cl
shr eax, 8
mov byte [esp + 0x20], al
push ebp
lea edx, [esp + 0x1c]
mov ecx, edi
call fcn.0049cbb5
imul eax, dword [ebx + 0xc], 0xa
add esi, 0xa
pop ecx
add eax, dword [ebx + 8]
cmp esi, eax
jb 0x49eaf5
mov ecx, edi
call fcn.0049cb62
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.004990e9
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00413912
add esp, 0x20
ret

Function at 0x49fd4b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0x100ac], ebx
je 0x49fda5
cmp dword [ebp + 0x7c], ebx
jbe 0x49fda5
mov edi, 0xffffff5c
lea eax, [ebp + 0x100d0]
lea esi, [ebp + 0xa4]
sub edi, ebp
mov ecx, eax
call fcn.004a160c
movzx ecx, byte [esi]
mov ebx, eax
mov edx, dword [ebp + 0x100dc]
push ecx
lea ecx, [ebp + 0x100d0]
call fcn.004a15c4
xor byte [esi], bl
inc esi
pop ecx
lea eax, [edi + esi]
cmp eax, dword [ebp + 0x7c]
lea eax, [ebp + 0x100d0]
jb 0x49fd73
xor ebx, ebx
mov edi, dword [ebp + 0x7c]
lea eax, [ebp + 0xa4]
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x1c]
call dword [0x4b25a8]
call esi
add esp, 0x10
mov dword [ebp + 0x7c], ebx
or ecx, 0xffffffff
mov edx, ebx
cmp eax, edi
cmovne edx, ecx
add dword [ebp + 0x100c0], edi
mov ecx, dword [ebp + 0x48]
mov eax, edx
adc dword [ebp + 0x100c4], ebx
add dword [ebp + 0x100c8], ecx
pop edi
adc dword [ebp + 0x100cc], ebx
pop esi
mov dword [ebp + 0x48], ebx
pop ebp
pop ebx
ret
Function at 0x4a15c4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
mov esi, dword [ebx]
mov eax, esi
xor eax, dword [esp + 0x10]
mov edx, dword [ebx + 8]
movzx eax, al
shr esi, 8
mov eax, dword [edi + eax*4]
xor eax, esi
mov dword [ebx], eax
movzx eax, al
add eax, dword [ebx + 4]
imul ecx, eax, 0x8088405
mov eax, dword [esp + 0x10]
inc ecx
mov dword [ebx + 4], ecx
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [edi + ecx*4]
pop edi
pop esi
mov dword [ebx + 8], edx
pop ebx
ret
Function at 0xdce09c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdce0a6
pushal
call 0xdce0ac
pop ebp
sub ebp, 0x10
sub ebp, 0x9ce09c
jmp 0xdce0c2
mov eax, 0x9ce09c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b3
mov edx, 0x28b38dc9
xor byte [eax], dl
inc eax
dec ecx
jne 0xdce0d9
jmp 0xdce0ec
inc edx
add al, 0x42
inc eax
cmc
leave
leave
leave
dec eax
or byte [ecx], dh
leave
leave
leave
retf 0x7104

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x1003fcce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0x10
push ebx
push esi
push edi
mov ebx, eax
mov esi, ecx
jb 0x1003fd58
mov ecx, dword [ebp + 0xc]
shr ecx, 4
lea eax, [esi + 0x44]
mov dword [ebp - 4], ecx
call fcn.1003f9c3
movzx edx, word [esi + 0x5a]
mov ecx, dword [esi + 0x50]
shl ecx, 0x10
xor edx, ecx
xor edx, dword [eax]
mov ecx, dword [ebp + 8]
xor edx, dword [ebx]
sub dword [ebp + 0xc], 0x10
mov dword [ecx], edx
movzx edx, word [esi + 0x62]
mov edi, dword [esi + 0x58]
shl edi, 0x10
xor edx, edi
xor edx, dword [ebx + 4]
add ecx, 0x10
xor edx, dword [esi + 0x4c]
add ebx, 0x10
mov dword [ecx - 0xc], edx
movzx edx, word [esi + 0x4a]
mov edi, dword [esi + 0x60]
shl edi, 0x10
xor edx, edi
xor edx, dword [ebx - 8]
mov dword [ebp + 8], ecx
xor edx, dword [esi + 0x54]
mov dword [ecx - 8], edx
movzx edx, word [esi + 0x52]
mov edi, dword [esi + 0x48]
shl edi, 0x10
xor edx, edi
xor edx, dword [ebx - 4]
xor edx, dword [esi + 0x5c]
dec dword [ebp - 4]
mov dword [ecx - 4], edx
jne 0x1003fced
cmp dword [ebp + 0xc], 0
je 0x1003fdd7
lea eax, [esi + 0x44]
call fcn.1003f9c3
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x50]
mov edi, ecx
mov eax, edx
shl eax, 0x10
shr edi, 0x10
xor eax, edi
xor eax, dword [esi + 0x44]
mov edi, dword [esi + 0x60]
mov dword [ebp - 0x14], eax
shl ecx, 0x10
mov eax, edi
shr eax, 0x10
xor eax, ecx
xor eax, dword [esi + 0x4c]
shl edi, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x48]
mov ecx, eax
shr ecx, 0x10
xor ecx, edi
xor ecx, dword [esi + 0x54]
shl eax, 0x10
shr edx, 0x10
xor eax, edx
xor eax, dword [esi + 0x5c]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
mov dword [ebp - 8], eax
jbe 0x1003fdd7
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov esi, ebx
sub esi, eax
sub edi, eax
lea eax, [ebp + ecx - 0x14]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, dword [ebp + 0xc]
mov byte [edi + eax], dl
jb 0x1003fdc5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10043346
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005ac10]
jne 0x10043350
repz ret
jmp fcn.1004358e

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 0x440130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.tJrdyPER
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x440152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x440159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x440148
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x44016b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x440160
jne 0x44017c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440160
xor ecx, ecx
sub eax, 3
jb 0x440190
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x440202
mov ebp, eax
add ebx, ebx
jne 0x44019b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4401a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4401cc
inc ecx
add ebx, ebx
jne 0x4401b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4401ad
jne 0x4401c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4401ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4401ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4401dd
jmp 0x44014e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4401ec
add edi, ecx
jmp 0x44014e
pop esi
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x440254
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4020c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x402b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x440209
push edi
pop ecx
jns 0x440238
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 + 0x402bc]
or eax, eax
je 0x44024e
mov dword [ebx], eax
add ebx, 4
jmp 0x440226
call dword [esi + 0x402b8]
mov ebp, dword [esi + 0x402c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x440288
sub esp, 0xffffff80
jmp section.NDltoTPW

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401011
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x401008
pushfd
pushal
call 0x401011
xor eax, eax
mov eax, esp
add eax, 4
xchg ebx, eax
mov esp, ebx
mov ebx, dword [ebx - 4]
sub ebx, 0x40903f
popal
popfd
jmp fcn.004d2f20
Function at 0x4018a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4338d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4434c0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4434c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402990
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.004017c0
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x40191d
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.00407bc4
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x401946
push dword [esp + 0x10]
call fcn.00407d02
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00407ad9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4339e0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4434c0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edx, str.Press_Space_to_pause_resume_mouse_movement.
mov ecx, 0x445c70
call fcn.00404970
push eax
call fcn.00404c20
add esp, 4
mov edx, str.Press_Esc_to_stop_mouse_movement.
mov ecx, 0x445c70
call fcn.00404970
push eax
call fcn.00404c20
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00407210
mov dword [esp + 0x14], vtable.._AV___LaunchPad_V___Bind__00XQ6AXXZ___V_std___std__.0
mov dword [esp + 0x24], 0x401d70
lea eax, [esp + 4]
mov dword [esp + 0x50], 0
push eax
lea ecx, [esp + 0x18]
call fcn.00407308
lea ecx, [esp + 0x14]
call fcn.00407281
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 1
call fcn.00407210
mov dword [esp + 0x2c], vtable.._AV___LaunchPad_V___Bind__00XQ6AXXZ___V_std___std__.0
mov dword [esp + 0x3c], 0x402090
lea eax, [esp + 0xc]
mov byte [esp + 0x50], 2
push eax
lea ecx, [esp + 0x30]
call fcn.00407308
lea ecx, [esp + 0x2c]
call fcn.00407281
mov byte [esp + 0x50], 3
cmp dword [esp + 8], 0
jne 0x402425
push 1
call fcn.004060bd
add esp, 4
cmp dword [esp + 8], 0
jne 0x402425
push 1
call fcn.004060bd
add esp, 4
call fcn.00405efe
push edx
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00405f4a
add esp, 0x10
test eax, eax
je 0x40244a
push 5
call fcn.004060bd
add esp, 4
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00405f5a
add esp, 0xc
test eax, eax
je 0x40246a
push 2
call fcn.004060bd
add esp, 4
cmp dword [esp + 0x10], 0
mov dword [esp + 8], 0
jne 0x402494
push 1
call fcn.004060bd
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x402494
push 1
call fcn.004060bd
add esp, 4
call fcn.00405efe
push edx
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.00405f4a
add esp, 0x10
test eax, eax
je 0x4024b9
push 5
call fcn.004060bd
add esp, 4
push 0
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.00405f5a
add esp, 0xc
test eax, eax
je 0x4024d9
push 2
call fcn.004060bd
add esp, 4
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 8], 0
mov dword [esp + 0x10], 0
je 0x4024f5
call fcn.00408453
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4053f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
dec ecx
nop
xor eax, eax
xor esi, esi
mov dword [ebp - 4], eax
test ecx, ecx
je 0x4054dc
nop
mov ecx, dword [ebx + 4]
dec ecx
shl esi, cl
add esi, esi
mov dword [ebp - 8], esi
jmp 0x405420
mov edi, dword [ebx]
mov eax, dword [edi]
cmp eax, 0x270
jne 0x40546c
lea eax, [edi + 8]
mov esi, 0x270
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
dec esi
jne 0x405433
jmp 0x40547a
cmp eax, 0x4e0
jb 0x40547a
mov ecx, edi
call fcn.00405600
mov eax, dword [edi]
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [ebx + 8]
ja 0x405420
mov esi, dword [ebp - 8]
mov ecx, dword [ebx + 4]
or esi, eax
mov eax, dword [ebp - 4]
dec ecx
shl eax, cl
mov ecx, dword [ebp + 8]
add eax, eax
or eax, dword [ebx + 8]
dec ecx
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x405410
xor edx, edx
div dword [ebp + 8]
mov ecx, eax
mov edi, edx
xor edx, edx
mov eax, esi
div dword [ebp + 8]
cmp eax, ecx
jb 0x4054fc
mov ecx, dword [ebp + 8]
dec ecx
cmp edi, ecx
jne 0x405400
mov eax, esi
xor edx, edx
div dword [ebp + 8]
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
xor eax, eax
mov ebx, ecx
push edi
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 4]
dec ecx
shl eax, cl
add eax, eax
mov dword [ebp - 8], eax
jmp 0x405530
mov edi, dword [ebx]
mov eax, dword [edi]
cmp eax, 0x270
jne 0x40557c
lea eax, [edi + 8]
mov esi, 0x270
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
dec esi
jne 0x405543
jmp 0x40558a
cmp eax, 0x4e0
jb 0x40558a
mov ecx, edi
call fcn.00405600
mov eax, dword [edi]
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [ebx + 8]
ja 0x405530
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add edx, dword [ebx + 4]
or eax, ecx
mov dword [ebp - 4], edx
cmp edx, 0x20
jb 0x405520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret