joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1029b8d0
Capabilities:
Parse pe header

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

Function at 0x419b00
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret

Function at 0x48a3b2
Capabilities:
Parse pe header

Disassembly:
pushal
xor edx, edx
mov esi, dword fs:[edx]
lodsd eax, dword [esi]
cmp eax, 0xffffffff
je 0x48a3c2
mov esi, eax
jmp 0x48a3b8
mov edi, dword [esi + 4]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
je 0x48a3da
sub edi, 0x10000
jmp 0x48a3cb
mov ebx, edi
add ebx, dword [ebx + 0x3c]
cmp word [ebx], 0x4550
je 0x48a3e8
jmp 0x48a3cb
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x48a3ee
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x48a40d
cmp eax, dword [esp + 0x28]
je 0x48a424
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x48a404
mov edx, dword [ebx + 0x24]
add edx, ecx
movzx edx, word [edx + esi*2]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov eax, dword [eax + edx*4]
add eax, ecx
mov dword [esp + 0x1c], eax
popal
ret 8
Function at 0x100019d0
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
mov eax, 0x10053034
lea edx, [ecx + 4]
mov esi, dword [eax]
add eax, 4
mov dword [edx], esi
add edx, 4
cmp eax, 0x1005307c
jl 0x100019d9
mov eax, 0x1005307c
add ecx, 0x4c
mov edx, 0x100
mov esi, dword [eax]
add eax, 4
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x100019f7
cmp eax, sym.EoRezoTools_3.dll____C__07BJMH_disable__AA_
jl 0x100019f2
pop esi
ret

Function at 0x10002330
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov edx, ecx
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea ebp, [edx + 4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor esi, esi
mov dword [esp + 0x14], 0x12
mov eax, esi
xor edx, edx
div ecx
inc esi
add ebp, 4
mov eax, esi
movsx edi, byte [edx + ebx]
xor edx, edx
div ecx
movsx eax, byte [edx + ebx]
shl eax, 8
add edi, eax
inc esi
mov eax, esi
xor edx, edx
div ecx
movsx edx, byte [edx + ebx]
shl edx, 0x10
add edi, edx
inc esi
mov eax, esi
xor edx, edx
div ecx
movsx eax, byte [edx + ebx]
shl eax, 0x18
add edi, eax
mov eax, dword [ebp - 4]
xor eax, edi
inc esi
mov dword [ebp - 4], eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x10002353
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100027b0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10033e21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10002890
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10033eb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sub.MFC42.DLL_CString::CString_1
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 8]
mov byte [esp + 0x14], 1
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_1
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString_1
lea eax, [edi + 0x10]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x14]
mov byte [esp + 0x14], 4
push ecx
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea edx, [edi + 0x18]
lea ecx, [esi + 0x18]
push edx
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString_1
lea eax, [edi + 0x1c]
lea ecx, [esi + 0x1c]
push eax
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x20]
mov byte [esp + 0x14], 7
push ecx
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea edx, [edi + 0x24]
lea ecx, [esi + 0x24]
push edx
mov byte [esp + 0x18], 8
call sub.MFC42.DLL_CString::CString_1
lea eax, [edi + 0x28]
lea ecx, [esi + 0x28]
push eax
mov byte [esp + 0x18], 9
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x2c]
mov byte [esp + 0x14], 0xa
push ecx
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString_1
add edi, 0x30
lea ecx, [esi + 0x30]
push edi
mov byte [esp + 0x18], 0xb
call sub.MFC42.DLL_CString::CString_1
mov eax, esi
pop edi
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x10002a50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10033f41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x100036a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1003403b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_2
push 1
lea eax, [esp + 8]
push 0x1a
push eax
push 0
mov dword [esp + 0x238], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x1000370f
lea ecx, [esp]
mov dword [esp + 0x228], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
add esp, 0x22c
ret
push esi
lea ecx, [esp + 8]
push str.EoRezocache
push ecx
lea edx, [esp + 0xc]
push str._s_s
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x14]
add esp, 0x10
lea eax, [esp + 0x10c]
push eax
push ecx
call sub.MFC42.DLL_CFile::GetStatus
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x224]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x22c
ret
Function at 0x10003aa0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100340a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
push 1
lea eax, [esp + 0xc]
push 0x1a
push eax
push 0
mov dword [esp + 0x23c], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x10003bb1
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
push str.EoRezocache
push ecx
lea edx, [esp + 8]
push str._s_s
push edx
mov byte [esp + 0x23c], 1
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x10]
add esp, 0x10
lea eax, [esp + 0x10c]
push eax
push ecx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x10003b72
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp]
mov byte [esp + 0x22c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
add esp, 0x230
ret
lea ecx, [esp]
mov byte [esp + 0x22c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffdfe
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
add esp, 0x230
ret
lea ecx, [esp + 4]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x224]
mov eax, 0xfffffdfd
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x10004950
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x100341bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
xor esi, esi
lea ecx, [esp + 4]
mov dword [esp + 0xc], esi
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 1
mov ecx, eax
dec eax
test ecx, ecx
je 0x10004ac1
push ebx
push ebp
push edi
mov edi, dword [esp + 0x30]
lea ebp, [eax + 1]
mov dl, byte [edi]
mov byte [esp + esi + 0x34], dl
mov bl, byte [esp + 0x35]
inc esi
inc edi
cmp esi, 3
jne 0x10004a0f
mov al, byte [esp + 0x34]
mov dl, bl
mov cl, al
and al, 3
shl al, 4
shr dl, 4
shr cl, 2
add al, dl
mov byte [esp + 0x30], cl
mov byte [esp + 0x31], al
mov al, byte [esp + 0x36]
mov cl, bl
mov dl, al
and cl, 0xf
and al, 0x3f
shl cl, 2
shr dl, 6
add cl, dl
mov byte [esp + 0x33], al
mov byte [esp + 0x32], cl
xor esi, esi
mov ecx, dword [0x1005a054]
xor eax, eax
mov al, byte [esp + esi + 0x30]
mov dl, byte [eax + ecx]
lea ecx, [esp + 0x10]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
push eax
call fcn.10032e48
inc esi
cmp esi, 4
jl 0x100049e6
xor esi, esi
dec ebp
jne 0x10004999
test esi, esi
je 0x10004abe
cmp esi, 3
jge 0x10004a3e
mov ecx, 3
lea edi, [esp + esi + 0x34]
sub ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov bl, byte [esp + 0x35]
mov al, byte [esp + 0x34]
mov dl, bl
mov cl, al
and al, 3
shl al, 4
shr dl, 4
add al, dl
and bl, 0xf
shr cl, 2
mov byte [esp + 0x31], al
mov al, byte [esp + 0x36]
mov byte [esp + 0x30], cl
mov cl, al
shl bl, 2
shr cl, 6
add bl, cl
lea edi, [esi + 1]
mov byte [esp + 0x32], bl
and al, 0x3f
xor ebx, ebx
mov byte [esp + 0x33], al
test edi, edi
jle 0x10004aa4
mov eax, dword [0x1005a054]
xor edx, edx
mov dl, byte [esp + ebx + 0x30]
mov cl, byte [edx + eax]
mov byte [esp + 0x34], cl
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x14]
call fcn.10032e48
inc ebx
cmp ebx, edi
jl 0x10004a7f
cmp esi, 3
jge 0x10004abe
mov esi, 4
sub esi, edi
push 0x3d
lea ecx, [esp + 0x14]
call fcn.10032e48
dec esi
jne 0x10004ab0
pop edi
pop ebp
pop ebx
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x100076a0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.100075f0
cmp eax, 1
jne 0x10007785
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServicesPerfOSPerformance
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call ebp
test eax, eax
jne 0x10007759
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
lea edx, [esp + 0x18]
push 4
test edi, edi
push edx
push 4
sete cl
push eax
mov edi, ecx
push str.Disable_Performance_Counters
push esi
mov dword [esp + 0x30], edi
call ebx
test esi, esi
je 0x10007717
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServicesPerfProcPerformance
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000774e
test esi, esi
je 0x10007746
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x10007763
test esi, esi
je 0x10007759
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
lea ecx, [esp + 0x18]
push 4
push ecx
push 4
push 0
push str.Disable_Performance_Counters
push esi
mov dword [esp + 0x30], edi
call ebx
test esi, esi
je 0x10007785
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
Function at 0x10007d30
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10034428
push eax
mov al, byte [0x1005a068]
mov dword fs:[0], esp
sub esp, 0x38
push ebx
mov ebx, 1
push ebp
push esi
test bl, al
push edi
mov esi, ecx
jne 0x10007d6d
or al, bl
mov byte [0x1005a068], al
call fcn.100075f0
mov dword [0x1005a064], eax
mov al, byte [esi + 0x40]
test al, al
je 0x10007d7c
push ebx
mov ecx, esi
call sym.EoRezoTools_3.dll_public:_int___thiscall_CCpuUsage::EnablePerformaceCounters_int_
mov al, byte [0x1005a108]
xor ebp, ebp
test bl, al
mov dword [esp + 0x50], ebp
jne 0x10007dae
or al, bl
push 0x19000
mov ecx, 0x1005a110
mov byte [0x1005a108], al
call fcn.10008320
push 0x10008310
call fcn.10033540
add esp, 4
mov eax, dword [0x1005a114]
push 0xe6
lea ecx, [esp + 0x2c]
push 0x100541f4
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [0x1005a114]
mov edi, dword [0x1005a110]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 0xc
and ecx, 3
lea edx, [esp + 0x28]
rep stosb byte es:[edi], al
mov ecx, dword [0x1005a110]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push eax
push ecx
push ebp
push ebp
push edx
push reloc.WSOCK32.dll_connect
call edi
cmp eax, 0xea
jne 0x10007e4b
mov eax, dword [esp + 0x10]
mov ecx, 0x1005a110
add eax, 0x2800
push eax
mov dword [esp + 0x14], eax
call fcn.10008340
mov ecx, dword [0x1005a110]
lea eax, [esp + 0x10]
push eax
push ecx
push ebp
lea edx, [esp + 0x34]
push ebp
push edx
push reloc.WSOCK32.dll_connect
call edi
cmp eax, 0xea
je 0x10007e12
mov edi, dword [0x1005a110]
xor eax, eax
xor edx, edx
mov ecx, dword [edi + 0x18]
mov ebx, dword [edi + 0x1c]
add ecx, edi
test ebx, ebx
jbe 0x10007e84
cmp dword [ecx + 0xc], 0xe6
je 0x10007e73
add ecx, dword [ecx]
inc ebp
cmp ebp, ebx
jb 0x10007e61
jmp 0x10007e84
mov eax, dword [esp + 0x58]
push eax
push 6
push ecx
lea ecx, [esp + 0x20]
call fcn.10008260
mov ebx, dword [edi + 0x4c]
cmp byte [esi + 0x40], 0
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x24], ebx
je 0x10007ea8
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], ecx
mov byte [esi + 0x40], 0
mov dword [esi + 0x4c], edx
mov dword [esi + 0x54], ebx
xor eax, eax
jmp 0x10007ef1
mov ebp, dword [esi + 0x48]
mov ebx, eax
fild qword [edi + 0x48]
fild qword [esi + 0x50]
sub ebx, ebp
mov ebp, edx
sbb ebp, dword [esi + 0x4c]
mov dword [esp + 0x18], ebx
fsubp st(1)
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x50], ecx
fild qword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov dword [esi + 0x54], ecx
fdiv st(1)
fmul qword [0x1003afb0]
call sub.MSVCRT.dll__ftol
xor edx, edx
test eax, eax
setl dl
dec edx
fstp st(0)
and eax, edx
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4
Function at 0x100086a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10034498
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 8]
push 0x2000
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
test eax, eax
jne 0x100086f0
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1003af98
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CGdiObject::Attach
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x10]
call fcn.10032d9a
lea edx, [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call sym.EoRezoTools_3.dll_public:_int___thiscall_CDIBitmap::CreateFromBitmap_class_CDC___class_CBitmap__
lea ecx, [esp + 4]
mov esi, eax
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CClientDC::CClientDC
mov dword [esp + 4], 0x1003aa9c
lea ecx, [esp + 4]
mov dword [esp + 0x28], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x1000b960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10034a76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
test edi, edi
mov dword [esp + 0x10], esi
je 0x1000b98d
lea ebp, [edi + 4]
jmp 0x1000b98f
xor ebp, ebp
mov eax, dword [ebp]
lea ebx, [esi + 4]
lea edx, [ebp + 8]
mov dword [esp + 0x24], ebx
mov dword [ebx], eax
mov ecx, dword [ebp + 4]
mov dword [ebx + 4], ecx
push edx
lea ecx, [ebx + 8]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 0xc]
add ebp, 0x10
push ebp
lea ecx, [ebx + 0x10]
mov dword [esp + 0x20], 0
mov dword [ebx + 0xc], eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x1c], 1
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0x1c]
lea ecx, [edi + 0x24]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x20]
push ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], eax
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi], sym.EoRezoTools_3.dll_const_CIniEo::vftable
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x1000bcf0
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x10034b7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [esp + 0x234]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x2afb
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CDialog::CDialog_2
lea edi, [esi + 0x60]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x23c], ebx
call fcn.10032e7e
mov dword [edi], 0x1003b874
lea edi, [esi + 0xa0]
mov byte [esp + 0x23c], 1
mov ecx, edi
call fcn.10032e7e
mov dword [edi], 0x1003b7b4
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe0], 0x1003ab88
lea edi, [esi + 0xf0]
mov byte [esp + 0x23c], 3
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0xf4]
mov byte [esp + 0x23c], 4
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xf8]
mov byte [esp + 0x23c], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xfc]
mov byte [esp + 0x23c], 6
call sym.EoRezoTools_3.dll_public:_void___thiscall_CIniEo::constructor_void_
push 1
lea ecx, [esp + 0x1c]
push 0x1a
push ecx
push ebx
mov byte [esp + 0x24c], 7
mov dword [esi], sym.EoRezoTools_3.dll_const_CDlgEoRezoPub::vftable
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push str._sEoRezo
push eax
mov byte [esp + 0x248], 8
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ecx
call ebx
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push str._sEoRezoBho
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0
push ecx
call ebx
lea edx, [esp + 0x11c]
mov ebx, dword [esp + 0x24c]
push edx
push ebx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x1000be4f
push str.http:__www.eorezo.com_index_pub.htm
jmp 0x1000be50
push ebx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x248]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov dword [esi + 0xec], 1
mov byte [esp + 0x23c], 7
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x234]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret 0xc