joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4109f1
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x4701db
call fcn.00459836
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x410afd
cmp byte [esi + 0x41], 0
je 0x410afd
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x410a27
xor al, al
jmp 0x410aff
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.004108fa
mov dword [ebp - 4], edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.00410920
mov ecx, eax
call fcn.00410ccd
mov edi, dword [ebp - 0x1c]
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.00410920
mov ecx, eax
call fcn.00410ccd
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
add edi, ebx
push edi
push dword [ebp - 0x38]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x410a97
dec eax
je 0x410a9b
dec eax
dec eax
je 0x410af9
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004076fc
mov al, bl
jmp 0x410aff
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.00410920
mov ecx, eax
call fcn.00410ccd
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x410adb
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00410920
mov ecx, eax
call fcn.00410ccd
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00457c80
add esp, 0x10
cmp edi, eax
jne 0x410a85
cmp byte [esi + 0x41], 0
je 0x410af9
test edi, edi
jne 0x410a35
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.004057d6
jmp 0x410a35
mov bl, 1
jmp 0x410a87
mov al, 1
call fcn.004598b9
ret

Function at 0x417e0b
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
jle 0x417e34
push esi
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x47a958]
mov esi, eax
shl esi, 3
xor edx, esi
xor eax, edx
inc ecx
dec dword [esp + 8]
cmp dword [esp + 8], 0
jg 0x417e14
pop esi
ret

Function at 0x418419
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
push esi
push edi
test eax, eax
je 0x418459
cdq
mov esi, eax
add eax, dword [ebp + 0xc]
mov edi, edx
mov ecx, edx
adc ecx, dword [ebp + 0x10]
push edi
sub eax, 1
push esi
sbb ecx, 0
push ecx
push eax
call fcn.004645f0
push edi
push esi
push edx
push eax
call fcn.00467d90
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
push dword [ebp + 0x10]
mov edi, ebx
push dword [ebp + 0xc]
call fcn.004182ba
pop ecx
pop ecx
test eax, eax
jne 0x418482
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x418489
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x10], eax
mov dword [ebp - 4], 0x60a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4184b5
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4184e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4184e5
mov dword [esi + 0x10], eax
mov eax, 0x70a
jmp 0x418505
push 1
push 0
push 0
push dword [ebp + 8]
call fcn.00467d90
mov ecx, eax
xor eax, eax
add ecx, edi
adc edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x418ef1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x489218]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x48cbec]
push ebx
push esi
test eax, eax
je 0x418f2b
push eax
push 0x47f064
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.00416b0a
add esp, 0x10
jmp 0x418fa3
call fcn.004180d1
mov esi, 0xe6
test eax, eax
je 0x418f6b
lea eax, [ebp - 0x318]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x318]
push eax
call fcn.0041817e
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x418f87
push 7
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0045509c
leave
ret
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x218]
push eax
call fcn.0041823f
jmp 0x418f53
push ebx
push 0x47f064
lea eax, [ebp - 0x110]
push eax
push esi
call fcn.00416b0a
push ebx
call fcn.00455537
add esp, 0x14
mov ecx, str.etilqs_
call fcn.004172ae
lea ecx, [ebp - 0x110]
mov edx, eax
call fcn.004172ae
lea eax, [edx + eax + 0x11]
cmp eax, 0x105
jl 0x418fca
xor eax, eax
inc eax
jmp 0x418f5d
lea ecx, [ebp - 0x110]
call fcn.004172ae
test eax, eax
jbe 0x418fe3
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x418fe3
dec eax
jne 0x418fda
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
push str._setilqs_
push edi
push 0xf4
call fcn.00416b0a
mov ecx, edi
call fcn.004172ae
mov esi, eax
lea eax, [edi + esi]
push eax
push 0xf
call fcn.00416d09
add esp, 0x18
push 0xf
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x41901c
mov byte [edi + esi], cl
xor eax, eax
jmp 0x418f5d
Function at 0x4192c2
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push ebp
push edi
push dword [esp + 0x14]
xor ebp, ebp
xor ebx, ebx
call fcn.00418eba
mov edi, eax
pop ecx
test edi, edi
jne 0x4192e1
push 7
pop eax
jmp 0x41936a
push esi
call fcn.004180d1
test eax, eax
je 0x41931d
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41930d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x41934f
inc ebp
cmp ebp, 5
jge 0x41934f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4192eb
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41933f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x41934f
inc ebp
cmp ebp, 5
jge 0x41934f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41931d
push edi
call fcn.00455537
pop ecx
cmp esi, 0xffffffff
pop esi
jne 0x419365
cmp ebx, 2
jne 0x419365
xor eax, eax
jmp 0x41936a
mov eax, 0xa0a
pop edi
pop ebp
pop ebx
ret

