joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e9cc3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5e9d61
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5e9d61
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5e9d61
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5e9d61
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0x50]
mov dword [ebp - 8], ebx
push edi
push 4
push 0x2000
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d3aa3]
pop edi
test eax, eax
jne 0x5e9d54
push edi
push 4
push 0x2000
push dword [ebp - 8]
push 0
call dword [edi + 0x122d3aa3]
pop edi
test eax, eax
je 0x5e9d61
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5e9de6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e9e92
push ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jae 0x5e9e27
mov ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
push ecx
push edi
push 4
push 0x1000
push dword [ebp - 4]
push eax
call dword [edi + 0x122d3aa3]
pop edi
pop ecx
test eax, eax
je 0x5e9e85
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5e9e65
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
cmp dword [eax + 4], 0
je 0x5e9e7a
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e9e0e
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x5e9e99
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5ea0b3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5ea12d
push ecx
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x24]
push edx
call fcn.005ea058
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d1c9d]
pop edi
test eax, eax
jne 0x5ea123
pop ecx
jmp 0x5ea134
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5ea0dc
mov dword [ebp - 0x18], 1
popal
mov eax, dword [ebp - 0x18]
leave
ret 4
Function at 0x5ea2da
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x5ea42e
cmp dword [ebp + 0xc], 0
jne 0x5ea42e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x5ea321
sub eax, dword [ebp + 0x10]
js 0x5ea42e
je 0x5ea42e
cmp eax, dword [ebp + 0x14]
jl 0x5ea42e
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5ea42e
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5ea42e
mov ebx, dword [eax + 0x50]
push edi
push 4
push 0x1000
push ebx
push 0
call dword [edi + 0x122d3aa3]
pop edi
test eax, eax
je 0x5ea42e
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
pop ebx
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124ae691]
push eax
call fcn.005e9342
pop edi
test eax, eax
je 0x5ea42e
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124ae695]
push eax
call fcn.005e9342
pop edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xc], eax
push edi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 4]
rep movsb byte es:[edi], byte [esi]
pop edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5ea421
push ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
test eax, eax
je 0x5ea42e
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5ea40e
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5ea3dc
push dword [ebp + 8]
call fcn.005eb1d0
jmp 0x5ea435
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
leave
ret 0x14
Function at 0x5ea7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5ea8af
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5ea8af
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5ea85b
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5ea8af
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x124ae7f1]
pop edi
pop ecx
test eax, eax
jne 0x5ea814
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5ea861
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5ea8af
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5ea8af
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5ea8af
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5ea8af
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005ea709
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x64b5e2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 8], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0x64b724
push esi
push edi
push 0
push 0
push ebx
push 0x1000a690
push 0
push 0
call fcn.00657ddb
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0x64b70e
mov eax, dword [ebx + 0x68]
lea esi, [ebx + 0x64]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x64b698
mov edx, dword [esi]
cmp edx, ecx
ja 0x64b698
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0x64b688
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x64b704
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x64b688
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x64b677
xor ecx, ecx
jmp 0x64b679
add ecx, edx
cmp ecx, eax
jae 0x64b67f
mov ecx, eax
push ecx
call fcn.0064e432
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x64b6e4
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0x64b6e4
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x64b6db
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x64b704
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x64b6db
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x64b6ca
xor ecx, ecx
jmp 0x64b6cc
add ecx, edx
cmp ecx, eax
jae 0x64b6d2
mov ecx, eax
push ecx
call fcn.0064e432
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x64b6e4
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 8]
jb 0x64b606
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x100221f8
call fcn.0065765c
call dword [0x10020050]
pop edi
mov dword [ebx + 0x50], 8
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x64fd62
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 8], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0x64fea4
push esi
push edi
push 0
push 0
push ebx
push 0x1000f0c0
push 0
push 0
call fcn.00657ddb
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0x64fe8e
mov eax, dword [ebx + 0x60]
lea esi, [ebx + 0x5c]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x64fe18
mov edx, dword [esi]
cmp edx, ecx
ja 0x64fe18
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0x64fe08
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x64fe84
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x64fe08
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x64fdf7
xor ecx, ecx
jmp 0x64fdf9
add ecx, edx
cmp ecx, eax
jae 0x64fdff
mov ecx, eax
push ecx
call fcn.0064e432
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x64fe64
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0x64fe64
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x64fe5b
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x64fe84
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x64fe5b
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x64fe4a
xor ecx, ecx
jmp 0x64fe4c
add ecx, edx
cmp ecx, eax
jae 0x64fe52
mov ecx, eax
push ecx
call fcn.0064e432
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x64fe64
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 8]
jb 0x64fd86
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x100221f8
call fcn.0065765c
call dword [0x10020050]
pop edi
mov dword [ebx + 0x58], 8
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x653902
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x28], 0
mov eax, 1
jbe 0x653937
cmp dword [esi + 0x2c], 0
jbe 0x653937
lea eax, [esi + 0x3c]
push eax
push 0
push esi
push 0x10011540
push 0
push 0
call fcn.00657ddb
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esi + 0x34], eax
mov eax, ecx
ret
Function at 0x654382
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 8], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0x6544c4
push esi
push edi
push 0
push 0
push ebx
push 0x10013850
push 0
push 0
call fcn.00657ddb
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0x6544ae
mov eax, dword [ebx + 0x54]
lea esi, [ebx + 0x50]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x654438
mov edx, dword [esi]
cmp edx, ecx
ja 0x654438
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0x654428
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x6544a4
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x654428
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x654417
xor ecx, ecx
jmp 0x654419
add ecx, edx
cmp ecx, eax
jae 0x65441f
mov ecx, eax
push ecx
call fcn.0064e432
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x654484
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0x654484
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x65447b
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x6544a4
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x65447b
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x65446a
xor ecx, ecx
jmp 0x65446c
add ecx, edx
cmp ecx, eax
jae 0x654472
mov ecx, eax
push ecx
call fcn.0064e432
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x654484
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 8]
jb 0x6543a6
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x100221f8
call fcn.0065765c
call dword [0x10020050]
pop edi
mov dword [ebx + 0x48], 8
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x6544d2
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x28], 0
mov eax, 1
jbe 0x654505
cmp dword [esi + 0x2c], 0
jbe 0x654505
push 0
push 0
push esi
push 0x100144a0
push 0
push 0
call fcn.00657ddb
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esi + 0x4c], eax
mov eax, ecx
ret
Function at 0xb2411b
Capabilities:
Reference http user-agent string

