joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56ddf5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x56de17
cmp dword [edi + 0x3c], 0
jne 0x56de17
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00586f5e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0056de44
pop edi
pop esi
pop ebx
ret 8

Function at 0x56de92
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00586f5e
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x56dec3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0056ded6
pop edi
pop esi
pop ebx
ret 8

Function at 0x56f512
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x56f54a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00572b03
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00572adb
jmp 0x56f556
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x56f55a
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x602bb8
mov ecx, edi
call fcn.005727e5
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x56f5ad
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x56f5c0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00572b03
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00572adb
jmp 0x56f5c0
mov ecx, esi
call fcn.00571a93
test eax, eax
je 0x56f5c0
push edi
mov ecx, eax
call fcn.0056f512
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x5711f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x571232
call fcn.00586f5e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x571232
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x571229
xor eax, eax
jmp 0x57123a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00571240
pop edi
pop esi
pop ebx
ret 4
Function at 0x586432
Capabilities:
Create http request

Disassembly:
mov eax, 0x591460
call fcn.0055690c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x58645f
call fcn.00586f5e
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x586484
push eax
push dword [esi + 4]
call fcn.005867e6
jmp 0x586490
push esi
push eax
mov ecx, 0x602f18
call fcn.005864a1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x587932
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00586f5e
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x58796f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x58796f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x587973
xor eax, eax
jmp 0x5879f1
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0056dbe7
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x5879ab
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x587995
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00587ae2
push ebx
mov edi, eax
call fcn.0056dc10
test edi, edi
pop ecx
je 0x5879ed
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.005878ab
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.005879f6
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x589020
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x58904e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x58906c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00588f86
jmp 0x58906c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x58906c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00588f86
test edi, edi
mov eax, edi
jne 0x589056
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4122f0
Capabilities:
Encode data using xor

Disassembly:
adc byte [ecx + esi*8 + 0x151c1ac], bh
mov eax, dword [0xdaf2313]
outsd dx, dword [esi]
or al, 0x7e
and ebp, dword [edi + 0x7e0c6f0d]
sbb al, 0xb1
mov esi, dword [eax + 0x2c]
shl dword [edx], 0xef
or al, 9
xchg edx, eax
xor dword [ebp - 0x31], ebx
cmp edi, 0xffffffb0
sbb byte [edi + ebx + 0x46], ch
adc dword [edx - 0x338ea332], esp
mov edi, 0x410c513c
dec esp
pop esi
cld
fist dword [esi]
jp 0x4122f9
adc ecx, edi
xlatb
mov cl, 0x3f
bound eax, qword [ecx - 0x76]
out 0x8d, eax
dec edx
in eax, dx
jmp 0x33f065a9

Function at 0x4139aa
Capabilities:
Encode data using xor

Disassembly:
lea edx, [edx + edx*8 + 0x46b1c6e9]
scasb al, byte es:[edi]
mov ah, 0xe1
mov es, word [edx - 0x2b2042e]
imul ecx, esi, 0x62
pop ds
push 0xffffffffffffff92
aad 0x56
lodsd eax, dword [esi]
sub edi, dword [ebx]
arpl si, cx
pop ebx
xchg edx, eax
lahf
pop esi
dec edi
dec esi
adc byte [edx + 0x4d6bcb9a], 0xa5
cmp dword [ecx + 0x376aa06c], ebp
mov al, byte [0xf366376a]
test dl, ch
mov al, byte [0xf366376a]
test dl, ch
push esi
shrd eax, edi, cl
mov dword [0x5b1fafcf], eax
push bp
out dx, eax
mov ecx, 0xa238088e
xor al, 0xd5
adc edx, edx
mov dword [0x20430c23], eax
jb 0x41397d
invalid

Function at 0x4418f7
Capabilities:
Encode data using xor

Disassembly:
push esi
adc eax, 0xd35f348f
mov ch, 0x75
in al, 0x2f
lahf
hlt
dec ecx
sbb eax, 0x9226cb83
mov dh, 0x9e
movsb byte es:[edi], byte [esi]
jle 0x44188b
lahf
pop ds
and al, 0xd2
scasb al, byte es:[edi]
invalid

Function at 0x44a810
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x410
lea eax, [esp + 0x208]
push esi

Function at 0x451e90
Capabilities:
Encode data using xor

Disassembly:
xlatb
lodsb al, byte [esi]
stc
out 0xd7, eax
xor byte [ebx - 0x2e11c561], cl
div dword [esi]
fcom qword [esi - 0x534c7fad]
sti
wait
rol esp, 0x18
mov dword [0x517cf306], eax
xor byte [ebx - 0x3e640454], 0xc4
sbb byte [ebx + 0x517cf306], ah
inc edx
cmp al, 0x5b
jecxz 0x451ea0
cli
lahf
adc eax, 0x56459613
jge 0x451ede
xor al, 0x5f
dec eax
sub al, 0xf2
sahf
push ebx
stc
nop
mov ebx, dword [edi + 0x37]
mov dword [0x21380e64], eax
sbb al, 0x1d
push es
rcr byte [esi], 1
test dl, 0x78
inc eax
fxch st(0)
xchg ecx, eax
cmp dword [edi], ecx
fisub word [ebx + 0x4d821559]
inc ebx
invalid
or byte [ebp + 0x43], 0xc5
fist dword [esi - 0x2222653b]
sbb ecx, ecx
dec esi
push 0xffffffffffffffa0
or esi, eax
invalid
Function at 0x4cf67a
Capabilities:
Encode data using xor

Disassembly:
invalid
adc bh, byte [eax + 0x3d]
cli
xchg esp, eax
cmp ch, cl
cmp dword [edi], 0xffffffd5
bound ebx, qword [esi - 0x2488f90e]
dec edx
dec edx
test eax, esp
cmp edx, ebp
jle 0x4cf6ce
add ch, byte [ebx]
and al, 0xe9
inc eax
sbb edx, dword [edi]
xor dword [ebx + 0x29], edi
jle 0x4cf610
mov dword [0x69ecbb83], eax
popfd
dec esp
mov edx, ecx
hlt
jecxz 0x4cf6d7
stosb byte es:[edi], al
mov ah, byte [edx]
jnp 0x4cf69d
out dx, al
call 0xca16e5af
ficomp dword [edi]
pop es
stosd dword es:[edi], eax
scasb al, byte es:[edi]
cmpsb byte [esi], byte es:[edi]
xchg edx, eax
cmp al, 0x85
dec esp
out dx, eax
fiadd dword [ecx]
pop esi
test al, 0xd6
xchg ebx, eax
xor eax, 0x53149c11
push ebx
outsb dx, byte [esi]
mov al, 0x46
out 0xf3, al
insd dword es:[edi], dx
aas
mov ch, 0x56
ja 0x4cf63a
scasb al, byte es:[edi]
mov ebx, 0x2d8cb5a4
cdq
wait
push cs
mov dl, 0xa1
ja 0x4cf736
invalid
mov al, 0xeb
xor al, 0xfd
mov byte [0x523f2d4b], al
jp 0x4cf755
wait
sbb byte [0xd5a27a1d], ah
aas
or eax, 0x90d2d853
sar byte [ebx], 1
mov ecx, 0xc61e69dd
cmp edi, dword [ecx - 0x39e19623]
fistp qword [ebx - 0x3d64ed16]
lcall 0x97b3, 0x92823eac
xchg ebx, eax
bnd jne 0x4cf764
and al, 0x5a
js 0x4cf72e
xchg esi, eax
xor al, bl
push edx
xchg edx, eax
push edi
push edx
jg 0x4cf6e7
sub esp, dword [eax + 0x432652b8]
mov edx, 0x3db30f3a
xchg byte [edx], cl
jmp 0x4cf776
movsb byte es:[edi], byte [esi]
ja 0x4cf7a4
pop ecx
adc eax, 0xdedefc30
jo 0x4cf7a4
invalid
push ebx
push esp
mov ecx, 0x7d6aedfa
lcall 0x41e2, 0x7b030888
insd dword es:[edi], dx
les esi, [esp + ecx - 0x151b0ad3]
int1
adc dl, byte [edi]
pop ss
pop ss
xchg ebp, eax
in eax, dx
ret
add dword [edi + 0x50], esi
mov edi, 0xbf563463
mov dl, 0xa3
in al, 0x2f
push ecx
cwde
push esp
push cs
dec edi
xor ch, byte [eax + ecx*4]
sub al, 0x88
sbb ch, byte [bx + di]
imul esi, dword [ebp - 0x15], 0xf8e3733f
nop
add esp, edx
mov edi, 0xf8614edb
aaa
ret
aas
in al, 0x2c
lodsd eax, dword [esi]
rcl byte [ecx - 0x4d4c3f3d], cl
pop edx
movsb byte es:[edi], byte [esi]
and al, 0x93
inc ecx
mov esp, 0xb6f6a63
inc ecx
pop edx
test eax, 0x67be77f
push 0xffffffffffffffc4
aad 0xb
popal
test esp, ecx
push ebx
mov ebx, 0xa499790
invalid
Function at 0x513676
Capabilities:
Encode data using xor

Disassembly:
pushfd
jg 0x5136b3
mov dword [ebp - 0x2a78f700], 0x7e6bd982
sbb ebp, ebp
movsb byte es:[edi], byte [esi]
sub dword [eax + 0x53], esi
popal
cmpsd dword [esi], dword es:[edi]
test dword [ebx], 0x7eaebef2
xchg edx, eax
push 0x5a
pop edx
fidiv dword [ecx + 0x3ddfa2ab]
xor dl, byte [0xf37b7c65]
fistp qword [0x7c651532]
jnp 0x513693
sub eax, 0xf9029238
xor dh, byte [ebx]
sub eax, 0x63
jo 0x5136d1
jno 0x513698
push esi
daa
and bh, 0x2a
sub byte [ebx], al
and byte [ebp + 0x10], bl
ret
sub ch, byte [eax]
add esp, dword [eax]
pop ebp
adc bl, al
inc edi
shr dword [esi - 3], cl
outsb dx, byte [esi]
inc ecx
push ss
rcr byte [edi], cl
mov ah, 0x1b
sub byte [edi + 0x2f], ch
popfd
xchg edi, eax
leave
and al, 0xee
and eax, 0x2b6d4dfc
add dword [ecx - 0x25], ecx
pop esi
das
sub eax, dword [ecx]
dec ecx
fistp dword [esi + 0x2f]
mov eax, dword [0xc7968138]
jge 0x513753
jbe 0x513726
int3
in al, dx
int 0x98
jge 0x5136b3
push es
mov eax, 0x8764036
salc
mov byte [edx - 0x5e577546], bh
rcr dword fs:[edi - 6], 0x9f
dec esi
nop
adc dword [edx], 0xffffffd1
mov eax, dword [0x268e53fc]
and dl, dl
int 0x22
push dword [esi + 0x43]
hlt
invalid

Function at 0x51e917
Capabilities:
Encode data using xor

Disassembly:
ret
inc ebp
aas
clc
pop esp
xchg esi, eax
add al, dl
pop ebp
jge 0x51e8be
xchg ecx, eax
invalid

Function at 0x530e5c
Capabilities:
Encode data using xor

Disassembly:
or byte [edi + 0x5dcf4505], cl
popfd
invalid
add dh, al
push edi
wait
cmp eax, 0xdd96d477
salc
outsb dx, byte [esi]
jb 0x530e71
push ecx
out 9, eax
mov eax, 0x923e7dcd
add edi, edx
outsb dx, byte [esi]
punpckhdq mm7, mm3
jo 0x530dd8
mov dword [eax - 0x50], eax
push 0xc38555ef
or ebp, ecx
call 0x84cce1e8
xchg edx, eax
lodsb al, byte [esi]
xchg cl, al
cwde
popal
enter 0xffffffffffff83f8, 0x48
aas
fidivr dword [esi - 0x612f73c0]
inc eax
imul esp, dword [ebx + 0x75], 0x19f21f58
jno 0x530e6a
test eax, 0xbcdff309
mov edx, 0xfd2ae401
lahf
mov dword [eax + ebx*2 + 0x75], ebp
pop ebp
hlt
scasb al, byte es:[edi]
dec ecx
xlatb
xchg ecx, eax
out 0x21, eax
xchg edi, eax
jno 0x530dff
xor edx, edx
mov cl, 0xd
fdivr qword [ecx]
leave
cmp ecx, ecx
or ch, al
or edi, dword [ecx]
stc
and al, 0x1b
sub dword [ebx - 0x51], ecx
invalid

Function at 0x5c51ac
Capabilities:
Check for software breakpoints

Disassembly:
jecxz 0x5c51ff
rol edi, 1
jl 0x5c51e9
bound ebp, qword [esi + edx*4 - 0x7c20ccf0]
cmpsd dword [esi], dword es:[edi]
jae 0x5c5228
dec ebx
aad 0x53
retf
in al, dx
rcr dh, cl
push es
fstp xword [edi + 0x3a81abf9]
and esi, dword [ebx]
lodsb al, byte [esi]
jne 0x5c5207
ljmp 0x2af1:0x431bbb80
xchg esi, eax
sub ebp, edi
sal dword [esi + ebp], cl
ficom word [eax - 0x6104cef6]
or dh, byte [ecx]
sti
sahf
sub bh, al
pop ebp
test dword [eax + 0x14], edi
cdq
out 3, al
cdq
sbb esp, ebx
mov byte [eax], cl
xor cl, byte [ebx]
retf 0xa027
arpl word [ecx - 0x35], ax
jo 0x5c5270
push esp
cmp ecx, dword [edi + 0x50]
mov ecx, 0x84d3a002
sti
mov es, word [edx + 0x41a92cef]
retf 0x7613
scasd eax, dword es:[edi]
invalid
Function at 0x405aac
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, 0x412e28
call fcn.00411610
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x20]
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x405ad7
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x50]
test eax, eax
je 0x405aed
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
jmp 0x405af4
push edi
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp + 8]
lea ecx, [esi + 0x5c]
push eax
call sub.MFC42.DLL_CString::operator_1
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov ebx, eax
test ebx, ebx
je 0x405b9c
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00406091
push dword [ebx + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
push dword [ebp + 0xc]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov eax, dword [esi + 0x54]
push 0x50
push dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
add eax, 0xd
push eax
mov eax, dword [edi]
sub eax, dword [ebp - 0x14]
add eax, 0xd
push eax
push dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTop]
call sub.MFC42.DLL_CWnd::SetWindowPos
push edi
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
cmp dword [esi + 0x44], 0
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x7c], eax
je 0x405b9c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x40854d
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
mov ebp, 0x41c238
push edi
push 0x41b5b8
mov ecx, ebp
call fcn.00401429
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
xor ebx, ebx
push ebx
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x4085d3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp eax, dword [ecx + 0x44]
je 0x4085d3
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, 0xffffffff
je 0x4085c9
call fcn.0040496f
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x98]
test eax, eax
jne 0x4085c9
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
jmp 0x408579
push 0x41b5a8
mov ecx, ebp
call fcn.00401429
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x408ed7
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
mov eax, 0x41311c
call fcn.00411610
sub esp, 0x210
mov ecx, dword [ebp + 8]
push esi
call sub.MFC42.DLL_CString::Empty
lea ecx, [ebp - 0x10]
xor esi, esi
call sub.MFC42.DLL_CString::CString_5
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::Empty
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push 1
push esi
push str.SOFTWARETencentTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x408f7c
push 0x200
lea eax, [ebp - 0x21c]
push esi
push eax
mov dword [ebp - 0x1c], esi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x200
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x41b6dc
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, esi
jne 0x408f73
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], esi
je 0x408fb5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x408fad
cmp eax, 0x10
je 0x408fad
cmp eax, 0x800
je 0x408fad
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
push 1
pop esi
jmp 0x408fb5
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::Empty
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4096cb
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x41c110
jmp 0x4096c0
mov eax, 0x4131ea
call fcn.00411610
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_5
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_5
mov dword [esi + 0x44], edi
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [ebp - 0xc]
or dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x38], edi
mov dword [esi + 4], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x5c], edi
mov dword [esi], 0x4165a8
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40978c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x413262
call fcn.00411610
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4165a8
mov eax, dword [esi + 0x38]
mov dword [ebp - 4], 9
test eax, eax
je 0x4097b8
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esi + 0x4c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x44]
mov byte [ebp - 4], 7
test eax, eax
je 0x4097dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40b22d
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x413584
call fcn.00411610
push ecx
mov eax, dword [ecx + 0x30]
and dword [ebp - 0x10], 0
push esi
lea esi, [ecx + 0x30]
cmp dword [eax - 8], 0
jne 0x40b29b
add ecx, 8
push str._config.ini
lea eax, [ebp - 0x10]
push ecx
push eax
call sub.MFC42.DLL_operator
push dword [ebp - 0x10]
and dword [ebp - 4], 0
mov eax, 0x104
mov ecx, esi
push eax
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x41c0f8
push str.Name
push str.Product
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
mov ecx, esi
call sub.MFC42.DLL_CString::ReleaseBuffer
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 8]
push esi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40b2b6
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x413598
call fcn.00411610
push ecx
mov eax, dword [ecx + 0x34]
and dword [ebp - 0x10], 0
push esi
lea esi, [ecx + 0x34]
cmp dword [eax - 8], 0
jne 0x40b324
add ecx, 8
push str._config.ini
lea eax, [ebp - 0x10]
push ecx
push eax
call sub.MFC42.DLL_operator
push dword [ebp - 0x10]
and dword [ebp - 4], 0
mov eax, 0x104
mov ecx, esi
push eax
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x41c0f8
push 0x41b8e0
push str.Product
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
mov ecx, esi
call sub.MFC42.DLL_CString::ReleaseBuffer
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 8]
push esi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
leave
ret 4