Function at 0x419502
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x489218]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
lea ecx, [ebp - 0x110]
push ecx
push 0x104
push eax
push dword [ebp + 8]
mov dword [ebp - 0x118], 0x200
call fcn.0041942a
add esp, 0x10
test eax, eax
jne 0x4195e3
lea eax, [ebp - 0x110]
push eax
call fcn.00418eba
mov esi, eax
xor ebx, ebx
pop ecx
cmp esi, ebx
je 0x4195d9
call fcn.004180d1
test eax, eax
mov eax, esi
je 0x41959d
cmp word [esi], bx
je 0x41957e
cmp word [eax], 0x5c
je 0x419579
inc eax
inc eax
cmp word [eax], bx
jne 0x41956a
jmp 0x41957e
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x114]
push eax
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x4195cc
cmp byte [esi], bl
je 0x4195af
cmp byte [eax], 0x5c
je 0x4195ad
inc eax
cmp byte [eax], bl
jne 0x4195a1
jmp 0x4195af
mov byte [eax], bl
lea eax, [ebp - 0x114]
push eax
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.00455537
pop ecx
cmp edi, ebx
jne 0x4195e3
mov dword [ebp - 0x118], 0x200
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x118]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045509c
leave
ret
Function at 0x41c58e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [ebx + 0x3c]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [edx], edi
jne 0x41c5c5
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push edi
and eax, 0x87f3f
push eax
push edx
push edi
push ecx
call dword [ecx + 0x18]
add esp, 0x14
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x41c682
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x41c5ff
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.00467d90
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
jmp 0x41c5ff
xor edi, edi
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x41c682
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc], edi
cmp edi, dword [ebx + 0x18]
ja 0x41c672
test byte [esi + 0x14], 0x20
jne 0x41c672
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.00467d90
mov ecx, dword [esi]
push edx
push eax
push dword [ebx + 0x80]
mov eax, dword [ebx + 0x3c]
push ecx
mov dword [ebp - 8], ecx
call fcn.00414e72
add esp, 0x10
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x41c65f
mov esi, dword [ebp - 8]
add esi, 0x18
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
cmp edi, dword [ebx + 0x20]
jbe 0x41c667
mov dword [ebx + 0x20], edi
push dword [esi]
mov eax, dword [ebx + 0x58]
call fcn.00426071
pop ecx
cmp dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
je 0x41c5fd
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x4321ce
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4321e0
xor eax, eax
jmp 0x4322cf
push esi
mov esi, dword [ebp + 8]
push 0x44
call fcn.00415a40
mov esi, eax
pop ecx
test esi, esi
je 0x4322ce
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.00431f58
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.0043201b
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push eax
push dword [ebp + 8]
call fcn.00431d08
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.00431f58
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.00431d08
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.00431f58
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.004321ce
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.00431d08
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.00431d08
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
mov ecx, 0xfff7
and ax, cx
add esp, 0x2c
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x43428b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4343a3
test esi, esi
je 0x4343a3
movzx edx, word [edi + 2]
mov eax, 0x800
mov ecx, edx
and ecx, eax
mov ebx, eax
cmp cx, bx
je 0x434347
movzx ecx, word [esi + 2]
mov ebx, ecx
and ebx, eax
cmp bx, ax
je 0x434347
xor cl, dl
test cl, 0x10
jne 0x434347
mov al, byte [edi]
cmp al, byte [esi]
jne 0x434347
push dword [esi + 8]
push dword [edi + 8]
call fcn.0043428b
pop ecx
pop ecx
test eax, eax
jne 0x434347
push dword [esi + 0xc]
push dword [edi + 0xc]
call fcn.0043428b
pop ecx
pop ecx
test eax, eax
jne 0x434347
mov ebx, dword [esi + 0x10]
mov edi, dword [edi + 0x10]
call fcn.004343b2
test eax, eax
jne 0x434347
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x434347
mov ax, word [edi + 0x1c]
cmp ax, word [esi + 0x1c]
jne 0x434347
movzx eax, word [edi + 2]
mov ecx, eax
mov eax, 0x400
and ecx, eax
mov edx, eax
cmp cx, dx
jne 0x43434c
mov cx, word [esi + 2]
and cx, dx
cmp cx, ax
jne 0x434347
mov eax, dword [edi + 4]
cmp eax, dword [esi + 4]
je 0x434376
push 2
pop eax
jmp 0x4343ae
cmp byte [edi], 0x98
je 0x434376
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x434376
mov dx, word [esi + 2]
mov ebx, eax
and dx, bx
cmp dx, ax
je 0x434347
mov edx, dword [esi + 4]
test edx, edx
je 0x434347
call fcn.004173ca
test eax, eax
jne 0x434347
movzx ecx, word [edi + 2]
mov dx, word [esi + 2]
mov eax, 0x100
and ecx, eax
and dx, ax
cmp cx, dx
je 0x434392
xor eax, eax
inc eax
jmp 0x4343ae
test cx, cx
je 0x43439f
mov eax, dword [edi + 0x14]
cmp eax, dword [esi + 0x14]
jne 0x434347
xor eax, eax
jmp 0x4343ae
mov eax, esi
sub eax, edi
neg eax
sbb eax, eax
and eax, 2
pop edi
pop esi
pop ebx
ret
Function at 0x449f83
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [esi + 4]
call fcn.00448e27
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x14]
imul edx, edx, 0x28
add edx, edi
cmp byte [ebx + 0x16], 0
pop ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edx
jne 0x44a171
jmp 0x44a165
mov eax, 0x100
cmp word [edi + 0x10], ax
jne 0x44a162
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
not eax
and eax, dword [edi + 0x20]
not ecx
and ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x44a162
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x160]
mov esi, dword [ecx + 0x164]
and eax, dword [esp + 0x28]
and esi, dword [esp + 0x2c]
or eax, esi
je 0x44a162
mov esi, dword [ecx + 0x14]
fldz
mov ebx, dword [ecx + 0x1c]
imul esi, esi, 0x28
fst qword [esp + 0x20]
fstp qword [esp + 0x30]
and dword [esp + 0x10], 0
add esi, ebx
and dword [esp + 0x14], 0
jmp 0x44a101
mov eax, 0x200
cmp word [ebx + 0x10], ax
jne 0x44a062
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebx + 0xc]
jmp 0x44a0af
mov eax, dword [esp + 0x3c]
cmp dword [ebx + 8], eax
jne 0x44a0fe
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
lea eax, [esp + 0x70]
push dword [ebp + 0x1c]
mov dword [esp + 0x74], ecx
push dword [ebp + 0x18]
mov byte [esp + 0x88], 0x45
push dword [ebp + 0x14]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x90], 1
push eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.0044af6e
fld qword [esp + 0x68]
fadd qword [esp + 0x38]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + 0x78]
or dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
fstp qword [esp + 0x38]
fld qword [esp + 0x70]
or dword [esp + 0x2c], eax
fadd qword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
add esp, 0x18
fstp qword [esp + 0x30]
fld qword [ecx + 0x10]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x44a10c
add ebx, 0x28
cmp ebx, esi
jb 0x44a041
mov ecx, dword [ebp + 0x28]
cmp dword [ebp + 0x24], 0
je 0x44a12f
fld qword [esp + 0x30]
push ecx
push ecx
fstp qword [esp]
call fcn.00449f45
fmul qword [esp + 0x38]
add esp, 8
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [ecx + 0x10]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x44a162
mov eax, dword [esp + 0x10]
fld qword [esp + 0x20]
fstp qword [ecx + 0x10]
mov dword [ecx + 0x20], eax
fld qword [esp + 0x30]
mov eax, dword [esp + 0x14]
fstp qword [ecx + 0x18]
mov dword [ecx + 0x24], eax
mov dword [ecx], 0x10000000
mov dword [ecx + 8], edi
add edi, 0x28
mov dword [esp + 0x1c], edi
cmp edi, edx
jb 0x449fcf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4541a4
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x46ff1c
call fcn.00459836
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x4542b6
cmp byte [esi + 0x42], bl
je 0x4542b6
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x4541e0
xor al, al
jmp 0x4542b8
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.004108fa
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410920
mov ecx, eax
call fcn.00410ccd
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410920
mov ecx, eax
call fcn.00410ccd
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x454250
dec eax
je 0x454254
dec eax
dec eax
je 0x4542b2
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004076fc
mov al, bl
jmp 0x4542b8
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410920
mov ecx, eax
call fcn.00410ccd
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x454294
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410920
mov ecx, eax
call fcn.00410ccd
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00457c80
add esp, 0x10
cmp edi, eax
jne 0x45423e
cmp byte [esi + 0x42], 0
je 0x4542b2
test edi, edi
jne 0x4541ee
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004057d6
jmp 0x4541ee
mov bl, 1
jmp 0x454240
mov al, 1
call fcn.004598b9
ret

