joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10059170
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10059354
pushal
mov esi, section.UPX1
lea edi, [esi - 0x31000]
push edi
or ebp, 0xffffffff
jmp 0x1005919a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100591a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10059190
mov eax, 1
add ebx, ebx
jne 0x100591b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100591c4
jne 0x100591e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100591e3
dec eax
add ebx, ebx
jne 0x100591d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x100591a8
add ebx, ebx
jne 0x100591df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10059235
xor ecx, ecx
sub eax, 3
jb 0x100591fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1005926a
sar eax, 1
mov ebp, eax
jmp 0x10059206
add ebx, ebx
jne 0x10059206
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100591d4
inc ecx
add ebx, ebx
jne 0x10059214
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100591d4
add ebx, ebx
jne 0x10059221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10059216
jne 0x10059232
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10059216
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10059254
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10059246
jmp 0x10059196
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10059254
add edi, ecx
jmp 0x10059196
pop esi
mov edi, esi
mov ecx, 0x76
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10059272
cmp byte [edi], 1
jne 0x10059272
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 0x10059277
lea edi, [esi + 0x57000]
mov eax, dword [edi]
or eax, eax
je 0x100592e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x59dec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x59e3c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100592a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x59e40]
or eax, eax
je 0x100592e0
mov dword [ebx], eax
add ebx, 4
jmp 0x100592c1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10059317
cmp al, 0xef
ja 0x1005930a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100592ec
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100592f9
mov ebp, dword [esi + 0x59e44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x1005934b
sub esp, 0xffffff80
jmp 0x10001d3f
Function at 0x40497e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x252c000]
push edi
or ebp, 0xffffffff
jmp 0x4049802
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4049809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40497f8
mov eax, 1
add ebx, ebx
jne 0x404981b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x404982c
jne 0x404984b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x404984b
dec eax
add ebx, ebx
jne 0x4049838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4049810
add ebx, ebx
jne 0x4049847
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x404989d
xor ecx, ecx
sub eax, 3
jb 0x4049863
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40498d2
sar eax, 1
mov ebp, eax
jmp 0x404986e
add ebx, ebx
jne 0x404986e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x404983c
inc ecx
add ebx, ebx
jne 0x404987c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x404983c
add ebx, ebx
jne 0x4049889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x404987e
jne 0x404989a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x404987e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40498bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40498ae
jmp 0x40497fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40498bc
add edi, ecx
jmp 0x40497fe
pop esi
mov edi, esi
mov ecx, 0x4d24
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40498da
cmp byte [edi], 0x13
jne 0x40498da
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 0x40498df
lea edi, [esi + 0x3c45000]
mov eax, dword [edi]
or eax, eax
je 0x404994e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3c49a90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3c49c48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x404990c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3c49c4c]
or eax, eax
je 0x4049948
mov dword [ebx], eax
add ebx, 4
jmp 0x4049929
call dword [esi + 0x3c49c5c]
mov ebp, dword [esi + 0x3c49c50]
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 0x4049982
sub esp, 0xffffff80
jmp 0x48f888
Function at 0x1000ba82
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1000bb2b
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1000bb03
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1000bae4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1000bb01
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10028a8b
mov dword [eax], 0xfffb
jmp 0x1000bad9
jmp 0x1000bb29
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1000bb29
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1000bb44
push 0x55f1
push 0x5185
push 0
push 0x667e
call fcn.100215c9
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x100132cb
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10013347
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001332d
push 0x2476
push 0x175d
push 0x1892
push 0
push 0x10ed
push 0xac1
push 0x49a
push 0x2652
push 0x1352
push 0x7f
push 0x18fd
push 0x1f59
call dword [sym.imp.GDI32.dll_MaskBlt]
jmp 0x10013342
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xae1dc630
jmp 0x100133fd
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100133da
mov dword [ebp - 0x1c], 0x1c51
cmp dword [ebp - 0x1c], 0x80a
jge 0x100133c8
lea eax, [ebp - 0x20]
push eax
push 0x10007acc
call fcn.1004d62b
pop ecx
pop ecx
mov dword [ebp - 4], 1
jmp 0x1001338d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x20]
jg 0x100133c8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x10007b20
call fcn.1004d62b
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1001312e
pop ecx
pop ecx
push eax
push 0x10007b04
call fcn.1004dfbc
pop ecx
pop ecx
jmp 0x10013386
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x100133fd
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x100133fd
push 0
push 0x1705
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esp, ebp
pop ebp
ret
Function at 0x10013db5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10013e1d
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10013e0e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.1004e466
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx + 8], eax
jmp 0x10013e1b
push 0x142
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x10013e5b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10013e53
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10013e51
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
jmp 0x10013e5b
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov esp, ebp
pop ebp
ret

