joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d6ce
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 0x1001d76b
push ebx
push esi
call fcn.1001d697
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.1001d62b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001d718
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d76a
push edi
push eax
call fcn.1001b70d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001d738
call fcn.1001c173
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d769
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d62b
add esp, 0x20
test eax, eax
jne 0x1001d757
push edi
call fcn.1001c173
jmp 0x1001d75f
push ebx
call fcn.1001c173
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 0x1001d9d8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025d10
push 0x10025d08
push str.FlsAlloc
push 0x1f
call fcn.1001d8f4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001da0c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002414c]
call esi
jmp 0x1001da12
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001da56
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025d20
push 0x10025d18
push str.FlsGetValue
push 0x21
call fcn.1001d8f4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001da8d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002414c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001da95
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025d28
push 0x10025d20
push str.FlsSetValue
push 0x22
call fcn.1001d8f4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001dacf
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002414c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023080
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100230ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100230ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x2a18742b
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x130a1920
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10002d40
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push str.notepad
call fcn.100069ab
mov eax, dword [ebp + 0xc]
add esp, 4
cmp eax, 1
jne 0x10002e56
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x10016d5c
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1001c600], eax
test eax, eax
je 0x10002e6a
call fcn.10001010
test eax, eax
je 0x10002e6a
movups xmm0, xmmword [str.qbclient.exe]
mov ax, word [0x10017f1c]
push 0x1ee
mov word [ebp - 0x1f0], ax
lea eax, [ebp - 0x1ee]
movups xmmword [ebp - 0x208], xmm0
push 0
movq xmm0, qword [0x10017f14]
push eax
movq qword [ebp - 0x1f8], xmm0
call fcn.10004920
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x10002e6a
push eax
push eax
push eax
push 0x10002cf0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10002e6a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
jne 0x10002e6a
mov eax, dword [0x1001c600]
test eax, eax
je 0x10002e6a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10006d8d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10006dcc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10006dcc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10006dcc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10006dcc
cmp dword [ecx + 0x74], 0xe
jbe 0x10006dcc
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000a697
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 0x1000a734
push ebx
push esi
call fcn.1000a660
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.1000a5f4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000a6e1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a733
push edi
push eax
call fcn.1000ba53
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000a701
call fcn.10007e06
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a732
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000a5f4
add esp, 0x20
test eax, eax
jne 0x1000a720
push edi
call fcn.10007e06
jmp 0x1000a728
push ebx
call fcn.10007e06
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 0x1000ada2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013580
push 0x10013578
push str.FlsAlloc
push 0x1f
call fcn.1000ac61
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000add6
push dword [ebp + 8]
mov ecx, esi
call dword [0x10012158]
call esi
jmp 0x1000addc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000ae20
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013590
push 0x10013588
push str.FlsGetValue
push 0x21
call fcn.1000ac61
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000ae57
push dword [ebp + 8]
mov ecx, esi
call dword [0x10012158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000ae5f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013598
push 0x10013590
push str.FlsSetValue
push 0x22
call fcn.1000ac61
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000ae99
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10012158]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10011100
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001112d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001112d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100691a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push 0x10013b0
push 0x80000001
mov edi, ecx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100699b
push ebx
push 4
pop ebx
push ebx
lea eax, [edi + 4]
push eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100139c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x1006991
push ebx
lea eax, [edi + 8]
push eax
push ebx
push 0
push 0x1001388
push dword [ebp - 4]
call esi
test eax, eax
jne 0x1006991
push ebx
add edi, 0xc
push edi
push ebx
push eax
push 0x1001370
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x1007f57
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x1007fc4
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x1007fc4
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x1007fc4
mov edx, dword [ebp + 0x18]
cmp edx, edi
je 0x1007fc4
cmp dword [edx], 1
ja 0x1007f86
mov eax, 0x80070057
jmp 0x1007fc9
mov ecx, dword [esi]
cmp ecx, 1
je 0x1007f97
cmp ecx, 2
je 0x1007f97
cmp ecx, 7
jne 0x1007f7f
push edx
push eax
push esi
push 0x22
push dword [ebp + 0xc]
xor ecx, ecx
push edi
push dword [ebp + 8]
mov word [eax], cx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, edi
je 0x1007fc0
jle 0x1007fbe
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, edi
jmp 0x1007fc9
mov eax, 0x80004003
pop edi
pop esi
pop ebp
ret 0x18

Function at 0x10084aa
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push 0x10013b0
push 0x80000001
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008512
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x100139c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1008509
cmp dword [ebp - 0xc], 4
jne 0x1008509
cmp dword [ebp - 0x10], 1
jne 0x1008509
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret
Function at 0x1008a0d
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov dword [ebp - 0xc], ecx
pop ebx
mov ecx, dword [ebp - 0xc]
push 0
push dword [ebp - 8]
call fcn.01008631
mov dword [ebp - 4], eax
test eax, eax
je 0x1008b39
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
imul esi, esi, 0x228
add esi, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebp - 8], ecx
jne 0x1008a82
cmp dword [edx + 0x230], ecx
je 0x1008a6d
push ebx
lea edx, [esi + 4]
push edx
push ebx
push ecx
push 0x10017a8
push eax
call edi
push ebx
lea eax, [esi + 0x21c]
push eax
push ebx
push 0
push 0x100178c
push dword [ebp - 4]
jmp 0x1008a97
cmp dword [edx + 0x230], ecx
je 0x1008a99
push ebx
lea edx, [esi + 8]
push edx
push ebx
push ecx
push 0x10017a8
push eax
call edi
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x234], 0
je 0x1008afa
push ebx
lea eax, [esi + 0xc]
push eax
push ebx
push 0
push 0x1001770
push dword [ebp - 4]
call edi
lea ecx, [esi + 0x10]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x10], edx
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1008ac2
sub eax, dword [ebp - 0x10]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 2
push 0
push 0x1001744
push dword [ebp - 4]
call edi
push ebx
lea eax, [esi + 0x218]
push eax
push ebx
push 0
push 0x1001718
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x238], 0
je 0x1008b30
push ebx
lea eax, [esi + 0x220]
push eax
push ebx
push 0
push 0x1001704
push dword [ebp - 4]
call edi
push ebx
add esi, 0x224
push esi
push ebx
push 0
push 0x10016e4
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x1008a28
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1008b52
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
push edi
push 1
mov dword [ebp - 8], ecx
call fcn.01008631
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esi], edi
mov dword [ebp - 4], eax
mov dword [ecx], edi
cmp eax, edi
je 0x1008c6b
mov eax, dword [ebp + 8]
push ebx
cmp dword [eax + 8], edi
je 0x1008b8e
cmp dword [eax], edi
je 0x1008c37
push edi
xor ebx, ebx
cmp dword [eax], edi
push 0xa
push edi
setne bl
push esi
push 0x1001878
push dword [ebp - 4]
lea ebx, [ebx + ebx - 1]
call fcn.010066d5
test eax, eax
jge 0x1008bb1
mov dword [esi], edi
push edi
push 0xa
push edi
push dword [ebp + 0x10]
push 0x1001858
push dword [ebp - 4]
call fcn.010066d5
mov edx, dword [ebp + 0x10]
test eax, eax
jge 0x1008bce
mov dword [edx], edi
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], edi
je 0x1008bf2
mov eax, dword [esi]
add eax, ebx
cmp eax, edi
jl 0x1008bec
cmp eax, 0xa
jle 0x1008be8
push 0xa
pop eax
jmp 0x1008bee
cmp eax, edi
jge 0x1008bee
xor eax, eax
mov dword [esi], eax
jmp 0x1008c0c
mov eax, dword [edx]
add eax, ebx
cmp eax, edi
jl 0x1008c08
cmp eax, 0xa
jle 0x1008c04
push 0xa
pop eax
jmp 0x1008c0a
cmp eax, edi
jge 0x1008c0a
xor eax, eax
mov dword [edx], eax
mov eax, dword [ecx]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx + 0xc]
je 0x1008c37
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x1008c37
mov eax, dword [esi]
cmp eax, ecx
jbe 0x1008c25
mov eax, ecx
mov dword [esi], eax
mov eax, dword [edx]
cmp eax, ecx
jbe 0x1008c2f
mov eax, ecx
mov dword [edx], eax
cmp eax, ecx
jne 0x1008c37
mov dword [esi], edi
push 4
pop ebx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push edi
push 0x1001878
push dword [ebp - 4]
call esi
push ebx
push dword [ebp + 0x10]
push ebx
push edi
push 0x1001858
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
inc edi
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret 0xc