Disassembly:
call fcn.00b24106
jmp 0xb24fec
push eax
jmp 0xb25008
call fcn.00b0edac
jmp 0xb24101

Function at 0xb25045
Capabilities:
Reference http user-agent string

Disassembly:
mov dword [esp + 0x24], eax
jmp 0xb25202
jmp 0xb25039
call 0xb24171
jmp 0xb250d2
lea ecx, [eax + ebp]
mov ecx, dword [esp]
call 0xb25045
pop word cs:[esp]
mov byte [esp], dl
lea esp, [esp + 2]
jmp 0xb25082
lea esp, [esp + 4]
sub ecx, 0x1001943e
mov dword [ecx + reloc.MSVCRT.dll_strncpy], eax
push ebp
jmp 0xb25150
mov ah, 0xd3
lcall 0x2444, 0xff093ed7
or cl, ch
retf
inc dword [esp + 8]
jmp 0xb25182
cmp ebx, 0x4682016d
je 0xb25128
jne 0xb240ee
pop eax
sub eax, 0x7580a33c
jmp 0xb250f0
jne 0xb250ae
pushal
jmp 0xb2416c
call 0xb25100
push ebp
push ebx
inc ebp
push edx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add bl, ch
and eax, 0x61f17e
inc ebp
jo 0xb250a6
cmp dword [esp + 4], 0
jmp 0xb250e8
nop
retf 0x7eae
mov ebp, eax
movzx ebx, byte [ebp]
pop ebp
add ebx, 0x468200a1
jmp 0xb250c4
popfd
ret
popal
popfd
ret