Function at 0x10013e84
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10013f2f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10013f05
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10013ee6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10013f03
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10028a8b
mov dword [eax], 0x13b91020
jmp 0x10013edb
jmp 0x10013f2d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10013f2d
push 0x46e
push 0
push 0xa9c
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10013f4b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.10009b06
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1002377b
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10023799
push 0x3278
push 1
call fcn.10023803
pop ecx
pop ecx
jmp 0x100237ff
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100237f5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x100237ff
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esp, ebp
pop ebp
ret
Function at 0x1002407c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006598f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002427e
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10024274
push 3
lea ecx, [ebp - 0x44]
call fcn.10028987
and dword [ebp - 4], 0
mov dword [ebp - 0x70], 0x282d564c
mov dword [ebp - 0x6c], 0x282d564c
mov dword [ebp - 0x68], 0x282d564c
mov dword [ebp - 0x64], 0x282d564c
lea ecx, [ebp - 0xd]
call fcn.10028a9a
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.10028a9d
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x5c]
call fcn.10028a3a
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0xffffffff
push 1
lea ecx, [ebp - 0x50]
call fcn.10028987
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0xf6b34c26
mov dword [ebp - 0x14], 0
jmp 0x10024137
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1002414d
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.10028a8b
or dword [eax], 0xffffffff
jmp 0x10024130
mov dword [ebp - 0x14], 0
jmp 0x1002415d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10024176
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
call fcn.10028a8b
mov dword [eax], 0xbdac842f
jmp 0x10024156
push 2
lea ecx, [ebp - 0x44]
call fcn.10028a8b
cmp dword [eax], 0
je 0x10024244
push 2
lea ecx, [ebp - 0x44]
call fcn.10028a8b
push 0
lea ecx, [ebp - 0x44]
call fcn.10028a8b
push 2
lea ecx, [ebp - 0x44]
call fcn.10028a8b
push 1
lea ecx, [ebp - 0x5c]
call fcn.10028a8b
imul eax, dword [ebp - 0x2c], 0xf885
sub eax, 0x1a17e582
je 0x100241d7
push 0
lea ecx, [ebp - 0x50]
call fcn.10028a8b
cmp dword [eax], 0
je 0x100241d7
mov dword [ebp - 0x1c], 1
jmp 0x100241db
and dword [ebp - 0x1c], 0
push 2
lea ecx, [ebp - 0x44]
call fcn.10028a8b
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jg 0x10024201
push 2
lea ecx, [ebp - 0x44]
call fcn.10028a8b
cmp dword [eax], 0
jne 0x10024201
and dword [ebp - 0x20], 0
jmp 0x10024208
mov dword [ebp - 0x20], 1
push 3
lea ecx, [ebp - 0x5c]
call fcn.10028a8b
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jge 0x10024222
mov dword [ebp - 0x18], 1
jmp 0x10024226
and dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.10028a8b
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
je 0x10024244
mov dword [ebp - 0x24], 1
jmp 0x10024248
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.10028a60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10028a60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10028a60
jmp 0x1002427c
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1002428c
push 0
push 0x1d08
call fcn.1000b652
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10061145
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006b750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10051c48
mov dword [ebp - 0x14], eax
cmp dword [0x10658808], esi
jne 0x10061238
push 0x800
push esi
push 0x10007964
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100611c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10061318
push esi
push esi
push 0x10007964
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10061318
push 0x1000797c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10061318
push eax
call ebx
push 0x10007988
push edi
mov dword [0x10658808], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007998
push edi
mov dword [0x1065880c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100079ac
push edi
mov dword [0x10658810], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10658818], eax
test eax, eax
je 0x10061235
push 0x100079c8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10658814], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006125d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10061250
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10061272
push 4
pop eax
jmp 0x1006131a
cmp dword [ebp - 0x14], esi
je 0x10061272
push dword [0x10658808]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10061257
mov eax, dword [0x10658814]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100612d0
cmp dword [0x10658818], edi
je 0x100612d0
push eax
call ebx
push dword [0x10658818]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100612d0
test eax, eax
je 0x100612d0
call ecx
test eax, eax
je 0x100612c5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100612c5
test byte [ebp - 8], 1
jne 0x100612d0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10061300
mov eax, dword [0x1065880c]
cmp eax, edi
je 0x100612fd
push eax
call ebx
test eax, eax
je 0x100612fd
call eax
mov esi, eax
test esi, esi
je 0x100612fd
mov eax, dword [0x10658810]
cmp eax, edi
je 0x100612fd
push eax
call ebx
test eax, eax
je 0x100612fd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10658808]
call ebx
test eax, eax
je 0x10061318
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006131a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004f717
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420004]
jne 0x40100a
repz ret
jmp fcn.00401368

