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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101bc59b]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101c0b68], 0x780
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1000a5ed
mov eax, dword [0x101c0b64]
add eax, 0x23bd
mov dword [0x101c0b64], eax
call fcn.1000af93
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000a146
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1000a7a2
mov eax, dword [ebp - 0x3c]
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 [0x101c0b64], 0x1a85
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000a2f6
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101c0b68], 0xffffea19
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x50], ecx
mov dword [0x101c0b64], 0x24ae
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000a7a2
mov eax, dword [ebp - 0x44]
add eax, 0x1f27
mov ecx, dword [0x101c0b68]
add ecx, 0xffffec01
mov dword [0x101c0b68], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1000a84d
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 [0x101c0b64], 0xacb
mov dword [ebp - 0x10], eax
call fcn.1000b338
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 0x1000a893
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x101c0b68], 0x6ce
mov esi, dword [edx + eax + 0x24]
mov dword [0x101c0b64], 0xfffffca0
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1000a9bc
jmp 0x1000a909
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x1000a93d
jmp 0x1000a96a
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x101c0b64], 0xacb
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x54]
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 - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x1000a8df
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x1000a999
jmp 0x1000a973
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x50]
add edx, 2
mov esi, dword [ebp - 0x30]
cmp ecx, esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], eax
jb 0x1000a919
jmp 0x1000a9bc
mov eax, dword [ebp - 0x50]
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 [0x101c0b64], 0x1919
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b0b2
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x101c0b68], 0x1a0e
mov dword [ebp - 4], 0
mov dword [0x101c0b64], 0x7d0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x101c0b64]
add edx, 0xfffffa13
mov dword [0x101c0b64], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101c0b68], 0x19a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000b14e
mov eax, 1
mov dword [0x101c0b64], 0x26a1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
mov eax, 0x1137
mov dword [0x101c0b64], 0x2760
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
je 0x1000b1c0
jmp 0x1000b234
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1000b17b
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x1000b14e
mov eax, dword [ebp - 0x24]
mov ecx, 0xffffec88
mov dword [0x101c0b64], 0x2b1
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x1000b234
mov eax, 0xffffec88
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
je 0x1000b128
jmp 0x1000b234
mov eax, 0x1137
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
jne 0x1000b234
mov eax, 0xfffff83a
mov dword [0x101c0b64], 0xe63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
jne 0x1000b234
mov eax, 0xffffee12
mov dword [0x101c0b64], 0x43b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x1000b234
mov eax, 0xffffee12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1000b10e
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x101c0b68], eax
mov dword [ebp - 0x14], ecx
jmp 0x1000b120
Function at 0x1000b4b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x1541
mov dword [0x101c0b6c], 0
mov dword [0x101c0b70], 0
mov dword [0x101c0b7c], 0
mov dword [0x101c0b64], 0x1541
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
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 0x1000b65e
jmp 0x1000b545
mov eax, dword [0x101c0b70]
mov ecx, dword [0x101c0b64]
mov edx, dword [0x101c0b6c]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
mov ebx, esi
add ebx, 1
add edx, 1
add ecx, 0xffffe50f
mov dword [0x101c0b64], ecx
mov dword [ebp - 0x34], eax
mov eax, edx
cdq
idiv edi
mov dword [0x101c0b6c], edx
mov dword [0x101c0b68], 0x1c5a
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x34]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x101c0b70], edx
mov dword [0x101c0b64], 0xe53
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x38]
mov cl, byte [ecx + edi]
mov byte [0x101c0b74], cl
mov dword [0x101c0b68], 0x1303
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov cl, byte [0x101c0b74]
mov edx, dword [0x101c0b70]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov edx, dword [0x101c0b64]
mov ecx, edx
add ecx, 0x1414
mov dword [0x101c0b64], ecx
mov ecx, dword [0x101c0b6c]
movzx ecx, byte [edi + ecx]
mov edi, dword [0x101c0b70]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx + edi]
mov ecx, dword [ebp - 0x3c]
add edi, ecx
mov ecx, edx
add ecx, 0xfffff366
mov dword [0x101c0b64], ecx
and edi, 0xff
mov dword [0x101c0b7c], edi
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov edi, dword [ebp - 0x1c]
mov ch, byte [edi + esi]
add edx, 0xffffe34d
mov dword [0x101c0b64], edx
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x30], ebx
jne 0x1000b525
mov dword [0x101c0b68], 0xaeb
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40696d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00409098
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x406998
xor eax, eax
jmp 0x406a3c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x406991
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406991
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004013b0
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x4069ed
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x4069dc
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0040573c
push edi
mov ebx, eax
call fcn.004013db
test ebx, ebx
pop ecx
je 0x406a2f
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00405df3
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00405ea5
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x40d552
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40d58b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040930e
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004037bc
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x40f30a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40f34d
call fcn.00409098
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f34d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40f368
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040eec4
test ebx, ebx
mov esi, eax
je 0x40f366
test edi, edi
je 0x40f366
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4100d8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x449454
call fcn.004340a2
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4100fd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x410149
call fcn.0041b0a9
push eax
lea ecx, [ebp - 0x10]
call fcn.0041143c
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401814
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401ad4
mov eax, esi
call fcn.0043417a
ret 8

