joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434be0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x434ccb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x434c17
cmp dword [esi + 0x40], edi
jae 0x434c17
push eax
call fcn.00434f5c
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x434c2f
lea eax, [edi + edi]
push eax
call fcn.00434f51
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.0045c490
add esp, 0xc
xor ebx, ebx
test edi, edi
jbe 0x434cc8
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e8ee8]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4e8ee8]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x434c47
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x434d0a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x434cef
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.0045c490
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x434d2c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x4c42f8]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46b4c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x46b4d5
xor eax, eax
jmp 0x46b54a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x46b502
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x46b545
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x46b543
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x46b53f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x46b543
xor eax, eax
jmp 0x46b54a
jmp 0x46b4f9
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x46bfa0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046a820
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [0x500568], 0
jne 0x46bfdd
cmp dword [0x500564], 0
je 0x46bfdd
mov eax, dword [0x500564]
mov dword [0x500568], eax
cmp dword [0x500568], 0
je 0x46c05a
mov ecx, dword [0x500568]
cmp dword [ecx + 8], 0
je 0x46c05a
mov edx, dword [0x500568]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 8]
jb 0x46c05a
mov ecx, dword [0x500568]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x46c05a
mov eax, dword [0x500568]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jb 0x46c029
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x46c030
xor eax, eax
jmp 0x46c17d
mov ecx, dword [0x500568]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00456760
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x46c17d
mov edx, dword [0x500564]
mov dword [0x500568], edx
jmp 0x46c076
mov eax, dword [0x500568]
mov ecx, dword [eax + 4]
mov dword [0x500568], ecx
cmp dword [0x500568], 0
je 0x46c0b6
cmp dword [0x500568], 0
je 0x46c0b4
mov edx, dword [0x500568]
cmp dword [edx + 8], 0
je 0x46c0b4
mov eax, dword [0x500568]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jb 0x46c0b4
mov edx, dword [0x500568]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x46c0b4
jmp 0x46c00e
jmp 0x46c068
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046a900
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46c17b
mov eax, dword [ebp - 4]
mov dword [0x500568], eax
mov ecx, dword [0x500568]
mov dword [ecx], 0x52727464
mov edx, dword [0x500568]
mov dword [edx + 8], 0
mov eax, dword [0x500568]
mov ecx, dword [0x500564]
mov dword [eax + 4], ecx
mov edx, dword [0x500568]
mov dword [0x500564], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x500568]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x38c
jmp 0x46c147
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 1
jle 0x46c16b
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
jmp 0x46c13e
mov eax, dword [0x500568]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x46c00e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x46ee40
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.00456760
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret

Function at 0x4742f0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.00456760
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x4a6fd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4a6fe9
mov esi, edi
mov edi, eax
jmp 0x4a6feb
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x4a6ffb
mov eax, ebx
jmp 0x4a7005
push eax
push ebx
call fcn.0046f120
add esp, 8
test eax, eax
jne 0x4a700d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x4a7029
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4a7014
cmp eax, dword [esi + 4]
jge 0x4a7040
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x4a7030
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x4a7061
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4a705e
dec eax
test eax, eax
jg 0x4a7050
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4b84a0
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x4b84c0
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret
Function at 0x4baa30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ecx, dword [esp + 0x1c]
cmp ecx, 0
je 0x4babed
call fcn.004baa46
Function at 0x50fc80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x50fd8c
test eax, eax
je 0x50fd8c
push esi
push edi
mov ecx, 0x10
mov esi, 0x52aff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x50fd73
lea edi, [eax + 4]
jmp 0x50fcd7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x50fcec
mov dword [ebp - 4], 2
jmp 0x50fd0d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x50fd03
mov dword [ebp - 4], 1
jmp 0x50fd0d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x50fd83
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x50fd46
mov byte [ecx], 0x3d
jmp 0x50fd52
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x50fd5d
mov byte [ecx], 0x3d
jmp 0x50fd63
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x50fcd4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x61e4c1
Capabilities:
Encode data using xor

