joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401710
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x423568]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 1
push 0xa
mov esi, ecx
call fcn.0040961a
mov ecx, esi
add esp, 8
add eax, 8
mov dword [ebp - 8], eax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401740
sub ecx, edx
sar ecx, 1
push ebx
push ecx
lea ecx, [ebp - 8]
call fcn.00401e70
mov edi, dword [ebp - 8]
mov eax, dword [edi - 8]
lea eax, [eax*2 + 2]
push eax
push esi
push edi
call fcn.00407900
add esp, 0xc
cmp dword [edi - 8], 4
push 1
push 0xa
jg 0x4017a9
call fcn.0040961a
add esp, 8
lea ecx, [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
push dword [edi - 8]
call fcn.00401e70
mov eax, dword [edi - 8]
mov esi, dword [ebp - 0xc]
add eax, eax
push eax
push edi
push esi
call fcn.00407900
add esp, 0xc
jmp 0x401805
call fcn.0040961a
add esp, 8
lea ecx, [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
push 4
call fcn.00401e70
mov esi, dword [ebp - 0xc]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
push 1
mov dword [esi], eax
push 0xa
mov dword [esi + 4], ecx
call fcn.0040961a
add esp, 8
lea ebx, [esi - 8]
add eax, 8
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
push dword [ebx]
call fcn.00401e70
mov eax, dword [ebx]
add eax, eax
push eax
push esi
mov esi, dword [ebp - 0xc]
push esi
call fcn.00407900
push ebx
call fcn.00409bd0
add esp, 0x10
mov ecx, 0x419300
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401836
test dx, dx
je 0x401832
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401836
add eax, 4
add ecx, 4
test dx, dx
jne 0x401810
xor ebx, ebx
jmp 0x40183b
sbb ebx, ebx
or ebx, 1
test esi, esi
je 0x40184b
add esi, 0xfffffff8
push esi
call fcn.00409bd0
add esp, 4
test ebx, ebx
je 0x4018b8
push 1
push 0xa
call fcn.0040961a
add eax, 8
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
add esp, 8
mov eax, dword [edi - 8]
add eax, 4
push eax
call fcn.00401e70
mov esi, dword [ebp - 0xc]
mov dword [esi], 0x5c005c
mov dword [esi + 4], 0x5c003f
mov eax, dword [edi - 8]
add eax, eax
push eax
lea eax, [esi + 8]
push edi
push eax
call fcn.00407900
add esp, 0xc
lea ebx, [esi - 8]
lea ecx, [ebp - 8]
push dword [ebx]
call fcn.00401e70
mov eax, dword [ebx]
mov edi, dword [ebp - 8]
add eax, eax
push eax
push esi
push edi
call fcn.00407900
push ebx
call fcn.00409bd0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
pop ebx
test edi, edi
je 0x4018d2
add edi, 0xfffffff8
push edi
call fcn.00409bd0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004065da
mov esp, ebp
pop ebp
ret
Function at 0x4038b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x423568]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
push 0xa
call fcn.0040961a
add esp, 8
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
add eax, 8
mov dword [ebp - 8], eax
push 0
push dword [0x424ca0]
push 0x3e9
push dword [0x424cb4]
push 0x12c
push 0x2bc
push 0
push 0
push 0x50000000
push 0
push str.STATIC
push 0
call ebx
push 0
push dword [0x424ca0]
push 0x3e8
push dword [0x424cb4]
push 0x64
push 0x244
push 0xa
push 0xa
push 0x50000007
push 0
push str.STATIC
push 0
call ebx
push 0x23
lea ecx, [ebp - 8]
call fcn.00401e70
mov esi, dword [ebp - 8]
mov eax, dword [esi - 8]
lea eax, [eax*2 + 2]
push eax
push str.ARE_YOU_SURE_YOU_WANT_TO_UNINSTALL_
push esi
call fcn.00407900
add esp, 0xc
push 0
push dword [0x424ca0]
push 0x3ef
push dword [0x424cb4]
push 0x19
push 0x21c
push 0x1e
push 0x1e
push 0x50000001
push 0
push str.STATIC
push 0
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0xc
push eax
mov dword [0x424cb0], eax
call edi
push 0
push dword [0x424ca0]
push 0x3f3
push dword [0x424cb4]
push 0x19
push 0x21c
push 0x46
push 0x1e
push 0x50000000
push 0
push str.msctls_progress32
push 0
call ebx
mov dword [0x424ca4], eax
push 0x3e80000
push 0
push 0x401
push eax
call edi
push 0
push dword [0x424ca0]
push 0x3f4
push dword [0x424cb4]
push 0x20
push 0x64
push 0x78
push 0x1ea
push 0x50010000
push str.CANCEL
push str.BUTTON
push 0
call ebx
push 0
push dword [0x424ca0]
mov dword [0x424cdc], eax
push 0x3f5
push dword [0x424cb4]
push 0x20
push 0x64
push 0x78
push 0x172
push 0x50010001
push str.UNINSTALL
push str.BUTTON
push 0
call ebx
push 5
push dword [0x424cb4]
mov dword [0x424cb8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
je 0x403a6d
lea eax, [esi - 8]
push eax
call fcn.00409bd0
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004065da
mov esp, ebp
pop ebp
ret
Function at 0x40701d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40705c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40705c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40705c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40705c
cmp dword [ecx + 0x74], 0xe
jbe 0x40705c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40bef1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415f64
push 0x415f5c
push str.FlsAlloc
push 0x1e
call fcn.0040be2e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bf25
push dword [ebp + 8]
mov ecx, esi
call dword [0x413194]
call esi
jmp 0x40bf2b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40bf6f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415f74
push 0x415f6c
push str.FlsGetValue
push 0x20
call fcn.0040be2e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bfa6
push dword [ebp + 8]
mov ecx, esi
call dword [0x413194]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40cbfa
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x423568]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40cc45
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040cd99
test al, al
jne 0x40cc3f
sub edx, 2
cmp edx, edi
jne 0x40cc25
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40cc67
lea eax, [edi + 2]
cmp edx, eax
je 0x40cc67
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040cb46
add esp, 0x10
jmp 0x40cd61
push esi
lea ecx, [ebp - 0x255]
call fcn.0040cd99
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ccaa
push dword [ebp - 0x25c]
jmp 0x40cc57
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40cce7
cmp word [ebp - 0x226], 0
je 0x40cd08
cmp word [ebp - 0x226], ax
jne 0x40cce7
cmp word [ebp - 0x224], 0
je 0x40cd08
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040cb46
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40cd54
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40ccc1
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40cd3c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40cd61
push 0x40c976
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040f860
add esp, 0x10
jmp 0x40cd31
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004065da
leave
ret
Function at 0x4121f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41221d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41221d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x48e8d0
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 1
mov dword [esp + 8], ebx
pop ebx
jmp fcn.0048e2a0
Function at 0x49de40
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x49de78
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x49de6e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x49de7a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x49de60
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x413de0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x413e02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413e09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413df8
mov eax, 1
add ebx, ebx
jne 0x413e1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413e10
jne 0x413e2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413e10
xor ecx, ecx
sub eax, 3
jb 0x413e40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x413eb2
mov ebp, eax
add ebx, ebx
jne 0x413e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x413e58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x413e7c
inc ecx
add ebx, ebx
jne 0x413e68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x413e5d
jne 0x413e79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413e5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x413e9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x413e8d
jmp 0x413dfe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x413e9c
add edi, ecx
jmp 0x413dfe
pop esi
mov edi, esi
mov ecx, 0x210
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x413eba
cmp byte [edi], 5
jne 0x413eba
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 0x413ebf
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x413f2e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13b14]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13bc8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x413eec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13bcc]
or eax, eax
je 0x413f28
mov dword [ebx], eax
add ebx, 4
jmp 0x413f09
call dword [esi + 0x13bdc]
mov ebp, dword [esi + 0x13bd0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x413f62
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x4f6a4f34
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x6d29552c
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40c78d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
jmp 0x40c7d4
mov ecx, ebx
clc
nop
nop
cld
jae 0x40d7e2
add byte [eax], al
add byte [edx], bh
mov byte [0x70370d], al
mov ebp, esi
Function at 0x403e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2428
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x4fe514
mov byte [ebp - 0x10], bl
call fcn.00404340
mov dword [ebp - 4], ebx
mov eax, dword [0x4fe410]
cmp eax, ebx
jne 0x403ec2
push 0x18
call fcn.00485951
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x403ebb
push ebx
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 1
push ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call dword [0x4be090]
push ebx
push ebx
push esi
push 0x403d20
push ebx
push ebx
mov dword [esi + 4], eax
call fcn.00486312
mov dword [esi], eax
add esp, 0x18
mov eax, esi
jmp 0x403ebd
xor eax, eax
mov dword [0x4fe410], eax
mov dword [ebp - 4], 0xffffffff
mov esi, eax
cmp byte [ebp - 0x10], bl
je 0x403f03
mov eax, dword [ebp - 0x14]
mov ecx, 0x80000000
mov edx, eax
lock xadd dword [edx], ecx
test ecx, 0x40000000
jne 0x403f03
cmp ecx, 0x80000000
jle 0x403f03
mov ecx, eax
lock bts dword [ecx], 0x1e
jb 0x403f03
call fcn.00405f80
push eax
call dword [0x4be088]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4046b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ada90
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00485ce4
mov dword [ebp - 4], 0
mov dword [esi], 0x4c2488
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.00406080
mov dword [esi], 0x4c3ac8
mov dword [ebp - 4], 1
mov dword [esi + 0x30], 0x4c2344
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x404742
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], 0x4c3a3c
mov dword [esi + 0x30], 0x4c3a48
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x404c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae728
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00485ce4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], 0x4c2488
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.00406080
mov dword [esi + 0x30], 0x4c2344
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], 0x4c3a3c
mov dword [esi + 0x30], 0x4c3a48
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4051a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ada28
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00485ce4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], 0x4c2488
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.00406080
mov dword [esi + 0x30], 0x4c2344
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], 0x4c24b4
mov dword [esi + 0x30], 0x4c24ac
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4057c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad980
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00485ce4
mov dword [ebp - 4], 0
mov dword [esi], 0x4c2488
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.00406080
mov dword [esi], 0x4c24a0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], 0x4c2344
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x405852
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], 0x4c24b4
mov dword [esi + 0x30], 0x4c24ac
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40a0e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x40a104
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485642
mov esp, ebp
pop ebp
ret
xor ecx, ecx
lea eax, [esi + esi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004845e7
add esp, 4
xor ecx, ecx
test esi, esi
je 0x40a186
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x62613938
mov dword [ebp - 8], 0x66656463
mov dword [ebp - 0x24], 0x33323130
mov dword [ebp - 0x20], 0x37363534
mov dword [ebp - 0x1c], 0x62613938
mov dword [ebp - 0x18], 0x66656463
nop
movzx edx, byte [ecx + edi]
shr edx, 4
movzx edx, byte [ebp + edx - 0x14]
mov word [eax + ecx*4], dx
movzx edx, byte [ecx + edi]
and edx, 0xf
movzx edx, byte [ebp + edx - 0x24]
mov word [eax + ecx*4 + 2], dx
inc ecx
cmp ecx, esi
jb 0x40a160
xor ecx, ecx
mov dword [eax + esi*4], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485642
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov dword [eax], 0x1571
mov dword [eax + 0x9c0], 1
push ebx
mov ecx, dword [eax + 0x9c0]
mov edx, dword [eax + ecx*4 - 4]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, ecx
mov dword [eax + ecx*4], ebx
inc dword [eax + 0x9c0]
cmp dword [eax + 0x9c0], 0x270
jb 0x40cdc1
pop ebx
ret
Function at 0x40cee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b2078
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4ed4e0]
xor eax, esp
mov dword [esp + 0x28], eax
push edi
mov eax, dword [0x4ed4e0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0x4c4834
push 0x4c4838
mov dword [esp + 0x30], 5
call fcn.00487ebb
add esp, 8
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
cmp eax, 5
jl 0x40cf5b
lea edi, [esp + 0x14]
call fcn.00418030
xor eax, eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + eax*4 + 0x14]
inc eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
push edx
xor eax, eax
push eax
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0040fc30
add esp, 0x10
test dword [esi], 0x80000000
mov dword [esi + 0x9c0], 0x270
jne 0x40cfa9
mov eax, 1
cmp dword [esi + eax*4], 0
jne 0x40cfa9
inc eax
cmp eax, 0x270
jb 0x40cf95
mov dword [esi], 0x80000000
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40cfba
push eax
call fcn.00487f86
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00485642
mov esp, ebp
pop ebp
ret
Function at 0x416540
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab47b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x4c4904
call fcn.00484b37
push 4
mov dword [ebp - 4], 0
call fcn.00485951
mov edi, eax
add esp, 4
test edi, edi
je 0x4165bc
call fcn.004849ff
mov dword [edi], eax
call fcn.004847be
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0048464c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4165b2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00484674
jmp 0x4165be
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4