Function at 0x4125e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41262e
call fcn.00409098
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41262e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x412671
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41265a
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41265a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41266e
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x414084
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00409098
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4140bb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00413ca6
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x414113
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x414133
cmp dword [edi + 0x54], 0
jne 0x414133
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00409098
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004140da
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x419720
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41974e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41976c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041968a
jmp 0x41976c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41976c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041968a
test edi, edi
mov eax, edi
jne 0x419756
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x44da24]
test ecx, ecx
je 0x41982f
jmp 0x41971f
ret 8

Function at 0x433735
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x495a70]
jne 0x43373f
repz ret
jmp fcn.00438b2f
Function at 0x43fee2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00438516
xor ebx, ebx
cmp dword [0x44eaa8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43ffb7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43ff22
xor eax, eax
jmp 0x44007b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43ff1b
push eax
call fcn.004384b3
mov dword [esp], 0x4878a4
push edi
mov dword [0x44eaa8], eax
call esi
push eax
call fcn.004384b3
mov dword [esp], 0x487890
push edi
mov dword [0x44eaac], eax
call esi
push eax
call fcn.004384b3
mov dword [0x44eab0], eax
lea eax, [ebp - 8]
push eax
call fcn.00436024
test eax, eax
pop ecx
pop ecx
je 0x43ff85
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00439f6f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43ffb7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004384b3
cmp eax, ebx
pop ecx
mov dword [0x44eab8], eax
je 0x43ffb7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004384b3
pop ecx
mov dword [0x44eab4], eax
mov eax, dword [0x44eab4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x440030
cmp dword [0x44eab8], esi
je 0x440030
push eax
call fcn.0043851f
pop ecx
call eax
cmp eax, ebx
je 0x43fffd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x44eab8]
call fcn.0043851f
pop ecx
call eax
test eax, eax
je 0x43fffd
test byte [ebp - 0x18], 1
jne 0x440030
lea eax, [ebp - 0xc]
push eax
call fcn.0043605b
test eax, eax
pop ecx
je 0x440018
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00439f6f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x440027
or dword [ebp + 0x10], 0x200000
jmp 0x440061
or dword [ebp + 0x10], 0x40000
jmp 0x440061
mov eax, dword [0x44eaac]
cmp eax, esi
je 0x440061
push eax
call fcn.0043851f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x440061
mov eax, dword [0x44eab0]
cmp eax, esi
je 0x440061
push dword [ebp - 4]
push eax
call fcn.0043851f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x44eaa8]
call fcn.0043851f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x447764
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x495a70]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004476f9
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004341b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4477b3
cmp dword [ebp - 0x1c], 5
jb 0x4477cb
jmp 0x4477c7
cmp dword [ebp - 0x10], 1
jne 0x4477cb
cmp dword [ebp - 0x1c], 4
ja 0x4477c7
jne 0x4477cb
cmp dword [ebp - 0x18], 0
jbe 0x4477cb
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4892a0
call fcn.004475ea
test eax, eax
jge 0x4477ec
mov byte [0x47ec80], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00433735
add ebp, 0x78
leave
ret

Function at 0x448700
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x495a70]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call fcn.004485b0
mov word [ebp - 0x2c], 2
mov eax, dword [0x47ebd4]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax - 1]
push edx
call dword [0x44ebbc]
mov word [ebp - 0x2a], ax
push 0x496ec4
call dword [0x44ebc0]
mov dword [ebp - 0x28], eax
push 6
push 1
push 2
call dword [0x44ebac]
mov dword [ebp - 8], eax
push 0x10
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x44ebb0]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x448770
mov eax, dword [ebp - 0x30]
jmp 0x448850
push 0
push str.454fse432dwfc
call fcn.00433750
add esp, 4
push eax
push str.454fse432dwfc
mov edx, dword [ebp - 8]
push edx
call dword [0x44eba8]
mov dword [ebp - 0x10], 0
push 0
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x44eba4]
mov dword [ebp - 4], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
je 0x4487e5
push 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x44ebd0
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [0x44eba4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
jmp 0x4487b2
movsx ecx, byte [0x496ed6]
add ecx, 0x44ebd4
mov dword [ebp - 0x34], ecx
movsx edx, byte [0x496ed6]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, 0x44ebd0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004485f0
add esp, 8
movsx edx, byte [0x496ed6]
mov eax, dword [0x47ebd4]
lea ecx, [edx + eax + 0x44ebcf]
push ecx
movsx edx, byte [0x496ed6]
mov eax, dword [0x47ebd4]
lea ecx, [edx + eax + 0x44ebd3]
push ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00433735
mov esp, ebp
pop ebp
ret
Function at 0x402180
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x4021c6
sub ebx, 0x422570
mov ax, word [ebx + edi*2 + 0x422570]
mov ecx, esi
xor ax, word [edi*2 + 0x422570]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4021a4
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x402d56
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
cmp dword [0x47e6a0], ebx
jne 0x402d9c
mov ecx, ebx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x402d7d
shr eax, 1
xor eax, 0xedb88320
jmp 0x402d7f
shr eax, 1
dec edx
jne 0x402d70
mov dword [ecx*4 + 0x47e2a0], eax
inc ecx
cmp ecx, 0x100
jl 0x402d6b
mov dword [0x47e6a0], 1
mov eax, dword [ebp + 8]
or edx, 0xffffffff
xor ecx, ecx
lea eax, [edi + eax*2]
mov esi, eax
sub esi, edi
inc esi
shr esi, 1
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x402dd1
movzx eax, byte [edi]
lea edi, [edi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x47e2a0]
inc ebx
cmp ebx, esi
jb 0x402db7
pop edi
not edx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4