joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010fb0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov esi, eax
mov ebx, ecx
jne 0x10010fd9
push esi
call fcn.10010920
test al, al
jne 0x10010fd9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x48]
push eax
push ecx
call fcn.1000b150
mov edi, eax
call fcn.1000b510
add esp, 4
push eax
mov eax, 0x40
call fcn.1000efc0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc0]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 0x40
call fcn.1000d560
mov ecx, dword [ebp - 4]
add esp, 0x10
xor eax, eax
push 4
lea edx, [ebp - 4]
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x80], al
push 0x10
mov eax, esi
mov byte [ebp + ecx - 0xc0], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
mov dword [ebp - 0x20], 0xc3d2e1f0
call fcn.1000d2d0
test al, al
je 0x1001106b
mov edi, dword [ebp - 4]
jmp 0x1001106e
or edi, 0xffffffff
push 4
lea eax, [ebp - 4]
push eax
push 0xc
mov eax, esi
call fcn.1000d2d0
test al, al
je 0x10011086
mov eax, dword [ebp - 4]
jmp 0x10011089
or eax, 0xffffffff
push edi
push eax
push esi
lea esi, [ebp - 0x80]
call fcn.1000d7e0
cmp byte [ebp - 0x80], 0
mov dword [ebp - 4], 0x40
jne 0x100110aa
call fcn.1000dd10
mov byte [ebp - 0x80], 1
xor eax, eax
lea esp, [esp]
mov ecx, dword [ebp + eax*4 - 0x30]
bswap ecx
mov dword [ebp + eax*4 - 0x1c], ecx
inc eax
cmp eax, 5
jb 0x100110b0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x1c]
push 0x14
push ecx
call fcn.1000d560
mov edx, dword [ebp - 4]
add esp, 0x10
cmp byte [ebp + 0xc], 0
mov byte [ebp + edx - 0x100], 0
mov eax, 0x100293dc
jne 0x100110f4
mov eax, 0x100293f4
push 0
push eax
mov edi, ebx
call fcn.10010e30
mov eax, dword [ebp + 8]
push 1
push eax
call fcn.10010e30
push 0
push 0x1002940c
call fcn.10010e30
push 1
lea ecx, [ebp - 0xc0]
push ecx
call fcn.10010e30
push 0
push 0x10029414
call fcn.10010e30
push 1
lea edx, [ebp - 0x100]
push edx
call fcn.10010e30
cmp byte [ebp + 0xc], 0
je 0x10011148
call fcn.10010f10
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10011350
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
jne 0x1001136f
mov ebx, dword [ebp + 8]
push eax
call fcn.10010920
test al, al
je 0x100113a9
mov ebx, dword [ebp + 0xc]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10011377
sub eax, edx
mov esi, eax
push esi
mov dword [ebp + 0xc], esi
call fcn.10017d64
lea ecx, [ebp + 0xc]
push ecx
mov edi, eax
push edi
push esi
push ebx
call fcn.1000d680
add esp, 0x14
test al, al
jne 0x100113b4
push edi
call fcn.10018454
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
xor ebx, ebx
push edx
push edi
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x2c], 0x67452301
mov dword [ebp - 0x28], 0xefcdab89
mov dword [ebp - 0x24], 0x98badcfe
mov dword [ebp - 0x20], 0x10325476
mov dword [ebp - 0x1c], 0xc3d2e1f0
mov byte [ebp - 0x7c], bl
call fcn.1000d790
mov dword [ebp + 0xc], 0x40
cmp byte [ebp - 0x7c], bl
jne 0x10011407
call fcn.1000dd10
mov byte [ebp - 0x7c], 1
xor eax, eax
lea esp, [esp]
mov ecx, dword [ebp + eax*4 - 0x2c]
bswap ecx
mov dword [ebp + eax*4 - 0x18], ecx
inc eax
cmp eax, 5
jb 0x10011410
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x18]
push 0x14
push ecx
call fcn.1000d560
mov edx, dword [ebp + 0xc]
push edi
mov byte [ebp + edx - 0xbc], bl
call fcn.10018454
mov bl, byte [ebp + 0x10]
add esp, 0x14
mov eax, 0x10029438
test bl, bl
jne 0x1001145a
mov eax, 0x10029450
mov edi, dword [ebp + 8]
push 0
push eax
call fcn.10010e30
push 1
lea eax, [ebp - 0xbc]
push eax
call fcn.10010e30
test bl, bl
je 0x1001147c
call fcn.10010f10
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10211e58
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
ret
test eax, eax
jmp 0x101d566e
mov ecx, dword [ecx + edi]
test ecx, ecx
jne 0x101e3a1d
pop esi
seta bl
not di
pop ebx
test edx, edi
jmp 0x101f1d2d
ret
je 0x101e704d
mov edx, dword [edx + 0x7c]
push ebx
push esi
cmp ebp, esi
test esi, ebp
or esi, 0xffffffff
test edx, 0x338f2ae1
jmp 0x102059d7
jne 0x101e704d
mov eax, dword [edx + 0x78]
cmp esi, 0x39cb21ef
mov dword [ebp - 4], eax
test bh, bl
jmp 0x101bf0ee
pop ebp
jmp 0x101cfbc7
je 0x101f4c58
sub eax, eax
pop edi
mov esp, ebp
jmp 0x101e4a7c
test ebx, ebx
jmp 0x10208672
xor eax, eax
mov edi, eax
cmovle edi, esi
pop edi
jmp 0x10207b6b
lea edx, [edx + edi]
cmp dword [edx], 0x4550
jmp 0x101e469f
push edi
btr di, sp
mov edi, dword [ebp + 8]
test edi, edi
jmp 0x101f4eac
mov edx, dword [edi + 0x3c]
jmp 0x101f29cc
je 0x101e704d
mov ecx, dword [ebp + 0xc]
test ecx, 0x342f08f7
test ecx, ecx
jmp 0x10202011
mov ebx, dword [eax + edi + 0x18]
test esi, edi
jmp 0x101f0153
ja 0x101f8108
sub ecx, dword [eax + edi + 0x10]
cmp ecx, dword [eax + edi + 0x14]
jmp 0x10213fa0
je 0x101e704d
mov eax, 0x5a4d
clc
test cl, 0x1d
cmp edx, 0x21cb2644
cmp word [edi], ax
jmp 0x101e7047
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], esi
stc
cmp ecx, 0xffff
jmp 0x101ff72e
mov esp, ebp
movzx ebp, bx
pop ebp
jmp 0x101be64b
je 0x101c3cd3
mov edx, dword [eax + edi + 0x20]
jmp 0x1020268a
push ebp
clc
mov ebp, esp
test esp, 0x418f4470
cmp ax, si
lea esp, [esp - 0x114]
jmp 0x101f2f37
jae 0x10205a10
mov edx, dword [eax + edi + 0x1c]
cmc
lea ecx, [edx + ecx*4]
test eax, edi
jmp 0x101c2d0d
Function at 0x1000454d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea eax, [esp + 0x90]
lea ecx, [esp + 0x38]
mov dword [0x10027db4], 0x121e
mov dword [0x10027db8], 0x1c3
mov dword [esp], eax
mov dword [esp + 0x34], ecx
call fcn.100057f1
lea ecx, [esp + 0x38]
mov dword [0x10027db8], 0xc67
mov edx, dword [esp + 0x90]
mov dword [esp + 0x78], edx
mov dword [esp + 0x40], 0x11ba00
mov dword [0x10027db4], 0x423d
mov edx, dword [0x10027da0]
mov dword [esp + 0x64], edx
mov edx, dword [0x10027da4]
mov dword [esp + 0x44], edx
mov edx, dword [0x10027da8]
mov dword [esp + 0x80], edx
mov edx, dword [0x10027dac]
mov dword [esp + 0x48], edx
mov edx, dword [0x10027db0]
add ecx, 0x14
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov eax, 0xc67
lea ecx, [0x100046d4]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [edx], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x1000466d
mov eax, dword [esp + 0x1c]
add eax, 0xffffe1fb
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov dword [0x10027db4], eax
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + eax + 0x50]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10005686
mov dword [0x10027db8], 0xe4a
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x1000469c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x10004612
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [esp + 0x1c]
add ecx, 0x954
mov dword [0x10027db8], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x1000466d
Function at 0x10004cb7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10027dc0], 0
mov edi, dword [0x10027db4]
add edi, 0xac6
mov dword [0x10027db4], edi
mov byte [0x10027dc4], 0
mov edi, dword [0x10027db8]
add edi, 0x899
mov dword [0x10027db8], edi
mov dword [0x10027dbc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10004db7
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add eax, 0xfffff2bb
mov dword [0x10027db8], eax
mov eax, dword [0x10027dc0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x28], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x28]
idiv edi
mov dword [0x10027dc0], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x10027dc4], bl
mov dword [0x10027db8], 0x19c9
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10027dc4]
mov ecx, dword [0x10027dc0]
mov byte [esi + ecx], bl
mov dword [0x10027db8], 0x237e
mov ecx, dword [0x10027dbc]
add ecx, 1
mov dword [0x10027dbc], ecx
cmp ecx, 0x100
mov dword [ebp - 0x2c], ecx
jl 0x10004e0d
jmp 0x10004e26
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10027db8], 0x21f
mov eax, dword [0x10027dbc]
add eax, 1
mov dword [0x10027dbc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10004db7
xor eax, eax
mov ecx, 0x117c
mov dword [0x10027db4], 0x117c
mov dword [0x10027dbc], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x10004d1b
mov eax, dword [0x10027db4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x10004d1b
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10004e45
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xfffff7ea
xor ebx, ebx
mov dword [0x10027dbc], 0
mov dword [0x10027dc0], 0
mov dword [0x10027dc8], 0
mov dword [0x10027db4], 0x1640
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10004fbc
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10027dbc], edx
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10027dc0], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10027dc4], cl
mov edi, dword [0x10027db8]
add edi, 0xfffff1b0
mov dword [0x10027db8], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10027dc4]
mov edx, dword [0x10027dc0]
mov byte [edi + edx], cl
mov edx, dword [0x10027dbc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10027dc0]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10027db8], 0x494
and ebx, 0xff
mov dword [0x10027dc8], ebx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
mov ecx, dword [0x10027db4]
mov edx, ecx
add edx, 0x126e
mov dword [0x10027db4], edx
mov edx, dword [ebp - 0x30]
add edx, 1
mov esi, dword [ebp - 0x10]
cmp edx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
je 0x10004fb1
mov eax, dword [0x10027dbc]
mov dword [ebp - 0x44], eax
mov eax, dword [0x10027dc0]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
jmp 0x10004eb0
mov eax, dword [ebp - 0x3c]
add eax, 0xfffff418
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x10027db8], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10005139
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x10027db4], 0xf07
mov dword [ebp - 0x10], eax
call fcn.10004fcc
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000517f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x10027db4], 0x1d5b
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10005214
jmp 0x1000521f
mov al, byte [ebp - 0x31]
test al, 1
jne 0x1000527e
jmp 0x100051c3
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
jb 0x10005231
jmp 0x10005214
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x31], cl
je 0x100051b6
jmp 0x1000524d
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edx
jmp 0x100051e9
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x31]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x100051e9
jmp 0x100051b6
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10027db4], 0x249e
mov dword [ebp - 0x30], edi
jmp 0x10005214
Function at 0x10005686
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10027db4], 0x24bc
mov esi, dword [0x10027db8]
add esi, 0xfffff2ac
mov dword [0x10027db8], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1000638c]
mov dl, byte [eax + 0x1000635d]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x100056ba
lea eax, [ebp - 0x24]
mov dword [0x10027db4], 0x380
mov dword [0x10027db8], 0xffffeaa5
mov dword [ebp - 0x34], eax
call fcn.100053cc
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100054e0
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x100057b9
mov eax, dword [ebp - 0x38]
mov dword [0x10027db4], 0x761
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100049ce
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov dword [0x10027db4], 0x1e36
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x4c], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x100057b9
mov eax, dword [ebp - 0x40]
add eax, 0x12b9
mov dword [0x10027db4], 0x1327
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x100057f1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10027db4], 0xec4
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10005853
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x1000638c]
mov dl, byte [eax + 0x1000635d]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
je 0x100058c3
jmp 0x10005822
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0xe8
mov edi, edx
add edi, esi
add edi, 0x94
mov esi, dword [edi]
imul edi, eax, 0xe8
add edx, edi
add edx, 0x68
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x244
mov ecx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10005853
xor eax, eax
mov dword [0x10027db8], 0x1562
mov dword [ebp - 0x13c], eax
jmp 0x10005822
lea eax, [ebp - 0x12c]
mov dword [0x10027db4], 0xdb0
mov dword [0x10027db8], 0xffffeaa5
mov dword [ebp - 0x144], eax
call fcn.100053cc
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.100054e0
mov ecx, eax
mov dword [0x10027dcc], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x10027db4]
add edx, 0x1adc
mov dword [0x10027db8], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0xe8
mov edi, edx
add edi, esi
add edi, 0x94
mov esi, dword [edi]
imul edi, eax, 0xe8
mov ebx, edx
add ebx, edi
add ebx, 0x30
mov edi, dword [ebx]
imul ebx, eax, 0xe8
add edx, ebx
add edx, 0x68
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.10004bf4
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x244
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x1000594d
lea eax, [0x1000636b]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10027db4], 0x1f64
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10004cb7
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.10004e45
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x70e39
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x11ba00
mov ecx, dword [ebp - 0x148]
add ecx, 0x59de8
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2020
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402e20
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x59024c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x10]
push 0x400
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.004ee390
movaps xmm1, xmmword [0x5468d0]
lea edx, [ebp - 0x3f4]
add esp, 0xc
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0
mov ecx, 8
lea eax, [ecx - 8]
movd xmm0, eax
lea edx, [edx + 0x40]
pshufd xmm0, xmm0, 0
lea eax, [ecx - 4]
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, eax
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
movd xmm0, eax
lea eax, [ecx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x20], xmm0
cmp eax, 0x100
jl 0x402e81
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor edx, edx
xor ebx, ebx
xor esi, esi
nop word [eax + eax]
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp + esi*4 - 0x404]
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x404]
mov dword [ebp + esi*4 - 0x404], eax
lea eax, [edx + 1]
xor edx, edx
mov dword [ebp + ebx*4 - 0x404], ecx
inc esi
cmp eax, edi
cmovl edx, eax
cmp esi, 0x100
jl 0x402ef0
mov edi, dword [ebp + 0x14]
xor esi, esi
mov edx, dword [ebp - 0x40c]
mov ebx, dword [ebp - 0x408]
test edi, edi
jle 0x402f85
inc dl
movzx edx, dl
mov ecx, dword [ebp + edx*4 - 0x404]
lea eax, [ebx + ecx]
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x404]
mov dword [ebp + edx*4 - 0x404], eax
mov dword [ebp + ebx*4 - 0x404], ecx
add cl, al
movzx eax, cl
mov ecx, dword [ebp - 0x414]
mov al, byte [ebp + eax*4 - 0x404]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x402f44
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448d5d
mov esp, ebp
pop ebp
ret

Function at 0x403df0
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 0x403e49
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403e49
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 0x403e3a
cmp esi, edx
jae 0x403e49
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403e28
cmp esi, edx
jae 0x403e49
cmp word [esi], 0
je 0x403e49
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret