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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8f000]
push edi
or ebp, 0xffffffff
jmp 0x4e69c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e69c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e69b8
mov eax, 1
add ebx, ebx
jne 0x4e69db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e69ec
jne 0x4e6a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e6a0b
dec eax
add ebx, ebx
jne 0x4e69f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e69d0
add ebx, ebx
jne 0x4e6a07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e6a5d
xor ecx, ecx
sub eax, 3
jb 0x4e6a23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e6a92
sar eax, 1
mov ebp, eax
jmp 0x4e6a2e
add ebx, ebx
jne 0x4e6a2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e69fc
inc ecx
add ebx, ebx
jne 0x4e6a3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e69fc
add ebx, ebx
jne 0x4e6a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e6a3e
jne 0x4e6a5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e6a3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e6a7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e6a6e
jmp 0x4e69be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e6a7c
add edi, ecx
jmp 0x4e69be
pop esi
mov edi, esi
mov ecx, 0x4670
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e6a9a
cmp byte [edi], 0x21
jne 0x4e6a9a
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 0x4e6a9f
lea edi, [esi + 0xe3000]
mov eax, dword [edi]
or eax, eax
je 0x4e6b17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeb1ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb304]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e6acc
mov ecx, edi
jns 0x4e6afb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb308]
or eax, eax
je 0x4e6b11
mov dword [ebx], eax
add ebx, 4
jmp 0x4e6ae9
call dword [esi + 0xeb318]
mov ebp, dword [esi + 0xeb30c]
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 0x4e6b4b
sub esp, 0xffffff80
jmp 0x43c523

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10004e8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10004e9e
pop dword [ebp - 0x34]
mov eax, 0xf43a2d68
add eax, 0x1bc62136
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x53970c78
add dword [ebp - 0x44], 0xfabb38d3
mov dword [ebp - 0x40], 0xa916c156
add dword [ebp - 0x40], 0x891c8aef
mov dword [ebp - 0x3c], 0xc5162d7f
sub dword [ebp - 0x3c], 0x78c9e951
mov dword [ebp - 0x38], 0x2da7abc
sub dword [ebp - 0x38], 0x2da7abc
lea eax, [ebp - 0x44]
push eax
mov eax, 0x5c2bdfb3
sub eax, 0x4c2bcf43
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x6b5ce2c8
sub dword [ebp - 0x44], 0xf6ea7972
mov dword [ebp - 0x40], 0xe66d860e
sub dword [ebp - 0x40], 0xa5012499
mov dword [ebp - 0x3c], 0x10b6fee4
sub dword [ebp - 0x3c], 0xad479278
mov dword [ebp - 0x38], 0x8425acc2
add dword [ebp - 0x38], 0x7bda533e
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x46db5eaa
add eax, 0xc924b1be
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3c490
push 0
call eax
mov ecx, 0x5a84
xor edi, edi
add edi, eax
mov ebx, 0x47d20878
sub ebx, 0x37d10078
add ebx, dword [ebp - 0x34]
mov esi, 0xa6591caa
sub esi, 0xcdcea326
mov edx, dword [ebx]
add dword [ebp - 8], edi
xor edx, esi
add dword [ebp - 0xc], esi
mov dword [edi], edx
add edi, 0xcedb6eb4
sub edi, 0xcedb6eb0
add ebx, 4
loop 0x10004fbc
add eax, 0xddda346b
add eax, 0x22272878
xor ebx, ebx
add ebx, eax
add eax, 0xc0318083
sub eax, 0xc031807e
mov ecx, 0x755d7d1b
sub ecx, 0x655d7d1b
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401e9b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401eda
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401eda
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401eda
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401eda
cmp dword [ecx + 0x74], 0xe
jbe 0x401eda
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4027df
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + ecx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 4
jb 0x4027e7
mov eax, esi
pop esi
ret
Function at 0x40aa1d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x40ab33
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x40aa6f
push 0x19cb
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x40ab31
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfdc8
je 0x40aabf
mov dword [ebp - 8], 1
jmp 0x40aac3
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0x74a5
jge 0x40aad5
mov dword [ebp - 0xc], 1
jmp 0x40aad9
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
ja 0x40aaff
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x40aaff
mov dword [ebp - 0x14], 1
jmp 0x40ab03
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x14]
cmp dword [eax], ecx
jge 0x40ab22
mov eax, 0xbdeb
test eax, eax
jne 0x40ab22
and dword [ebp - 0x18], 0
jmp 0x40ab29
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x40ab47
push 0x3420
push 0
push 0x4858
call fcn.0040c7bd
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x425296
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x4253f8
lea eax, [ebp + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4253dc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [0xa7943c]
and eax, 1
jne 0x42530c
mov eax, dword [0xa7943c]
or eax, 1
mov dword [0xa7943c], eax
mov ecx, 0xa7941c
call fcn.00425c53
push 0x485ac1
call fcn.004796cf
pop ecx
movzx eax, byte [0xa7931b]
test eax, eax
je 0x42536c
mov ecx, 0xa7941c
call fcn.00425cf6
movzx eax, al
test eax, eax
jne 0x42536c
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
mov ecx, 0xa7941c
call fcn.00425cff
lea eax, [ebp - 0x38]
push eax
mov ecx, 0xa7941c
call fcn.00425ce8
push eax
lea ecx, [ebp - 8]
call fcn.00425c40
movzx eax, al
test eax, eax
je 0x42536c
lea ecx, [ebp - 8]
call fcn.00425d14
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x42542b
mov eax, dword [ebp - 4]
push dword [eax]
lea eax, [ebp - 0x50]
push eax
call fcn.00457df1
pop ecx
pop ecx
push 0
push 0
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x24]
call fcn.0041e59f
add esp, 0x10
mov dword [ebp - 0x10], eax
push 1
push 1
push 0xa7941c
push dword [ebp - 4]
push 0x98e
push 0xa7931b
push 0x928
push 1
lea eax, [ebp - 0x10]
push eax
push 0x104b
call fcn.004250ef
add esp, 0x28
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
lea ecx, [ebp - 0x50]
call fcn.00425bd4
jmp 0x42542b
push 0xf2b
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x42542b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
push 0x25cf
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0
call fcn.00413f30
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x42cff0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 8], 5
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 0
jmp 0x42d014
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x42d027
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x40], 0xcd546735
jmp 0x42d00d
mov dword [ebp - 8], 0
jmp 0x42d037
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1c
jl 0x42d12f
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x30], 0xffffffff
cmp dword [ebp - 8], 0
je 0x42d114
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x2c], 0xc58a012e
mov dword [ebp - 0x14], 9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
jne 0x42d08c
mov dword [ebp - 0x18], 1
jmp 0x42d090
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
sub eax, 0x7a49b874
imul eax, eax, 0
test eax, eax
je 0x42d0b0
xor eax, eax
inc eax
je 0x42d0b0
mov dword [ebp - 0x1c], 1
jmp 0x42d0b4
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xe76d238e
jb 0x42d0c6
mov dword [ebp - 0x20], 1
jmp 0x42d0ca
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xc], eax
je 0x42d0e1
mov dword [ebp - 0x28], 1
jmp 0x42d0e5
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x42d112
push 0
push 0
push 0x2de
push 0x1d17
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x42d12a
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x42d12a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x42d030
mov dword [ebp - 0xc], 0
jmp 0x42d13f
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x42d152
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x40], 0x3876a47c
jmp 0x42d138
push dword [ebp + 8]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push 0x12ab
push 0x78b0
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
push 0
push dword [ebp + 0x14]
call fcn.0042e320
add esp, 0x2c
mov esp, ebp
pop ebp
ret

Function at 0x432d5b
Capabilities:
Get system information on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x432d8c
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x432d82
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x432d8a
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x432da4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push 0
push dword [ebp - 8]
push 0x5122
call fcn.0043cf21
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x4350cd
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x435116
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x43510a
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]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x435114
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x435137
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push 0
push 0x68c0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0043445c
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x4353e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x435432
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x43541b
push 0x19cb
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x435430
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xbbca6318
jmp 0x435458
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
push 0x3684
push 0x1b05
push dword [ebp - 0x18]
call fcn.0043513b
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x44687e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
test cl, cl
je 0x446890
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop ebp
ret
cmp byte [ebp + 0x10], 0
je 0x44689e
mov eax, dword [ebp + 8]
add dword [eax], 0xe
pop ebp
ret
add dword [edx], 5
pop ebp
ret

Function at 0x4468a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x10], 0
je 0x4468cc
cmp byte [ebp + 8], 0
je 0x4468bb
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop ebp
ret
mov eax, dword [edx]
test eax, eax
jns 0x4468de
add eax, 0x100
js 0x4468c1
mov dword [edx], eax
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
test eax, eax
jns 0x4468de
add eax, 0x100
js 0x4468d5
mov dword [ecx], eax
pop ebp
ret
Function at 0x48114f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x486acc]
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.0047da99
mov dword [ebp - 0x14], eax
cmp dword [0xa792fc], esi
jne 0x481242
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4811cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x481322
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x481322
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x481322
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa792fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa79300], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa79304], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa7930c], eax
test eax, eax
je 0x48123f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa79308], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x481267
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48125a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x48127c
push 4
pop eax
jmp 0x481324
cmp dword [ebp - 0x14], esi
je 0x48127c
push dword [0xa792fc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x481261
mov eax, dword [0xa79308]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4812da
cmp dword [0xa7930c], edi
je 0x4812da
push eax
call ebx
push dword [0xa7930c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4812da
test eax, eax
je 0x4812da
call ecx
test eax, eax
je 0x4812cf
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 0x4812cf
test byte [ebp - 8], 1
jne 0x4812da
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x48130a
mov eax, dword [0xa79300]
cmp eax, edi
je 0x481307
push eax
call ebx
test eax, eax
je 0x481307
call eax
mov esi, eax
test esi, esi
je 0x481307
mov eax, dword [0xa79304]
cmp eax, edi
je 0x481307
push eax
call ebx
test eax, eax
je 0x481307
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa792fc]
call ebx
test eax, eax
je 0x481322
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x481324
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047a49b
mov esp, ebp
pop ebp
ret
Function at 0x100024f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063c15
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100988d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
push dword [esi + 0xc]
mov ecx, dword [0x10099dfc]
lea eax, [ebp - 0x14]
push eax
call fcn.1000c3d0
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::String::operator_class_ScCore::String_const__const]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
test bl, bl
je 0x1000261b
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
push 0
push 1
mov esi, dword [edi]
push 0
push eax
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x10070958]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
je 0x10002605
push 0
push dword [esi + 0x14]
lea ecx, [ebp - 0x10]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const___class_ScCore::Encoder_const__]
push 0x2c
mov dword [ebp - 4], 1
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x100025e4
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [esi + 0xc]
mov ecx, eax
push dword [esi + 4]
call fcn.1000c3d0
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
xor esi, esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, dword [0x10099dfc]
add eax, 0xc
push eax
call fcn.1000c3d0
mov ecx, dword [esi]
push eax
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10070958]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10004300
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006408f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x100988d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 0xe0000000
cmp eax, 0x20000000
jg 0x100043cc
je 0x100043c7
cmp eax, 0x80000000
je 0x100043c7
test eax, eax
jne 0x100043d3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
mov eax, dword [0x10099e0c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0xa
mov ecx, dword [eax]
test ecx, ecx
je 0x1000437e
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::acquire_void_]
mov ecx, dword [edi]
push esi
mov byte [ebp - 4], 1
call fcn.1000c3d0
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::setString_unsigned_short_int_const__]
mov eax, dword [0x10099e0c]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
je 0x100043ac
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::release_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_double___thiscall_ScCore::Variant::getDouble_void_const]
lea ecx, [ebp - 0x2c]
fstp qword [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x100043ef
xorps xmm0, xmm0
jmp 0x100043ea
cmp eax, 0x40000000
je 0x100043df
and esi, 0x1fffffff
movd xmm0, esi
jmp 0x100043e6
movzx eax, si
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4