joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b890
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4bf004]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
lea eax, [esp + 4]
push esi
push edi
push 0x20c
push 0
push eax
mov edi, edx
mov esi, ecx
call fcn.00468d80
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40b8ce
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x40b8d6
mov esi, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x40b936
xor eax, eax
lea edx, [esp + 0xc]
mov word [esp + 0x216], ax
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40b900
sub edx, esi
lea eax, [esp + 0xc]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.004042d0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00466f87
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466f87
add esp, 0x210
ret
Function at 0x415ca0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f6e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4bf004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
mov edi, dword [ebp + 0xc]
push esi
push eax
call fcn.004165b0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.004019a0
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x1c], 0
test eax, eax
jne 0x415d24
xor bl, bl
jmp 0x415d42
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x415d3c
cmp eax, 0x80
je 0x415d3c
xor bl, bl
jmp 0x415d42
mov byte [ebp - 0x14], 1
mov bl, 1
mov byte [ebp - 0x1c], bl
mov byte [ebp - 4], 2
lea eax, [ebp - 0x39]
push eax
push edi
push esi
mov byte [ebp - 0x39], 0
call fcn.00415e30
test al, al
jne 0x415d70
cmp byte [ebp - 0x39], al
je 0x415d70
cmp dword [esi + 0x14], 8
jb 0x415d69
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
test bl, bl
je 0x415d8a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x415d86
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x415daa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x415ded
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415de3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415e1f
push edx
push ecx
call fcn.00466f79
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466f87
mov esp, ebp
pop ebp
ret 8
call fcn.0046adba
int3
Function at 0x4178e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4bf004]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.00468d80
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x417977
cmp dword [esp + 8], 6
jb 0x417977
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.00466f87
add esp, 0x118
ret
Function at 0x417990
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f990
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4bf004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xc
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.wintrust.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004042d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00409380
mov ecx, eax
call fcn.00409440
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x417a45
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417a3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417b7e
push edx
push ecx
call fcn.00466f79
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push 0xb
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], eax
push str.crypt32.dll
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004042d0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.00409380
mov ecx, eax
call fcn.00409440
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x417ada
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417acd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417b83
push edx
push ecx
call fcn.00466f79
mov eax, dword [ebp - 0x10]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
test edi, edi
je 0x417b6c
test eax, eax
je 0x417b6c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push edi
call esi
push str.CryptCATAdminAcquireContext
push edi
mov dword [ebx + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push edi
mov dword [ebx + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push edi
mov dword [ebx + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push edi
mov dword [ebx + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push edi
mov dword [ebx + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push edi
mov dword [ebx + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push edi
mov dword [ebx + 0x1c], eax
call esi
push str.WinVerifyTrust
push edi
mov dword [ebx + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0046adba
call fcn.0046adba
int3
Function at 0x4272b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x4c18f0], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x4c15f0], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x4c17f0], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x4c16f0], al
inc esi
cmp esi, 0x100
jl 0x4273c0
pop esi
add esp, 0x80
ret
Function at 0x42c9a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x174
mov eax, dword [0x4bf004]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x18]
push 0x118
mov dword [esp + 0x18], eax
lea eax, [esp + 0x60]
push 0
push eax
mov dword [esp + 0x64], 0x11c
call fcn.00468d80
add esp, 0xc
lea ecx, [esp + 0x58]
call fcn.00405cc0
test al, al
je 0x42ca5e
push dword [esp + 0x60]
push dword [esp + 0x60]
push str._u._u
push esi
call fcn.004065f0
call fcn.00405c30
test al, al
mov edx, 0x40
mov ecx, 0x20
cmovne ecx, edx
push ecx
push 0x4acaac
push edi
call fcn.004065f0
lea edx, [esp + 0x88]
add esp, 0x1c
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42ca40
sub edx, ecx
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x10]
sar edx, 1
push edx
push eax
call fcn.004042d0
push 0x40
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00468d80
add esp, 0xc
mov dword [esp + 0x18], 0x40
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push 0x4acaac
push dword [esp + 0x20]
call fcn.004065f0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0x4acaac
push ebx
call fcn.004065f0
mov ecx, dword [esp + 0x188]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466f87
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43dc10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e468
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4bf004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408230
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00406370
cmp dword [ebp - 0x18], 2
jbe 0x43dd19
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x5c
jne 0x43dc8a
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x5c
jne 0x43dc8a
mov bl, 1
jmp 0x43dd82
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x2f
jne 0x43dcad
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x2f
je 0x43dd80
push 0x5c
mov edx, 0x2f
lea ecx, [ebp - 0x28]
call fcn.004061e0
mov edx, dword [ebp - 0x28]
mov eax, ecx
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x43dd80
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 4], 0x5c
jne 0x43dd80
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x43dd80
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x43dd80
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
jmp 0x43dd69
jne 0x43dd80
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x43dd80
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x43dd80
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x43dd80
push 1
push 0x4ac018
lea ecx, [ebp - 0x28]
call fcn.00408400
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43dd80
shr eax, 4
mov bl, 1
and al, 1
mov byte [esi], al
jmp 0x43dd82
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43ddbf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ddb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ddf0
push edx
push ecx
call fcn.00466f79
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466f87
mov esp, ebp
pop ebp
ret
call fcn.0046adba
int3
Function at 0x440980
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x44098b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004409a0
Function at 0x446e40
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x494cc2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4bf004]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x446e84
call fcn.00447050
cmp byte [0x4c15d0], 0
jne 0x446e97
mov eax, 0x80000001
jmp 0x447019
mov eax, dword [esi]
test eax, eax
jne 0x446f02
push 8
call fcn.00466f49
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
push 1
call fcn.00466f49
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.00468d80
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x446ef1
cmp dword [ebp + 4], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x447008
call fcn.00402ad0
test al, al
jne 0x446f44
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.004031e0
test al, al
je 0x447008
mov ecx, dword [esi]
add ecx, 4
call fcn.00402510
call fcn.00402ad0
test al, al
je 0x447008
push 0xc
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
push str.Advapi32.dll
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.004042d0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x24]
push eax
call fcn.00409380
mov ecx, eax
call fcn.00409440
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x446fcb
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446fc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44703d
push edx
push ecx
call fcn.00466f79
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
test edi, edi
je 0x447008
push str.RegOpenCurrentUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x447008
push dword [esi]
push 0x20019
call eax
test eax, eax
je 0x447008
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x447017
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.00466f87
lea esp, [ebp + 0x120]
pop ebp
ret 4
call fcn.0046adba
int3
Function at 0x44e3d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495d08
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4bf004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push 0xffffffffffffffff
push 0xffff8000
movlpd qword [ebp - 0x3c], xmm0
call fcn.0040ab60
test al, al
jne 0x44e430
mov eax, 1
jmp 0x44e5ad
push 0x10000
call fcn.0046767d
mov ebx, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
push 0x10000
push 0
push ebx
call fcn.00468d80
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x44e586
test ebx, ebx
je 0x44e586
cmp dword [eax], 0xffffffff
je 0x44e586
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x8000
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44e586
mov esi, dword [ebp - 0x20]
mov ecx, 0x8000
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ecx
add esi, ecx
nop word [eax + eax]
cmp byte [edi + 0x9c], 0
jne 0x44e57c
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [esi + ebx]
push eax
call fcn.004664b0
test al, al
je 0x44e56f
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x44e522
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x44e511
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x9c], 0
jne 0x44e57c
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
jmp 0x44e52c
add ebx, eax
cmp ebx, 0x8000
je 0x44e53c
cmp dword [ebp - 0x28], 0xf
ja 0x44e565
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
jne 0x44e4c0
mov ebx, dword [ebp - 0x20]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x44e55e
add ecx, 4
add esi, 4
sub edx, 4
jae 0x44e546
mov esi, 4
jmp 0x44e597
mov esi, 5
jmp 0x44e597
mov ebx, dword [ebp - 0x20]
mov esi, 3
jmp 0x44e597
mov eax, dword [ebp - 0x30]
mov esi, 3
mov ebx, dword [ebp - 0x20]
jmp 0x44e591
mov ebx, dword [ebp - 0x20]
mov esi, 2
jmp 0x44e597
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x44e5ab
push ebx
call fcn.004671e3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00466f87
mov esp, ebp
pop ebp
ret 0xc
Function at 0x474c0e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004748ce
Function at 0x10072e8
Capabilities:
Encode data using xor