Function at 0xc15138
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xc15180
std
pushfd
setb bh
mov byte [esp + 3], al
push word [esp]
xchg ebp, eax
jmp 0xc1516a

Function at 0xc15783
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [esp + 0xc], bl
xchg edx, edi
mov di, word [esp + 0xc]
sub esp, 0x1a
jmp 0xc15757
add esp, 6
bswap eax
push dword [esp + 1]
not cx
xchg word [esp + 0xa], dx
mov ah, dh
jmp 0xc1572c
bt ecx, edi
xchg ebp, ecx
std
xchg byte [esp + 0x14], bl
rdtsc
std
jmp 0xc1576a
mov ch, byte [esp + 0x13]
neg edx
lea esp, [esp + 0xb]
xchg dx, di
mov bp, 0x936
jmp 0xc1586f
cld
setb bh
push dword [esp + 4]
pop word [esp + 5]
sub esp, 0xf
jmp 0xc15742
std
lea esi, reloc.MSVCRT.dll_strncpy
not cx
push dword [esp + 1]
call fcn.00c1582c
int1
adc dword [ebx], 0x76
test dword [eax - 0x37], ebp
inc esp
fidivr dword [ebp - 0x748e50b4]
jl 0xc157dc
mov edi, dword [esp + 0xd]
rdtsc
stc
push esp
or eax, 0x54f9310f
pop word [esp + 0xd]
push si
jmp 0xc15795
bt eax, edx
lea esp, [esp + 0x13]
setb dl
dec ebx
cld
stc
jmp 0xc157b5

Function at 0xc17abd
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.00c170d4
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0xc170cf
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xc179c2
lea esp, [esp + 2]
mov dword [esp + 0x34], edi
lea esp, [esp + 0x34]
jmp 0xc17a2f
Function at 0x42139c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x42139c
lcall 0x5de5, 0x8b10c483
jmp loc.0086d4e8

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

Disassembly:
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x657b4d27
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x17955467
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x387a65f7
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2f1f5577
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403af0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.00412b70
mov eax, dword [0x4600a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x4494a8]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x3ffe
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push 0
push eax
call fcn.00424a90
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x403bf3
test edi, edi
je 0x403bf3
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x403bf3
cmp eax, 0x3fff
ja 0x403bf3
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x403bf3
lea eax, [ebp - 0x400c]
push eax
lea eax, [ebp - 0x4010]
push eax
push 0x44a528
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x403bf3
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.00424a90
mov ecx, dword [ebp - 0x4010]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.004040e0
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00412b5d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00412b5d
mov esp, ebp
pop ebp
ret

Function at 0x404170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4600a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4041f7
test ebx, ebx
je 0x4041f7
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4041f7
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4041f7
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4041f1
push esi
push ebx
push edi
call fcn.00423f90
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4041f1
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00412b5d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412b5d
mov esp, ebp
pop ebp
ret
Function at 0x404210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404269
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404269
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40425a
cmp esi, edx
jae 0x404269
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404248
cmp esi, edx
jae 0x404269
cmp word [esi], 0
je 0x404269
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x406cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445d18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4600a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00412885
mov edi, eax
add esp, 4
test edi, edi
je 0x406d93
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0040c5e9
add esp, 4
mov dword [edi + 4], eax
jmp 0x406d95
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.00401790
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx edi, ax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x406df5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x406df5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], di
jne 0x406e19
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x406e3b
cmp byte [ebp + 0xc], 0
je 0x406e28
push esi
call fcn.0040cbd3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x406e47
mov esi, str.ios_base::badbit_set
jmp 0x406e57
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00406e80
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00402400
push 0x45bb40
lea eax, [ebp - 0x30]
push eax
call fcn.00423b69
int3