joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1028a144
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [0x102d19bc], 0x26bd
mov dword [0x102d19b8], 0xe95
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
add edx, edi
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x6ef
mov ecx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x1028a171
lea eax, [0x1028d2a3]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x102d19bc], 0x130b
mov dword [0x102d19b8], 0x1346
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.1028a427
mov dword [0x102d19bc], 0xb5d
mov dword [0x102d19b8], 0x6c2
call fcn.1028a373
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.1028a5be
mov ecx, eax
mov dword [0x102d19d8], eax
mov eax, esp
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
jmp 0x1028a256
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
mov ebx, edx
add ebx, edi
add ebx, 0x18
mov edi, dword [ebx]
imul ebx, eax, 0x9c
add edx, ebx
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x48]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
call fcn.1028b013
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x54]
add edx, 1
cmp edx, 0x6ef
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
jne 0x1028a256
mov eax, dword [ebp - 0x48]
add eax, 0x124881
mov dword [0x102d19bc], 0x9b1
mov ecx, dword [ebp - 0x48]
add ecx, 0x16c37
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
mov dword [esp + 4], edx
mov esi, dword [ebp - 0x3c]
mov dword [esp + 8], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
call fcn.1028a4da
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x60]
mov dword [ecx], edx
mov edx, dword [0x102d19b8]
add edx, 0x183c
mov dword [0x102d19b8], edx
mov dword [ecx + 4], 0x123000
mov dword [0x102d19bc], 0x13e1
mov edx, dword [ebp - 0x64]
mov dword [ecx + 8], edx
mov edx, dword [0x102d19b8]
add edx, 0x1510
mov dword [0x102d19b8], edx
mov dword [ecx + 0xc], 0x20a0
mov edx, dword [0x102d19bc]
add edx, 0xfffff7d7
mov dword [0x102d19bc], edx
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028a772
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1028d2a3]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x102d19b8]
add ebx, 0x1e99
mov dword [0x102d19b8], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.1028a427
mov eax, dword [0x102d19b8]
add eax, 0xfffffc44
mov dword [0x102d19bc], eax
mov dword [0x102d19b8], 0x6c2
call fcn.1028a373
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.1028a5be
xor ecx, ecx
mov dword [0x102d19b8], 0x236d
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x1028a8bf
mov eax, dword [ebp - 0x40]
mov dword [0x102d19b8], 0x1258
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 ecx, dword [0x102d19b8]
add ecx, 0x194b
mov dword [0x102d19bc], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.10289d69
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x48], ecx
mov dword [0x102d19b8], 0x341
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x4c], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x1028a8bf
mov eax, dword [ebp - 0x48]
add eax, 0x19e6
mov dword [0x102d19bc], 0x1ddf
mov dword [0x102d19b8], 0xffffefc9
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028a8ca
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x44
mov dword [ebp - 0xc], 0
mov dword [0x102d19b8], 0x1367
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x10]
add ecx, 0x3c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov esi, dword [0x102d19b8]
mov edi, esi
add edi, 0xffffec0a
mov dword [0x102d19b8], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
jmp 0x1028a9ba
mov dword [0x102d19b8], 0x2505
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov ecx, dword [ebp - 0x28]
cmp word [ecx], 0x61
mov dword [ebp - 0x2c], eax
je 0x1028aa30
jmp 0x1028aab4
mov dword [0x102d19b8], 0x264f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x2d], dl
xor eax, eax
mov cl, byte [ebp - 0x2d]
test cl, 1
mov dword [ebp - 0x2c], eax
jne 0x1028aa54
jmp 0x1028aab4
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
add edx, 0xfffff5a8
mov dword [0x102d19b8], edx
mov edx, dword [ebp - 0x1c]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
je 0x1028a9fb
jmp 0x1028aab4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
je 0x1028a98f
mov eax, dword [ebp - 0x38]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], cl
mov al, byte [ebp - 0x3d]
test al, 1
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], edx
jne 0x1028a9ba
jmp 0x1028a98f
mov dword [0x102d19b8], 0x28f
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x44], ecx
xor eax, eax
mov ecx, dword [ebp - 0x44]
cmp word [ecx], 0x6f
mov dword [ebp - 0x2c], eax
je 0x1028a927
jmp 0x1028aab4
mov dword [0x102d19bc], 0x870
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x2c], eax
je 0x1028a95c
jmp 0x1028aab4
mov dword [0x102d19b8], 0x1f9e
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x48], ecx
xor eax, eax
mov ecx, dword [ebp - 0x48]
cmp word [ecx], 0x6c
mov dword [ebp - 0x2c], eax
jne 0x1028aab4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x49], dl
xor eax, eax
mov cl, byte [ebp - 0x49]
test cl, 1
mov dword [ebp - 0x2c], eax
jne 0x1028aaa2
jmp 0x1028aab4
mov eax, 1
mov dword [0x102d19b8], 0x536
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x44
pop esi
pop edi
pop ebp
ret
Function at 0x1028ae07
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x102d19b8]
add ecx, 0xffffea42
mov dword [0x102d19bc], ecx
mov dword [ebp - 0x10], eax
call fcn.1028b1c4
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov dword [0x102d19b8], 0x1516
mov edx, dword [eax + edx + 0x78]
mov dword [0x102d19b8], 0x11d0
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov dword [0x102d19bc], 0x6c2
mov eax, edx
add eax, 0x18
mov edi, ecx
add edi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
cmp edx, 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x1028afb1
jmp 0x1028aec6
mov al, byte [ebp - 0x29]
test al, 1
jne 0x1028aef0
jmp 0x1028af77
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x34]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x29], cl
je 0x1028ae8c
jmp 0x1028af46
mov eax, dword [ebp - 0x14]
add eax, 0x24
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x40], ecx
mov eax, 0xffffefb4
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x40]
add edx, dword [esi]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
jmp 0x1028af21
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x54]
mov dword [0x102d19bc], edx
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
add esi, dword [esi + edi + 0x1c]
mov ebx, dword [ebp - 0x18]
add ebx, dword [esi + ecx*4]
mov dword [0x102d19b8], 0x1a69
mov dword [ebp - 0x28], ebx
jmp 0x1028afb1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
xor esi, esi
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edi + eax*4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
jmp 0x1028ae98
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x29]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x30], eax
jne 0x1028ae98
jmp 0x1028ae8c
mov eax, 0xffffeebe
xor ecx, ecx
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [0x102d19b8], 0x10da
mov esi, dword [ebp - 0x50]
add esi, 2
mov edi, dword [ebp - 0x24]
cmp edx, edi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], ecx
jb 0x1028af21
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028b331
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]
mov dword [0x102d19c0], 0
mov dword [0x102d19c4], 0
mov dword [0x102d19d0], 0
mov dword [0x102d19bc], 0x222c
mov dword [0x102d19b8], 0x4207
cmp eax, 0
sete bl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
xor eax, eax
mov ecx, 0x4207
mov dl, byte [ebp - 0x1d]
test dl, 1
mov esi, eax
mov edi, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
jne 0x1028b4e3
jmp 0x1028b3b4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, 0x100
add ecx, 0xfffff351
mov dword [0x102d19b8], ecx
add edx, 1
mov dword [ebp - 0x34], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102d19c0], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x102d19c4], edx
mov dword [0x102d19b8], 0x1bda
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102d19c8], cl
mov dword [0x102d19b8], 0x297
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x102d19b8], 0x2f0
mov cl, byte [0x102d19c8]
mov edx, dword [0x102d19c4]
mov byte [edi + edx], cl
mov edx, dword [0x102d19c0]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102d19c4]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x102d19bc], 0xffffe4ab
and ebx, 0xff
mov dword [0x102d19d0], ebx
mov dword [0x102d19b8], 0x1696
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x34]
mov ch, byte [edx + ebx]
mov byte [0x102d19d5], ch
mov byte [0x102d19d6], cl
xor ch, cl
mov byte [0x102d19d4], ch
mov dword [0x102d19bc], 0xffffef26
mov dword [0x102d19b8], 0x15f1
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x1028b4e3
mov eax, dword [0x102d19b8]
mov ecx, dword [0x102d19c0]
mov edx, dword [0x102d19c4]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], esi
jmp 0x1028b3b4
mov dword [0x102d19bc], 0x23ec
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028b4f5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000106e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1028b525
jmp 0x1028b656
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x1028b656
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1028a144
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
mov dword [0x102d19bc], 0x1082
mov dword [esp + 0x6c], 0x123000
mov ecx, dword [0x102d19a4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
lea eax, [0x1028afbc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov edx, dword [0x102d19a8]
mov dword [esp + 0x70], edx
mov edx, dword [0x102d19ac]
mov dword [esp + 0x64], edx
mov edx, dword [0x102d19b0]
mov dword [esp + 0x8c], edx
mov edx, dword [0x102d19b4]
mov dword [esp + 0x4c], edx
mov dword [0x102d19b8], 0xffffe113
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x1028b5cb
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1028b5df
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x10], eax
jmp 0x1028b5a8
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov dword [0x102d19b8], 0x1516
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x7c], edx
mov dword [0x102d19bc], 0x3a6
call fcn.1028a8ca
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
jne 0x1028b518
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1028a772
mov dword [0x102d19bc], 0x2491
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x20], eax
jmp 0x1028b518
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x10012d95
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10012dd4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10012dd4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10012dd4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10012dd4
cmp dword [ecx + 0x74], 0xe
jbe 0x10012dd4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10015aea
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10015b87
push ebx
push esi
call fcn.10015ab3
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10015a47
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10015b34
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10015b86
push edi
push eax
call fcn.10016aa6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10015b54
call fcn.10014611
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10015b85
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10015a47
add esp, 0x20
test eax, eax
jne 0x10015b73
push edi
call fcn.10014611
jmp 0x10015b7b
push ebx
call fcn.10014611
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10015df4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e348
push 0x1001e340
push str.FlsAlloc
push 0x1f
call fcn.10015d10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10015e28
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c150]
call esi
jmp 0x10015e2e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10015e72
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e358
push 0x1001e350
push str.FlsGetValue
push 0x21
call fcn.10015d10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10015ea9
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10015eb1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e360
push 0x1001e358
push str.FlsSetValue
push 0x22
call fcn.10015d10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10015eeb
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001c150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001b410
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b43d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b43d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4a1250
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x52000]
mov dword [edi + 0x8f70c], 0x9e71d8d9
push edi
or ebp, 0xffffffff
jmp 0x4a127a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a1281
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1270
mov eax, 1
add ebx, ebx
jne 0x4a1293
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a12a4
jne 0x4a12c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a12c3
dec eax
add ebx, ebx
jne 0x4a12b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a1288
add ebx, ebx
jne 0x4a12bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a1315
xor ecx, ecx
sub eax, 3
jb 0x4a12db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a134a
sar eax, 1
mov ebp, eax
jmp 0x4a12e6
add ebx, ebx
jne 0x4a12e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a12b4
inc ecx
add ebx, ebx
jne 0x4a12f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a12b4
add ebx, ebx
jne 0x4a1301
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a12f6
jne 0x4a1312
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a12f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a1334
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a1326
jmp 0x4a1276
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a1334
add edi, ecx
jmp 0x4a1276
pop esi
mov edi, esi
mov ecx, 0x29ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a1352
cmp byte [edi], 0x1e
jne 0x4a1352
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4a1357
lea edi, [esi + 0x9e000]
mov eax, dword [edi]
or eax, eax
je 0x4a13c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa1614]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa16a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a1384
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa16a4]
or eax, eax
je 0x4a13c0
mov dword [ebx], eax
add ebx, 4
jmp 0x4a13a1
call dword [esi + 0xa16b4]
mov ebp, dword [esi + 0xa16a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a13fa
sub esp, 0xffffff80
jmp fcn.0048d7c4
Function at 0x10001010
Capabilities:
Get file version info

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1001302c]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push edi
push 0x104
lea eax, [esp + 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10001105
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [esp + 0xc], eax
test eax, eax
jle 0x10001105
push eax
call fcn.10003cc0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0xc]
push edi
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10001105
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x10011b40
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10001105
mov eax, dword [esp + 0x10]
mov dx, word [eax + 0xc]
mov bp, word [eax + 8]
mov bx, word [eax + 0xe]
push esi
mov si, word [eax + 0xa]
push edi
mov word [esp + 0x26], dx
call fcn.10003971
add esp, 4
mov eax, 5
cmp ax, si
pop esi
jne 0x10001105
mov ecx, 6
cmp cx, bp
jne 0x10001105
mov edx, 1
cmp dx, bx
jne 0x10001105
mov eax, 0xbe
cmp ax, word [esp + 0x1e]
jne 0x10001105
pop edi
pop ebp
mov eax, edx
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.10003962
add esp, 0x11c
ret
mov ecx, dword [esp + 0x124]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10003962
add esp, 0x11c
ret

Function at 0x10003962
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001302c]
jne 0x1000396c
repz ret
jmp fcn.10004902