Disassembly:
call fcn.00790664
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
not dx
setno bh
jmp 0x760fa8
xor eax, ebp
mov dword [ebp - 4], eax
test dl, ch
push ebx
shr bx, cl
bt bx, di
push esi
clc
not bh
push edi
mov edi, edx
sal ebx, 0x7b
add bh, 0x66
xor eax, eax
not ebx
mov esi, ecx
lea ebx, [eax + 7]
cmovo ecx, esp
mov ecx, edi
jmp 0x775da2
push ebp
mov ebp, esp
bts ax, cx
bt eax, ebp
sub esp, 0x120
rcr ah, 0xed
bsf eax, ebx
mov eax, dword [0x4f85e8]
jmp 0x5e9704
lea edi, [ebp - 0x14]
jmp 0x796876
call fcn.004bb340
lea esp, [esp + 0xc]
mov bl, 1
cmp cx, bp
test eax, eax
jmp loc.00421cc1
push ebx
mov byte [ebp - 0x25], 0
jmp 0x6ad5f4
call fcn.0042fbd0
lea ecx, [ebp - 0x120]
jmp 0x6fa2bc
push ecx
jmp 0x786d45
mov edx, dword [edi + 0x10]
mov bx, sp
seta bh
movzx bx, dl
lea ebx, [edi + 8]
xchg edi, edi
mov edi, 0x59b73865
movsx edi, bx
mov dword [ebp - 0x14], eax
cwde
movsx ax, dl
mov eax, dword [ebx + 0xc]
mov dword [ebp - 8], eax
movsx eax, si
mov eax, 0x10
jmp 0x65c425
mov dword [ebp - 0x2c], edi
jmp 0x5bc46b
push pe_nt_image_headers32
jmp 0x6d274d
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
jmp 0x6d6d07
Function at 0x7163a8
Capabilities:
Encode data using base64
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 0x1ad1], 0x4c
jmp 0x701923
mov byte [esp + 0x1ad3], 0x53
jmp 0x71e870
mov byte [esp + 0x1ad2], 0x41
jmp 0x63bf67
push 0x3d0ac691
call fcn.005cf4a6
call fcn.00454544
mov ecx, dword [esp + 0x14]
xchg edx, edx
and dl, 0xf
cmovo edx, esi
mov edx, dword [ecx + 0x84]
add esp, 4
xchg ecx, ecx
movsx ecx, di
push edi
cmovnp cx, bp
not ch
push 1
movzx ecx, di
jmp 0x730928
mov byte [esp + 0x1ad6], 0x53
mov byte [esp + 0x1ad7], 0x45
mov byte [esp + 0x1ad8], 0x52
jmp loc.0041f231
mov byte [esp + 0x1ad4], 0x54
jmp 0x7258a7
mov byte [esp + 0x1ad0], 0x3c
jmp 0x561687
mov byte [esp + 0x1ad5], 0x5f
jmp 0x71c3a8
lea ecx, [esp + 0x1188]
mov dword [edx + 0xc00], eax
jmp 0x7361d0
mov byte [esp + 0x1bf8], 6
call fcn.00405690
lea eax, [esp + 0x1acc]
bswap cx
setle ch
push eax
lea ecx, [esp + 0xee4]
jmp 0x723cd7

Function at 0x738b74
Capabilities:
Encode data using base64