Function at 0x45509c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x489218]
jne 0x4550a6
repz ret
jmp fcn.004600a4
Function at 0x465a40
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.0045fab3
and dword [ebp - 4], 0
cmp dword [0x48c750], 0
mov ebx, eax
jne 0x465af1
push 0x474b58
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x465ba2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
test eax, eax
je 0x465ba2
push eax
call fcn.0045fa41
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48c750], eax
call esi
push eax
call fcn.0045fa41
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48c754], eax
call esi
push eax
call fcn.0045fa41
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x48c758], eax
call esi
push eax
call fcn.0045fa41
pop ecx
mov dword [0x48c760], eax
test eax, eax
je 0x465af1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045fa41
pop ecx
mov dword [0x48c75c], eax
mov eax, dword [0x48c75c]
cmp eax, ebx
je 0x465b49
cmp dword [0x48c760], ebx
je 0x465b49
push eax
call fcn.0045fabc
push dword [0x48c760]
mov esi, eax
call fcn.0045fabc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x465b49
test edi, edi
je 0x465b49
call esi
test eax, eax
je 0x465b40
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x465b40
test byte [ebp - 0xc], 1
jne 0x465b49
or dword [ebp + 0x10], 0x200000
jmp 0x465b82
mov eax, dword [0x48c754]
cmp eax, ebx
je 0x465b82
push eax
call fcn.0045fabc
pop ecx
test eax, eax
je 0x465b82
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x465b82
mov eax, dword [0x48c758]
cmp eax, ebx
je 0x465b82
push eax
call fcn.0045fabc
pop ecx
test eax, eax
je 0x465b82
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48c750]
call fcn.0045fabc
pop ecx
test eax, eax
je 0x465ba2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x465ba4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46b5c8
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.0045fab3
and dword [ebp - 4], 0
cmp dword [0x48c780], 0
mov ebx, eax
jne 0x46b679
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46b72a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46b72a
push eax
call fcn.0045fa41
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48c780], eax
call esi
push eax
call fcn.0045fa41
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48c784], eax
call esi
push eax
call fcn.0045fa41
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48c788], eax
call esi
push eax
call fcn.0045fa41
pop ecx
mov dword [0x48c790], eax
test eax, eax
je 0x46b679
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045fa41
pop ecx
mov dword [0x48c78c], eax
mov eax, dword [0x48c78c]
cmp eax, ebx
je 0x46b6d1
cmp dword [0x48c790], ebx
je 0x46b6d1
push eax
call fcn.0045fabc
push dword [0x48c790]
mov esi, eax
call fcn.0045fabc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46b6d1
test edi, edi
je 0x46b6d1
call esi
test eax, eax
je 0x46b6c8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46b6c8
test byte [ebp - 0xc], 1
jne 0x46b6d1
or dword [ebp + 0x10], 0x200000
jmp 0x46b70a
mov eax, dword [0x48c784]
cmp eax, ebx
je 0x46b70a
push eax
call fcn.0045fabc
pop ecx
test eax, eax
je 0x46b70a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46b70a
mov eax, dword [0x48c788]
cmp eax, ebx
je 0x46b70a
push eax
call fcn.0045fabc
pop ecx
test eax, eax
je 0x46b70a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48c780]
call fcn.0045fabc
pop ecx
test eax, eax
je 0x46b72a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46b72c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0xe87370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xe8738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xeb0074
push ecx
mov edi, eax
call fcn.00e9b198
mov esi, eax
add esp, 8
test esi, esi
jne 0xe873cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00e9b02e
push esi
call fcn.00e9afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret