joyce8/EMBER2024-capa huggingface dataset:
Function at 0x532cf0
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x4c]
add eax, 0x493e0
cmp edi, eax
jbe 0x532d1d
mov ecx, esi
call fcn.00532cb0
push 0x595d38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret

Function at 0x5378f0
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [ecx + 0x1f4]
test ecx, ecx
jne 0x5378ff
xor eax, eax
ret 8
jmp 0x53b4a0
mov edx, dword [esp + 4]
fld dword [edx]
sub esp, 8
fld qword [0x589e78]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x53b5a4
fldz
fcom dword [edx]
fnstsw ax
test ah, 0x41
je 0x53b5a2
fld dword [edx + 8]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
je 0x53b5a4
fcomp dword [edx + 8]
fnstsw ax
test ah, 0x41
je 0x53b5a6
push esi
fnstcw word [esp + 0x10]
mov esi, dword [esp + 0x14]
fld dword [esi + 8]
fld qword [0x588a58]
movzx eax, word [esp + 0x10]
fdiv st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fxch st(1)
fistp qword [esp + 4]
mov eax, dword [esp + 4]
push eax
fldcw word [esp + 0x14]
fld dword [esi]
fdiv st(1)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 8]
mov eax, dword [esp + 8]
push eax
fldcw word [esp + 0x18]
fld dword [edx + 8]
fdiv st(1)
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0xc]
mov eax, dword [esp + 0xc]
push eax
fldcw word [esp + 0x1c]
fdivr dword [edx]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
fldcw word [esp + 0x20]
call fcn.0053aec0
pop esi
add esp, 8
ret 8
fstp st(0)
fstp st(0)
push str._____________________________.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 8
ret 8

Function at 0x538df0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1f4], 0
push edi
je 0x538e9f
mov edi, dword [esp + 0x14]
test edi, edi
je 0x538e9f
push 0
push 1
push 0x6de100
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x538e9f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [0x6de0ec], ecx
mov edx, dword [eax + 4]
mov dword [0x6de0f0], edx
mov eax, dword [eax + 8]
mov dword [0x6de0f4], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [0x6de0e0], ecx
mov edx, dword [eax + 4]
mov dword [0x6de0e4], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x18]
mov dword [0x6de0e8], eax
mov ecx, dword [esi + 0x1f4]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x538d60
push 0
push 0
mov dword [0x6de0fc], ecx
mov dword [0x6de0f8], edi
mov dword [0x69fb84], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x538ea6
push eax
push 0x6de100
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
xor eax, eax
pop esi
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret 0x10
Function at 0x53cee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea edi, [ebx + 0xa0]
mov ecx, edi
call fcn.0040a400
mov ebp, 1
cmp dword [ebx + 0x88], ebp
jbe 0x53d063
fldz
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul qword [0x584338]
fstp qword [esp + 0x14]
jmp 0x53cf20
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x84]
xor eax, eax
test ecx, ecx
je 0x53cf37
mov ecx, dword [ecx]
test ecx, ecx
je 0x53cf37
mov eax, dword [ecx]
lea ecx, [edx + ebp]
test eax, eax
je 0x53cf4a
mov eax, dword [eax]
test eax, eax
je 0x53cf4a
mov eax, dword [eax]
test eax, eax
jne 0x53cf4e
xor edx, edx
jmp 0x53cf50
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x53cf61
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x53cf83
fadd dword [0x583660]
fmul dword [esp + 0x3c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x84]
xor edx, edx
fadd qword [esp + 0x14]
fstp dword [esp + 0x1c]
test eax, eax
je 0x53cfa6
mov eax, dword [eax]
test eax, eax
je 0x53cfa6
mov edx, dword [eax]
add ecx, ebp
test edx, edx
je 0x53cfb8
mov edx, dword [edx]
test edx, edx
je 0x53cfb8
mov edx, dword [edx]
test edx, edx
jne 0x53cfbc
xor edx, edx
jmp 0x53cfbe
mov edx, dword [edx]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x53cfcf
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x53cff1
fadd dword [0x583660]
fmul dword [esp + 0x3c]
mov ecx, dword [edi + 0x10]
inc ecx
fadd qword [esp + 0x14]
fstp dword [esp + 0x24]
cmp dword [edi + 8], ecx
ja 0x53d00f
push 1
mov ecx, edi
call fcn.0040a2b0
mov esi, dword [edi + 0xc]
add esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
cmp eax, esi
ja 0x53d01e
sub esi, eax
mov edx, dword [edi + 4]
cmp dword [edx + esi*4], 0
jne 0x53d03b
push 0xc
call fcn.00565941
add esp, 4
test eax, eax
je 0x53d07b
mov ecx, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
lea edx, [esp + 0x1c]
push edx
push ecx
lea edx, [edi + 0x14]
push edx
call fcn.00538ef0
inc dword [edi + 0x10]
inc ebp
add esp, 0xc
cmp ebp, dword [ebx + 0x88]
jb 0x53cf20
mov esi, dword [esp + 0x38]
push edi
mov ecx, esi
call fcn.0053edd0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0
call fcn.00565e72
push 0x5ac470
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.00565f60
int3
Function at 0x53d0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea edi, [ebx + 0xb8]
mov ecx, edi
call fcn.0040a400
xor ebp, ebp
cmp dword [ebx + 0x88], ebp
jbe 0x53d233
fldz
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul qword [0x584338]
fstp qword [esp + 0x14]
jmp 0x53d0f0
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x84]
xor eax, eax
test ecx, ecx
je 0x53d107
mov ecx, dword [ecx]
test ecx, ecx
je 0x53d107
mov eax, dword [ecx]
lea ecx, [edx + ebp]
test eax, eax
je 0x53d11a
mov eax, dword [eax]
test eax, eax
je 0x53d11a
mov eax, dword [eax]
test eax, eax
jne 0x53d11e
xor edx, edx
jmp 0x53d120
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x53d131
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x53d153
fadd dword [0x583660]
fmul dword [esp + 0x3c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x84]
xor edx, edx
fadd qword [esp + 0x14]
fstp dword [esp + 0x1c]
test eax, eax
je 0x53d176
mov eax, dword [eax]
test eax, eax
je 0x53d176
mov edx, dword [eax]
add ecx, ebp
test edx, edx
je 0x53d188
mov edx, dword [edx]
test edx, edx
je 0x53d188
mov edx, dword [edx]
test edx, edx
jne 0x53d18c
xor edx, edx
jmp 0x53d18e
mov edx, dword [edx]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x53d19f
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x53d1c1
fadd dword [0x583660]
fmul dword [esp + 0x3c]
mov ecx, dword [edi + 0x10]
inc ecx
fadd qword [esp + 0x14]
fstp dword [esp + 0x24]
cmp dword [edi + 8], ecx
ja 0x53d1df
push 1
mov ecx, edi
call fcn.0040a2b0
mov esi, dword [edi + 0xc]
add esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
cmp eax, esi
ja 0x53d1ee
sub esi, eax
mov edx, dword [edi + 4]
cmp dword [edx + esi*4], 0
jne 0x53d20b
push 0xc
call fcn.00565941
add esp, 4
test eax, eax
je 0x53d24b
mov ecx, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
lea edx, [esp + 0x1c]
push edx
push ecx
lea edx, [edi + 0x14]
push edx
call fcn.00538ef0
inc dword [edi + 0x10]
inc ebp
add esp, 0xc
cmp ebp, dword [ebx + 0x88]
jb 0x53d0f0
mov esi, dword [esp + 0x38]
push edi
mov ecx, esi
call fcn.0053edd0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0
call fcn.00565e72
push 0x5ac470
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.00565f60
int3
Function at 0x54cdb0
Capabilities:
Set current directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
cmp esi, 0x12
jb 0x54cdce
push 0
push 0x72
push str.DirectoryManager.cpp
call fcn.00515d90
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x54cde6
cmp esi, 0x11
je 0x54cde6
mov eax, dword [edi + esi*4 + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [edi + 0x50], esi
pop edi
pop esi
ret 4
Function at 0x55da70
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
sub esp, 0x804
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
xor ecx, ecx
push esi
lea eax, [ecx + 1]
push edi
lea ecx, [ecx]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
lea esi, [eax + eax]
and edx, 0x1b
mov dword [esp + ecx*4 + 0x410], eax
mov dword [esp + eax*4 + 0x10], ecx
xor edx, esi
xor eax, edx
inc ecx
and eax, 0xff
cmp ecx, 0x100
jl 0x55da90
mov eax, 1
mov ecx, 0x6df010
lea esp, [esp]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov dword [ecx], eax
add eax, eax
and edx, 0x1b
xor eax, edx
add ecx, 4
and eax, 0xff
cmp ecx, 0x6df038
jl 0x55dad0
mov byte [0x6e1138], 0x63
mov byte [0x6e009b], 0
mov ebx, 1
mov ecx, dword [esp + ebx*4 + 0x10]
add ecx, ecx
add ecx, ecx
lea edx, [esp + 0x80c]
sub edx, ecx
mov eax, dword [edx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, 0xff
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, 0xff
xor eax, edx
mov byte [ebx + 0x6e1138], al
mov byte [eax + 0x6e0038], bl
inc ebx
cmp ebx, 0x100
jl 0x55db08
xor ecx, ecx
lea ebx, [ebx]
movzx esi, byte [ecx + 0x6e1138]
mov edx, esi
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
and edx, 0x1b
lea eax, [esi + esi]
xor edx, eax
and edx, 0xff
mov eax, edx
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, edx
mov dword [ecx*4 + 0x6e0d38], eax
rol eax, 8
mov dword [ecx*4 + 0x6e0938], eax
rol eax, 8
mov dword [ecx*4 + 0x6e0538], eax
rol eax, 8
mov dword [ecx*4 + 0x6e0138], eax
movzx eax, byte [ecx + 0x6e0038]
test eax, eax
je 0x55dc36
mov esi, dword [esp + eax*4 + 0x10]
mov edx, dword [esp + 0x48]
lea eax, [esi + edx]
cdq
mov edi, 0xff
idiv edi
mov eax, dword [esp + 0x34]
add eax, esi
mov ebp, dword [esp + edx*4 + 0x410]
cdq
idiv edi
mov ebx, dword [esp + edx*4 + 0x410]
mov edx, dword [esp + 0x44]
lea eax, [esi + edx]
cdq
idiv edi
mov eax, dword [esp + 0x3c]
add eax, esi
mov esi, 0xff
mov edi, dword [esp + edx*4 + 0x410]
cdq
idiv esi
mov edx, dword [esp + edx*4 + 0x410]
jmp 0x55dc3e
xor ebp, ebp
xor ebx, ebx
xor edi, edi
xor edx, edx
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ebx
shl edx, 8
xor edx, ebp
mov dword [ecx*4 + 0x6dfc38], edx
rol edx, 8
mov dword [ecx*4 + 0x6df838], edx
rol edx, 8
mov dword [ecx*4 + 0x6df438], edx
rol edx, 8
mov dword [ecx*4 + 0x6df038], edx
inc ecx
cmp ecx, 0x100
jl 0x55db80
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00565862
add esp, 0x804
ret
Function at 0x55e200
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x11c
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x118], eax
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x124]
mov eax, edx
sub eax, 0x80
push edi
mov edi, dword [esp + 0x124]
je 0x55e251
sub eax, 0x40
je 0x55e249
sub eax, 0x40
jne 0x55e404
mov dword [edi], 0xe
jmp 0x55e257
mov dword [edi], 0xc
jmp 0x55e257
mov dword [edi], 0xa
push esi
push edx
push ecx
lea eax, [esp + 0x10]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.0055dca0
mov eax, dword [esp + 0x14]
shl eax, 4
add eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [edi]
dec ecx
add esi, 0x10
sub eax, 0x10
test ecx, ecx
jle 0x55e3ed
nop
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x6e1138]
mov edx, dword [edx*4 + 0x6df038]
movzx edi, byte [eax + 2]
movzx edi, byte [edi + 0x6e1138]
xor edx, dword [edi*4 + 0x6df438]
movzx edi, byte [eax + 1]
movzx edi, byte [edi + 0x6e1138]
xor edx, dword [edi*4 + 0x6df838]
mov edi, dword [eax]
and edi, 0xff
movzx edi, byte [edi + 0x6e1138]
xor edx, dword [edi*4 + 0x6dfc38]
dec ecx
mov dword [esi], edx
mov edx, dword [eax + 4]
movzx edi, byte [eax + 7]
movzx edi, byte [edi + 0x6e1138]
and edx, 0xff
movzx edx, byte [edx + 0x6e1138]
mov edx, dword [edx*4 + 0x6dfc38]
xor edx, dword [edi*4 + 0x6df038]
movzx edi, byte [eax + 6]
movzx edi, byte [edi + 0x6e1138]
xor edx, dword [edi*4 + 0x6df438]
movzx edi, byte [eax + 5]
movzx edi, byte [edi + 0x6e1138]
xor edx, dword [edi*4 + 0x6df838]
add esi, 0x10
mov dword [esi - 0xc], edx
mov edx, dword [eax + 8]
movzx edi, byte [eax + 0xb]
movzx edi, byte [edi + 0x6e1138]
and edx, 0xff
movzx edx, byte [edx + 0x6e1138]
mov edx, dword [edx*4 + 0x6dfc38]
xor edx, dword [edi*4 + 0x6df038]
movzx edi, byte [eax + 0xa]
movzx edi, byte [edi + 0x6e1138]
xor edx, dword [edi*4 + 0x6df438]
movzx edi, byte [eax + 9]
movzx edi, byte [edi + 0x6e1138]
xor edx, dword [edi*4 + 0x6df838]
sub eax, 0x10
mov dword [esi - 8], edx
mov edx, dword [eax + 0x1c]
movzx edi, byte [eax + 0x1f]
movzx edi, byte [edi + 0x6e1138]
and edx, 0xff
movzx edx, byte [edx + 0x6e1138]
mov edx, dword [edx*4 + 0x6dfc38]
xor edx, dword [edi*4 + 0x6df038]
movzx edi, byte [eax + 0x1e]
movzx edi, byte [edi + 0x6e1138]
xor edx, dword [edi*4 + 0x6df438]
movzx edi, byte [eax + 0x1d]
movzx edi, byte [edi + 0x6e1138]
xor edx, dword [edi*4 + 0x6df838]
mov dword [esi - 4], edx
test ecx, ecx
jg 0x55e2a0
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
pop esi
mov ecx, dword [esp + 0x11c]
pop edi
xor ecx, esp
call fcn.00565862
add esp, 0x11c
ret
Function at 0x55f190
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x730
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x72c], eax
mov eax, dword [esp + 0x738]
push ebx
mov ebx, dword [esp + 0x738]
push esi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x55f1c9
xor eax, eax
jmp 0x55f35e
test eax, eax
je 0x55f1c2
push edi
push ebx
push 1
lea eax, [esp + 0x1a]
push 1
push eax
call fcn.00565d45
push 0x200
xor edi, edi
lea ecx, [esp + 0x54c]
push edi
push ecx
add esi, 0x10
call fcn.005652b0
lea edx, [esp + 0x30]
push edx
push str._02X
push esi
call fcn.00566fe2
add esp, 0x28
test eax, eax
jle 0x55f23e
lea esp, [esp]
cmp edi, 0x200
jge 0x55f23e
mov al, byte [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
add esi, 2
push str._02X
mov byte [esp + edi + 0x540], al
push esi
inc edi
call fcn.00566fe2
add esp, 0xc
test eax, eax
jg 0x55f210
push ebp
push 0x100
lea edx, [esp + 0x540]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0055e200
mov ebp, dword [esp + 0x758]
mov cl, byte [esp + 0x75c]
add esp, 0xc
xor edi, edi
mov byte [esp + 0x13], cl
test ebp, ebp
jle 0x55f31d
push ebx
push 0x10
lea edx, [esp + 0x144]
push 1
push edx
call fcn.00565d45
add esp, 0x10
cmp eax, 0x10
jne 0x55f346
lea eax, [esp + 0x13c]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.0055e420
mov ecx, dword [esp + 0x30]
xor eax, eax
add esp, 0x10
xor dl, dl
mov byte [esp + 0x15], al
mov byte [esp + 0x14], al
lea esi, [ecx + edi + 1]
mov cl, byte [esp + eax + 0x13c]
add byte [esp + 0x13], cl
mov byte [esi + eax - 1], cl
mov cl, byte [esp + eax + 0x13d]
add byte [esp + 0x14], cl
mov byte [esi + eax], cl
mov cl, byte [esp + eax + 0x13e]
add byte [esp + 0x15], cl
mov byte [esi + eax + 1], cl
mov cl, byte [esp + eax + 0x13f]
mov byte [esi + eax + 2], cl
add eax, 4
add dl, cl
cmp eax, 0x10
jl 0x55f2c1
add dl, byte [esp + 0x15]
mov ebx, dword [esp + 0x1c]
add dl, byte [esp + 0x14]
add edi, 0x10
add byte [esp + 0x13], dl
cmp edi, ebp
jl 0x55f275
push ebx
push 1
lea edx, [esp + 0x1f]
push 1
push edx
call fcn.00565d45
mov al, byte [esp + 0x26]
add esp, 0x10
cmp al, byte [esp + 0x17]
jne 0x55f346
cmp al, byte [esp + 0x13]
jne 0x55f346
mov eax, 1
jmp 0x55f35c
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
pop edi
mov ecx, dword [esp + 0x734]
pop esi
pop ebx
xor ecx, esp
call fcn.00565862
add esp, 0x730
ret 0x10

Function at 0x565862
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6a1068]
jne 0x56586c
repz ret
jmp fcn.0056e033
Function at 0x575e3c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6a1068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0056ffc5
and dword [ebp - 0x14], 0
cmp dword [0x6e2060], 0
mov dword [ebp - 0x18], eax
jne 0x575eef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x575f97
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x575f97
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x59dd1c
push ebx
mov dword [0x6e2060], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x6e2064], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6e2068], eax
call edi
push eax
call esi
mov dword [0x6e2070], eax
test eax, eax
je 0x575eef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6e206c], eax
mov eax, dword [0x6e206c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x575f48
cmp dword [0x6e2070], ecx
je 0x575f48
push eax
call esi
push dword [0x6e2070]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x575f48
test ebx, ebx
je 0x575f48
call edi
test eax, eax
je 0x575f3f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x575f3f
test byte [ebp - 8], 1
jne 0x575f48
or dword [ebp + 0x10], 0x200000
jmp 0x575f7b
mov eax, dword [0x6e2064]
cmp eax, dword [ebp - 0x18]
je 0x575f7b
push eax
call esi
test eax, eax
je 0x575f7b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x575f7b
mov eax, dword [0x6e2068]
cmp eax, dword [ebp - 0x18]
je 0x575f7b
push eax
call esi
test eax, eax
je 0x575f7b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6e2060]
call esi
test eax, eax
je 0x575f97
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x575f99
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565862
leave
ret
Function at 0x10009de7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10009e0c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 0
push dword [ebp - 8]
call fcn.1000a401
pop ecx
pop ecx
jmp 0x10009e97
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10009e4c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10009e4a
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x10009e97
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10009e7a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10009e97
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.1002b7f6
mov dword [eax], 9
jmp 0x10009e6f
mov esp, ebp
pop ebp
ret

Function at 0x1000a367
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000a3a3
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x10c7
push 0
push 0x68fc
push 0x5435
push 0x7a88
push 0x4154
call fcn.1000ac66
add esp, 0x1c
jmp 0x1000a3fd
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1000a3d8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1000a3fd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1000a3fd
push 0x900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esp, ebp
pop ebp
ret
Function at 0x10016410
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100164a3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10016456
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10016454
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x100164a1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10016484
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 4
jge 0x100164a1
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.1002b7f6
mov dword [eax], 0x41145714
jmp 0x10016479
jmp 0x100164da
push 0
push 0xd95
push 0x5d0b
push 0x3fff
push 0xfa7
push 0x1836
push 0x7fa9
push 0x1ca9
push 0x74ab
push 0x5e8d
call fcn.10021f63
add esp, 0x28
mov esp, ebp
pop ebp
ret