Disassembly:
push 0x644bc2
call fcn.00766de5
not cl
Function at 0x773390
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push edx
call fcn.00428ff0
mov edx, 0x503df8
jmp 0x5ef031
push eax
jmp 0x757187
mov dword [ebp - 0x10], eax
jmp 0x6e70e2
call dword [0x4c45b0]
call fcn.0073f3d1
push 6
mov edi, 0x78b157da
jmp 0x730e55
call fcn.00420c91
test eax, eax
jmp 0x6fae44
push eax
jmp 0x5776fa
push esi
cmp bl, ch
push edi
stc
push eax
btc ax, 0x7c
cmc
lea eax, [ebp - 0xc]
jmp 0x5f68dd
mov dword [ebp - 4], edi
jmp 0x7227a1
mov dword fs:[0], eax
bts ax, bp
btc eax, 0x99
mov eax, dword [0x503df0]
xor edi, edi
jmp 0x79b6f7
call fcn.00451edd
mov esp, ebp
pop ebp
jmp 0x77dd16
call fcn.00402980
mov ecx, dword [0x5027d0]
test cl, 0x72
cmc
test bp, dx
add esp, 8
push edi
jmp 0x6ba38f
jne 0x6f0e92
push 0xa00000
jmp 0x78349b
push ecx
jmp 0x5747d9
push edi
push 0x4c8
jmp 0x663b82
push ebx
test bp, cx
jmp 0x5be2bc
xor eax, ebp
jmp 0x543b77
lea edx, [ebp - 0xf20]
jmp 0x53ab7a
lea esp, [ebp - 0xf68]
bts edi, edx
mov ecx, dword [ebp - 0xc]
test dx, bp
xadd esi, esi
mov dword fs:[0], ecx
pop ecx
test esp, 0x64056bf0
pop edi
rcl ch, 0x77
adc ecx, edx
mov ecx, 0x39a077c6
pop esi
xadd ch, bl
bt cx, 0x9a
pop ebx
btr cx, 0xee
shld ecx, ebp, 0x41
mov ecx, dword [ebp - 0x10]
cmp bp, dx
xor ecx, ebp
jmp 0x5ff78f
je 0x6f3765
mov byte [0x502799], 1
cmp dword [0x502a08], edi
jmp 0x65fcd9
call fcn.00429260
lea eax, [ebp - 0xf20]
jmp 0x53e7f5
mov esi, eax
movzx edi, dx
mov edi, 0x4ebe44
jmp loc.00413a61
mov byte [0x502799], 0
jmp 0x63eb7e
mov dword [ebp - 4], 0xffffffff
jmp loc.00422ac0
push ebp
mov ebp, esp
add ah, 0x40
push 0xffffffffffffffff
push 0x4c293e
sar al, cl
rol eax, 0x40
mov eax, dword fs:[0]
push eax
lea esp, [esp - 0xf4c]
mov eax, dword [0x4f85e8]
cmp ebp, 0x6f4870bd
jmp 0x6ec7e6
ret
call fcn.00434f51
add esp, 4
test ecx, 0x70486d6e
cmp bp, 0x164a
clc
mov dword [0x502a08], eax
cmp eax, edi
jne 0x6f0e92
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000006
mov edx, 0x5027f0
jmp 0x73f56a
push edi
jmp 0x5945d3
Function at 0x1000fe15
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1000fe24
pop dword [ebp - 0x4c]
mov eax, 0x1a291e4d
sub eax, 0xa282029
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x411a9
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x3d0bd8d
sub ecx, 0x3d05933
xor ebx, ebx
add ebx, eax
mov esi, 0xf4df333d
add esi, 0x1b2310c3
add esi, dword [ebp - 0x4c]
mov edi, 0x35515f2e
sub edi, 0xc96c106
mov edx, dword [esi]
sub dword [ebp - 0x24], 0xeb590cb6
xor edx, edi
mov dword [ebp - 4], 0x3153f26a
mov dword [ebx], edx
sub dword [ebp - 0x3c], edi
add ebx, 0x1d57bab1
sub ebx, 0x1d57baad
add esi, 0xed3351f4
add esi, 0x12ccae10
loop 0x1000fe80
add eax, 0x9f2003ab
add eax, 0x60e18090
mov ebx, eax
add eax, 0xeaaea75d
add eax, 0x155158a8
mov ecx, 0xa357be00
sub ecx, 0x9357be00
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b030]
jne 0x401116
repz ret
jmp fcn.00401b11

Function at 0x408edc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004047d5
and dword [ebp - 4], 0
cmp dword [0x42d78c], 0
mov ebx, eax
jne 0x408f8d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40903e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40903e
push eax
call fcn.00404763
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d78c], eax
call esi
push eax
call fcn.00404763
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d790], eax
call esi
push eax
call fcn.00404763
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d794], eax
call esi
push eax
call fcn.00404763
pop ecx
mov dword [0x42d79c], eax
test eax, eax
je 0x408f8d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404763
pop ecx
mov dword [0x42d798], eax
mov eax, dword [0x42d798]
cmp eax, ebx
je 0x408fe5
cmp dword [0x42d79c], ebx
je 0x408fe5
push eax
call fcn.004047de
push dword [0x42d79c]
mov esi, eax
call fcn.004047de
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408fe5
test edi, edi
je 0x408fe5
call esi
test eax, eax
je 0x408fdc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408fdc
test byte [ebp - 0xc], 1
jne 0x408fe5
or dword [ebp + 0x10], 0x200000
jmp 0x40901e
mov eax, dword [0x42d790]
cmp eax, ebx
je 0x40901e
push eax
call fcn.004047de
pop ecx
test eax, eax
je 0x40901e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40901e
mov eax, dword [0x42d794]
cmp eax, ebx
je 0x40901e
push eax
call fcn.004047de
pop ecx
test eax, eax
je 0x40901e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d78c]
call fcn.004047de
pop ecx
test eax, eax
je 0x40903e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409040
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b0e0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x42b030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ae61cc]
push ebx
mov ebx, dword [0x2ae5eec]
push esi
mov esi, dword [0x42bf60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b121
push 0x4299b4
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x2ae61cc]
mov dword [0x2ae5ee8], esi
cmp eax, 0x114e
jne 0x40b14b
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.durinarusunavabaxomoyowev
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2ae61cc]
cmp eax, 0x2f
jne 0x40b16d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
call fcn.0040b050
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret