joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012a31d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [0x1027c0d4]
add ecx, 0xffffea42
mov dword [0x1027c0d8], ecx
mov dword [ebp - 0x10], eax
call fcn.1012a6c6
mov ecx, eax
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [0x1027c0d4], 0x1516
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov esi, dword [ecx + edx + 0x78]
mov dword [0x1027c0d4], 0x11d0
add ecx, dword [ecx + esi + 0x20]
mov dword [0x1027c0d8], 0x6c2
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + esi + 0x18]
cmp ebx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
je 0x1012a4b3
mov eax, 0xffffefb4
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x24]
mov ebx, dword [edi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x14]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x1012a437
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], ch
mov byte [ebp - 0x56], dl
mov al, byte [ebp - 0x55]
mov cl, byte [ebp - 0x56]
and al, cl
test al, 1
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x48], edx
jne 0x1012a3d5
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1012a487
jmp 0x1012a440
mov dword [0x1027c0d4], 0x10da
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov eax, 0xffffeebe
xor ecx, ecx
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
jb 0x1012a3b5
jmp 0x1012a4b3
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x40]
mov dword [0x1027c0d8], edx
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
add esi, dword [esi + edi + 0x1c]
mov ebx, dword [ebp - 0x14]
add ebx, dword [esi + ecx*4]
mov dword [0x1027c0d4], 0x1a69
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x28]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1012a851
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x4207
mov dword [0x1027c0dc], 0
mov dword [0x1027c0e0], 0
mov dword [0x1027c0ec], 0
mov dword [0x1027c0d8], 0x222c
mov dword [0x1027c0d4], 0x4207
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x1012a9f5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0xfffff351
mov dword [0x1027c0d4], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1027c0dc], edx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1027c0e0], edx
mov dword [0x1027c0d4], 0x1bda
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1027c0e4], cl
mov dword [0x1027c0d4], 0x297
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x1027c0d4], 0x2f0
mov cl, byte [0x1027c0e4]
mov edx, dword [0x1027c0e0]
mov byte [edi + edx], cl
mov edx, dword [0x1027c0dc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1027c0e0]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x1027c0d8], 0xffffe4ab
and ebx, 0xff
mov dword [0x1027c0ec], ebx
mov dword [0x1027c0d4], 0x1696
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x1027c0f1], ch
mov byte [0x1027c0f2], cl
xor ch, cl
mov byte [0x1027c0f0], ch
mov dword [0x1027c0d8], 0xffffef26
mov dword [0x1027c0d4], 0x15f1
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x1012a9f5
mov eax, dword [0x1027c0d4]
mov ecx, dword [0x1027c0dc]
mov edx, dword [0x1027c0e0]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x1012a8c6
mov dword [0x1027c0d8], 0x23ec
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1012aa07
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
jne 0x1012ab5f
lea eax, [esp + 0x88]
lea ecx, [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 0x20], ecx
call fcn.101296ca
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x68], ecx
mov dword [0x1027c0d8], 0x1082
mov dword [esp + 0x34], 0x152000
mov ecx, dword [0x1027c0c0]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x1027c0c4]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x1027c0c8]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x1027c0cc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], eax
lea eax, [0x1012a4be]
mov ecx, dword [0x1027c0d0]
mov dword [esp + 0x54], ecx
mov dword [0x1027c0d4], 0xffffe113
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x1012aaca
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x1012aade
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x1012aaa7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov dword [0x1027c0d4], 0x1516
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x38], edx
mov dword [0x1027c0d8], 0x3a6
call fcn.10129e2b
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x1012ab57
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
call fcn.10129cd0
mov dword [0x1027c0d8], 0x2491
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x78ac1201
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov esi, eax
xor ecx, ecx
cmp esi, ecx
je 0x78ae06ff
cmp word [esi], cx
je 0x78ac122b
add eax, 2
cmp word [eax], cx
jne 0x78ac121b
add eax, 2
cmp word [eax], cx
jne 0x78ac121b
push ebx
sub eax, esi
lea ebx, [eax + 2]
push edi
push ebx
call fcn.78ac6fea
mov edi, eax
pop ecx
test edi, edi
je 0x78ac124a
push ebx
push esi
push edi
call fcn.78ac6fea
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x78ac6fea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x78ac6ff9
pop dword [ebp - 0xc]
mov eax, 0xcee2d5aa
add eax, 0xa9c99a4f
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x51d86
push 0
mov eax, 0x7613f3ad
sub eax, 0xfd69e225
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x6c84b7e9
add ecx, 0x937b8964
xor edx, edx
add edx, eax
mov ebx, 0x78b5de00
add ebx, dword [ebp - 0xc]
mov esi, 0x5bd6fd27
sub dword [ebp - 4], ebx
mov edi, dword [ebx]
xor edi, esi
xor dword [ebp - 8], esi
mov dword [edx], edi
xor dword [ebp - 4], edx
add edx, 0x3e167371
add edx, 0xc1e98c93
add ebx, 0x9ab64ae9
sub ebx, 0x9ab64ae5
loop 0x78ac704e
add eax, 0xf807
mov ebx, eax
add eax, 0x3642b13c
add eax, 0xc9bd4ec9
mov ecx, 0x78aa0000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x78ac7e18
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x78ac7e54
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x78ac7e54
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x78ac7e54
xor eax, eax
cmp dword [ecx + 0x74], 0xe
jbe 0x78ac7e53
cmp dword [ecx + 0xe8], eax
setne al
ret
xor eax, eax
ret
Function at 0xed1420
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor eax, eax
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
or dword [esi + 0x2c], 0x100
or eax, 0xffffffff
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x1108]
push eax
lea ebx, [edi + 0x110c]
push ebx
push str.RemCom_stdout
lea edx, [ebp - 0x20]
push str..pipe_s_s_d
push str..pipeRemCom_stdoutuDzF135741
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], edx
mov dword [ebp - 4], 1
call fcn.00ed1af8
mov ecx, dword [edi + 0x1108]
push ecx
push ebx
push str.RemCom_stdin
push str..pipe_s_s_d
push str..pipeRemCom_stdinuDzF135741
call fcn.00ed1af8
mov edx, dword [edi + 0x1108]
push edx
push ebx
push str.RemCom_stderr
push str..pipe_s_s_d
push str..pipeRemCom_stderruDzF135741
call fcn.00ed1af8
mov edi, dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
add esp, 0x3c
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push 0
push 0
push 0xff
push 4
push 2
push str..pipeRemCom_stdoutuDzF135741
call edi
lea ecx, [ebp - 0xc]
push ecx
push 0xffffffffffffffff
push 0
push 0
push 0xff
push 4
push 2
push str..pipeRemCom_stderruDzF135741
mov dword [esi + 0x3c], eax
call edi
lea edx, [ebp - 0xc]
push edx
push 0xffffffffffffffff
push 0
push 0
push 0xff
mov dword [esi + 0x40], eax
push 4
push 1
push str..pipeRemCom_stdinuDzF135741
call edi
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x38], eax
cmp ecx, 0xffffffff
je 0xed1575
cmp dword [esi + 0x40], 0xffffffff
je 0xed1575
cmp eax, 0xffffffff
je 0xed1575
mov edi, dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push 0
push ecx
call edi
mov eax, dword [esi + 0x38]
push 0
push eax
call edi
mov ecx, dword [esi + 0x40]
push 0
push ecx
call edi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esi + 0x40]
push edx
call edi
mov eax, dword [esi + 0x38]
push eax
call edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xed15a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x44
lea eax, [ebp - 0x160]
push 0
push eax
call fcn.00ed1b80
lea ecx, [ebp - 0x160]
push ecx
push esi
mov dword [ebp - 0x160], 0x44
call fcn.00ed1420
add esp, 0x14
test eax, eax
jne 0xed15fe
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00ed186a
mov esp, ebp
pop ebp
ret
push ebx
push esi
lea edx, [ebp - 0x108]
push 0xedb244
push edx
mov dword [edi], 0
mov dword [ebp - 0x10c], 0
call fcn.00ed1af8
movsx eax, byte [esi + 0x1000]
add esp, 0xc
lea ecx, [esi + 0x1000]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x160]
push edx
push eax
mov eax, dword [esi + 0x1104]
push 0
or eax, 0x8000000
push eax
push 1
push 0
push 0
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0xed16ac
mov eax, dword [ebp - 0x11c]
mov dword [edi], 0
cmp dword [esi + 0x1210], 0
mov ebx, eax
jne 0xed16b6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00ed186a
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10c], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00ed186a
mov esp, ebp
pop ebp
ret

Function at 0xed186a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0xed1874
repz ret
jmp fcn.00ed1db0
Function at 0xed7ceb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00ed1f28
and dword [ebp - 4], 0
cmp dword [0xedfbc4], 0
mov ebx, eax
jne 0xed7d9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0xed7e4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0xed7e4d
push eax
call fcn.00ed1eb6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0xedfbc4], eax
call esi
push eax
call fcn.00ed1eb6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0xedfbc8], eax
call esi
push eax
call fcn.00ed1eb6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0xedfbcc], eax
call esi
push eax
call fcn.00ed1eb6
pop ecx
mov dword [0xedfbd4], eax
test eax, eax
je 0xed7d9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00ed1eb6
pop ecx
mov dword [0xedfbd0], eax
mov eax, dword [0xedfbd0]
cmp eax, ebx
je 0xed7df4
cmp dword [0xedfbd4], ebx
je 0xed7df4
push eax
call fcn.00ed1f31
push dword [0xedfbd4]
mov esi, eax
call fcn.00ed1f31
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0xed7df4
test edi, edi
je 0xed7df4
call esi
test eax, eax
je 0xed7deb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0xed7deb
test byte [ebp - 0xc], 1
jne 0xed7df4
or dword [ebp + 0x10], 0x200000
jmp 0xed7e2d
mov eax, dword [0xedfbc8]
cmp eax, ebx
je 0xed7e2d
push eax
call fcn.00ed1f31
pop ecx
test eax, eax
je 0xed7e2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0xed7e2d
mov eax, dword [0xedfbcc]
cmp eax, ebx
je 0xed7e2d
push eax
call fcn.00ed1f31
pop ecx
test eax, eax
je 0xed7e2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0xedfbc4]
call fcn.00ed1f31
pop ecx
test eax, eax
je 0xed7e4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0xed7e4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100043a7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100043e6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100043e6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100043e6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100043e6
cmp dword [ecx + 0x74], 0xe
jbe 0x100043e6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000706f
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 0x1000710c
push ebx
push esi
call fcn.10007038
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.10006fcc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100070b9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000710b
push edi
push eax
call fcn.1000802a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100070d9
call fcn.10005b14
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000710a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10006fcc
add esp, 0x20
test eax, eax
jne 0x100070f8
push edi
call fcn.10005b14
jmp 0x10007100
push ebx
call fcn.10005b14
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 0x10007379
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010528
push 0x10010520
push str.FlsAlloc
push 0x1f
call fcn.10007295
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100073ad
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f15c]
call esi
jmp 0x100073b3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100073f7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010538
push 0x10010530
push str.FlsGetValue
push 0x21
call fcn.10007295
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000742e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f15c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10007436
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010540
push 0x10010538
push str.FlsSetValue
push 0x22
call fcn.10007295
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007470
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000f15c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x61480dc9
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x794b2993
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4019e3
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x58ced85
jg 0x401a09
inc edi
cmp edi, 0x1f6502b1
jl 0x4019ef
cmp dword [0x283041c], 0x400
jne 0x401a49
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
push esi
call fcn.00401e41
push esi
call fcn.00401fa7
push esi
call fcn.00401fb6
add esp, 0xc
xor edi, edi
cmp edi, 0xd036
jge 0x401a5a
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x401a80
inc edi
cmp edi, 0x263ff
jl 0x401a4b
mov eax, dword [0x442574]
mov dword [0x283041c], eax
call fcn.00401746
mov edi, 0x3078f
cmp dword [0x283041c], 0x51f
jne 0x401aac
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x401a94
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10
Function at 0x404f2b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428a80]
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.00403305
and dword [ebp - 0x14], 0
cmp dword [0x44d0e0], 0
mov dword [ebp - 0x18], eax
jne 0x404fde
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405086
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405086
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44d0e0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44d0e4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44d0e8], eax
call edi
push eax
call esi
mov dword [0x44d0f0], eax
test eax, eax
je 0x404fde
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44d0ec], eax
mov eax, dword [0x44d0ec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405037
cmp dword [0x44d0f0], ecx
je 0x405037
push eax
call esi
push dword [0x44d0f0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405037
test ebx, ebx
je 0x405037
call edi
test eax, eax
je 0x40502e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40502e
test byte [ebp - 8], 1
jne 0x405037
or dword [ebp + 0x10], 0x200000
jmp 0x40506a
mov eax, dword [0x44d0e4]
cmp eax, dword [ebp - 0x18]
je 0x40506a
push eax
call esi
test eax, eax
je 0x40506a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40506a
mov eax, dword [0x44d0e8]
cmp eax, dword [ebp - 0x18]
je 0x40506a
push eax
call esi
test eax, eax
je 0x40506a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44d0e0]
call esi
test eax, eax
je 0x405086
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405088
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405296
leave
ret

Function at 0x405296
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428a80]
jne 0x4052a0
repz ret
jmp fcn.0040604f