Function at 0x100a000
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
call fcn.01009dc0
mov ebx, eax
test ebx, ebx
jne 0x100a073
and dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x10018f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a073
push esi
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10018c8
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a069
cmp dword [ebp - 8], esi
jne 0x100a069
cmp dword [ebp - 0x10], eax
je 0x100a069
inc ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x100c925
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xef8
mov eax, dword [0x100f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor ebx, ebx
push ebx
push 0x27
lea eax, [ebp - 0x20c]
push eax
push ebx
mov esi, ecx
call edi
test eax, eax
jne 0x100c986
push ebx
push 5
lea eax, [ebp - 0x20c]
push eax
push ebx
call edi
test eax, eax
jne 0x100c986
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x100c986
mov word [ebp - 0x20c], ax
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x40e
lea eax, [ebp - 0xe3c]
push eax
push 0x3f1
push dword [esi + 8]
call edi
cmp eax, ebx
jle 0x100cb47
mov ecx, 0x40d
sub ecx, eax
push ecx
lea ebx, [ebp + eax*2 - 0xe3a]
push ebx
push 0x3f0
push dword [esi + 8]
call edi
test eax, eax
jle 0x100cb47
lea eax, [ebx + eax*2]
xor ecx, ecx
mov word [eax], cx
mov word [eax + 2], cx
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x61c]
push eax
push 0x3ee
push dword [esi + 8]
call edi
test eax, eax
je 0x100cb47
xor eax, eax
xor edi, edi
push 0x54
mov word [ebp - 0x414], ax
lea eax, [ebp - 0xe94]
push edi
push eax
mov dword [ebp - 0xe40], edi
call sub.msvcrt.dll_memset
mov eax, dword [esi + 4]
mov dword [ebp - 0xe94], eax
lea eax, [ebp - 0xe3c]
mov dword [ebp - 0xe8c], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0xe7c], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xe6c], eax
lea eax, [ebp - 0x61c]
mov dword [ebp - 0xe68], eax
add esp, 0xc
lea eax, [ebp - 0xe98]
push eax
mov dword [ebp - 0xe98], 0x58
mov dword [ebp - 0xe80], 1
mov dword [ebp - 0xe78], ebx
mov dword [ebp - 0xe64], 0x1004
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x100cb8b
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100cb8b
test al, 6
jne 0x100cb8b
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.0100bd0f
test eax, eax
je 0x100cad5
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.0100c62a
mov dword [ebp - 0xe40], eax
jmp 0x100cb8b
push 0x5c
lea eax, [ebp - 0xef4]
push edi
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
push edi
mov dword [ebp - 0xef4], eax
mov eax, dword [esi + 8]
push edi
mov dword [ebp - 0xef0], eax
push edi
lea eax, [ebp - 0xef8]
push eax
mov dword [ebp - 0xef8], 0x60
mov dword [ebp - 0xee8], 0x20
mov dword [ebp - 0xee4], 0x3f9
mov dword [ebp - 0xedc], 0x3fa
mov dword [ebp - 0xed8], 0x3fb
mov dword [ebp - 0xee0], 0xfffd
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
jmp 0x100cb8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100cb5b
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0xe40], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x100cb8b
test byte [eax + 0x1c], 4
je 0x100cb8b
push dword [ebp - 0xe40]
push 0x1001b74
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006af6
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xe40]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100d5e7
leave
ret
Function at 0x100d591
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x100dca0
call fcn.0100d794
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x100f638
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x100d348
cmp eax, esi
jne 0x100d33b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x100d34b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100d322
xor esi, esi
inc esi
mov eax, dword [0x100f634]
cmp eax, esi
jne 0x100d35e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100d38d
mov eax, dword [0x100f634]
test eax, eax
jne 0x100d387
mov dword [0x100f634], esi
push 0x1001310
push 0x1001304
call fcn.0100d287
pop ecx
pop ecx
test eax, eax
je 0x100d38d
jmp 0x100d4b5
mov dword [0x100f2f8], esi
mov eax, dword [0x100f634]
cmp eax, esi
jne 0x100d3b1
push 0x1001300
push 0x10012f4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100f634], 2
test ebx, ebx
jne 0x100d3bd
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100f63c], 0
je 0x100d3e1
push 0x100f63c
call fcn.0100d709
pop ecx
test eax, eax
je 0x100d3e1
push 0
push 2
push 0
call dword [0x100f63c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x100d43d
test al, al
je 0x100d3fb
cmp dword [ebp - 0x1c], 0
jne 0x100d43d
mov al, byte [esi]
test al, al
je 0x100d40b
cmp al, 0x20
ja 0x100d40b
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100d3fb
test byte [ebp - 0x3c], 1
je 0x100d417
movzx eax, word [ebp - 0x38]
jmp 0x100d41a
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x100f2f4], eax
cmp dword [0x100f2e8], 0
jne 0x100d491
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x100d44c
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x100d45f
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x100d3e8
cmp dword [0x100f2f8], 0
jne 0x100d4a0
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100f2f4]
jmp 0x100d4c1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0100d7d9
ret
call fcn.0100d8e1
jmp 0x100d2e8

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4fdb5bb9
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5886477
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219