Disassembly:
xchg esp, eax
xchg ebp, eax
leave
dec esp
cmpsb byte [esi], byte es:[edi]
push esi
insd dword es:[edi], dx
mov fs, ebp
dec ecx
add ah, bh
or byte [edx + ecx - 0x73], bh
mov bl, 0x28
stosd dword es:[edi], eax
mov ebx, 0xc69098d2
inc esi
wait
mov ah, 0x9b
push ebx
inc byte [eax]
push esp
jp 0x1007327
out 0xf, al
push edx
cwde
jne 0x1007333
mov esi, 0x4bf1c385
pop ss
invalid
jle 0x10072ac
adc al, 0xa8
jns 0x1007357
cwde
invalid
xchg ebp, eax
xor bh, ah
cmp eax, 0x3f62bf9c
pop es
stosd dword es:[edi], eax
sub byte [edx + 0x45af1784], al
test byte [edi], dl
scasd eax, dword es:[edi]
inc ebp
fcomp st(7)
lahf
and dword [ebx + 0x341e19cb], eax
push es
sti
mov edi, 0x5e76b39c
adc al, 0x4f
popal
std
pop ebp
cmp dword [eax + 0x21ae28a4], ecx
out dx, eax
xchg ebx, eax
mov dword [0xd7234198], esi
inc ecx
and edx, edi
mov eax, 0x8725ab0a
invalid

Function at 0x100eed3
Capabilities:
Encode data using xor

Disassembly:
invalid
push edi
mov byte [ecx], 0x58
cmp byte [eax], dl
push ss
pop ecx
mov edx, esi
pop ebx
adc cl, byte [edx + ebx - 0x2a]
jge 0x100ef07
mov dword [0x5d6cd6a3], eax
insb byte es:[edi], dx
pop ebp
sahf
inc esi
xlatb
xor eax, 0xe18dda9a
lea ecx, [esi - 0x5b]
loope 0x100ee54
dec esi
movsd dword es:[edi], dword [esi]
cmp ebx, dword [ecx + 0x3a]
leave
mov dl, 0xe6
dec eax
sub ebp, edx
pop es
ljmp 0x8ce5:0x7762b407
mov ah, 0x62
ja 0x100eebc
mov word [ebx], gs
xchg byte [esi - 0x49], ch
sbb edx, dword [edx]
scasd eax, dword es:[edi]
sub al, 0xcf
push edx
mov ecx, 0x4232011c
popal
xor al, byte [edx + 0x61]
test eax, 0x1e26a809
mov esi, 0x4ec510ed
jae 0x100eea8
int 0x8a
je 0x100ef14
jo 0x100eed1
dec esi
cmp dl, dh
xchg edx, eax
scasb al, byte es:[edi]
and ch, byte [ebx + 1]
ret
adc dh, byte [ecx]
jmp 0x100eec5
jmp 0x100ef5d
cmp al, 0x8d
jecxz 0x100eee5
inc edx
mov ah, 0x3f
push cs
dec eax
adc edx, dword [edi - 0x6f]
cmp al, 0xc0
int1
pop es
and ebx, ebp
push eax
invalid

Function at 0x100f6aa
Capabilities:
Encode data using xor

Disassembly:
mov bh, 0xe6
pop esi
scasb al, byte es:[edi]
and al, 0xb5
push esi
add byte [edx + edi*4 - 0x13584b5f], al
test eax, 0xa3710a63
push es
in eax, dx
mov es, word [esi + eax*2 - 0x2e59c3c4]
pop ss
aaa
scasd eax, dword es:[edi]
xor dword [ecx], ecx
mov al, byte [0x10645d2b]
mov ebp, 0xde999879
or word [ecx - 0x7964591c], cx
sub al, 0x1e
or esp, dword [ecx + 0x42d1c79e]
popfd
cwde
push ebx
adc dh, dh
add byte [ebx], bh
mov edx, eax
inc esi
push 0xffffffffffffff97
push esi
out dx, al
imul esp, dword [esi - 0x2e44da1c], 0xe0f9f9c8
cmp eax, 0x5be75d92
or ebx, dword [edx + 0x5e]
add al, byte [edi + 0x6e]
lodsd eax, dword [esi]
pop ss
rcr byte [ecx + 0x6a], cl
xchg edx, eax
lahf
jecxz 0x100f647
xchg ecx, eax
sub dword [ebp + 0xc], esi
fnclex
ret
Function at 0x103411e
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x103413e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103412a
add dl, dl
jne 0x1034149
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103419a
xor eax, eax
add dl, dl
jne 0x1034156
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103423b
add dl, dl
jne 0x1034165
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1034170
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103417b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1034186
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1034190
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1034135
mov eax, 1
add dl, dl
jne 0x10341a8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10341b3
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103419f
sub eax, ebx
mov ebx, 1
jne 0x10341e6
mov ecx, 1
add dl, dl
jne 0x10341cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10341d7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10341c3
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1034135
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10341fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1034208
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10341f4
cmp eax, 0x7d00
jae 0x103422b
cmp eax, 0x500
jb 0x1034226
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1034135
cmp eax, 0x7f
ja 0x103422e
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1034135
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x103425c
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1034135
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8