Function at 0x40425b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420004]
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.00403568
and dword [ebp - 0x14], 0
cmp dword [0x422940], 0
mov dword [ebp - 0x18], eax
jne 0x40430e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4043b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4043b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x422940], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x422944], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x422948], eax
call edi
push eax
call esi
mov dword [0x422950], eax
test eax, eax
je 0x40430e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42294c], eax
mov eax, dword [0x42294c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404367
cmp dword [0x422950], ecx
je 0x404367
push eax
call esi
push dword [0x422950]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404367
test ebx, ebx
je 0x404367
call edi
test eax, eax
je 0x40435e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40435e
test byte [ebp - 8], 1
jne 0x404367
or dword [ebp + 0x10], 0x200000
jmp 0x40439a
mov eax, dword [0x422944]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40439a
mov eax, dword [0x422948]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x422940]
call esi
test eax, eax
je 0x4043b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4043b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x41c520
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
mov edx, dword [0x1ef4de4]
mov eax, dword [0x1ef4b08]
xor ecx, ecx
mov word [0x1ef4e00], cx
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
mov dword [0x1ef4dec], 0x6e0072
mov dword [0x1ef4df0], 0x6c0065
mov dword [0x1ef4df4], 0x320033
mov dword [0x1ef4df8], 0x64002e
mov dword [0x1ef4dfc], 0x6c006c
mov dword [0x1ef4de8], 0x65006b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x41c6a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp edi, 0x182
jne 0x41c6cd
lea eax, [ebp - 0x820]
push eax
push str.wosevir
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
xor esi, esi
test edi, edi
jle 0x41c714
cmp edi, 0x2d
jne 0x41c6e1
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call fcn.0041c5e0
xor byte [ebx + esi], al
cmp edi, 0xf
jne 0x41c70f
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
inc esi
cmp esi, edi
jl 0x41c6d4
pop esi
cmp edi, 0x2d
jne 0x41c72e
mov dword [0x1ef5170], 0xa62e7790
mov dword [0x1ef5174], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x41c740
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x420dc0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1ef4b08]
push edi
mov edi, dword [0x1ef4de4]
push eax
call fcn.0041c650
add esp, 4
cmp dword [0x1ef4de4], 0x2f
jne 0x41c79d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0041c6a0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret