joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429490
Capabilities:
Set registry value

Disassembly:
sub esp, 0x44
lea eax, [esp + 4]
push str.noisreVtnerruC_swodniW_tfosorciMERAWTFOS
push eax
call fcn.00429450
mov eax, dword [esp + 0x48]
lea ecx, [esp]
lea edx, [esp + 4]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4294e0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x50]
push 4
push ecx
push 4
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x44
ret 0xc

Function at 0x4294f0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b43ab
push eax
mov eax, dword [0x4dbcd8]
mov dword fs:[0], esp
sub esp, 0x408
mov ecx, 0x4dc0c0
push eax
call fcn.00443df0
test eax, eax
je 0x429681
push ebp
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [0x4dbcd0]
mov dword [esp + 0x41c], 0
push eax
push 0x100
push str.BufSize
push str.AutoLoad
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov ecx, 0x4dc0c0
push eax
call fcn.00443e80
test eax, eax
jne 0x429657
mov eax, dword [esp + 0x10]
test eax, eax
je 0x429657
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, ebp
mov al, byte [edi]
mov esi, edi
test al, al
je 0x4295b7
cmp al, 0x3a
je 0x4295b7
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4295ab
cmp byte [esi], 0
je 0x429656
push edi
lea ecx, [esp + 0x14]
mov byte [esi], 0
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
push 1
push ecx
push str.AutoLoad
mov ecx, 0x4dba38
lea edi, [esi + 1]
call sub.MFC42.DLL_CWinApp::GetProfileIntA
test eax, eax
je 0x4295a3
mov edx, dword [0x4dbcd0]
lea eax, [esp + 0x18]
push edx
push 0x400
push eax
mov eax, dword [esp + 0x1c]
push eax
push eax
push str.AutoLoad
call ebx
push 0
lea ecx, [esp + 0x1c]
push 0x24
push ecx
call sub.MFC42.DLL_AfxMessageBox_1
cmp eax, 6
push 0
jne 0x42963d
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov ecx, 0x4dba38
call fcn.00414a60
jmp 0x4295a3
mov eax, dword [esp + 0x14]
mov ecx, 0x4dba38
push eax
push str.AutoLoad
call sub.MFC42.DLL_CWinApp::WriteProfileInt
jmp 0x4295a3
pop ebx
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, 0x4dc0c0
call fcn.00443e60
lea ecx, [esp + 0xc]
mov dword [esp + 0x41c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x408]
mov dword fs:[0], ecx
add esp, 0x414
ret
Function at 0x429b30
Capabilities:
Check for time delay via gettickcount
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
cmp edi, eax
jne 0x429b4f
call esi
cmp edi, eax
je 0x429b49
call esi
mov edi, eax
push eax
push ebx
push edx
rdtsc
lea ebx, [ebp - 0x10]
mov dword [ebx], eax
mov dword [ebx + 4], edx
pop edx
pop ebx
pop eax
call esi
sub eax, edi
jns 0x429b6e
neg eax
cmp eax, 0x3e8
jl 0x429b66
push eax
push ebx
push edx
rdtsc
lea ebx, [ebp - 8]
mov dword [ebx], eax
mov dword [ebx + 4], edx
pop edx
pop ebx
pop eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
sub eax, ecx
mov ecx, dword [ebp - 4]
push 0
sbb ecx, ebx
push 0xf4240
push ecx
push eax
call fcn.004558f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c360
Capabilities:
Read .ini file

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x8c
test ecx, ecx
push ebx
push ebp
push esi
push edi
je 0x42c49b
mov ebx, dword [esp + 0xa0]
test ebx, ebx
je 0x42c49b
mov eax, dword [ecx + 0x10]
xor edx, edx
test eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jle 0x42c489
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp edx, dword [ecx + 0x10]
jge 0x42c478
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 0x14]
imul eax, edx
add eax, esi
je 0x42c478
mov ecx, dword [eax]
mov esi, ecx
shr esi, 0x18
cmp esi, 0x100
jae 0x42c471
test esi, esi
jbe 0x42c471
and ecx, 0xffffff
mov eax, ecx
mov edx, ecx
and eax, 0xff
and edx, 0xff00
shl eax, 0x10
or eax, edx
xor edx, edx
shr ecx, 0x10
or eax, ecx
mov ecx, eax
mov dword [esp + 0x18], eax
mov dl, ah
and ecx, 0xff
xor eax, eax
push ecx
mov al, byte [esp + 0x1e]
push edx
push eax
lea ecx, [esp + 0x28]
push str._d._d._d
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x1c]
push ebx
push 0x100
push edx
push str.NetSpeed
call ebp
cmp eax, 0x100
jae 0x42c443
test eax, eax
jbe 0x42c443
add esi, eax
shr esi, 1
push esi
lea eax, [esp + 0x60]
push 0x4d6364
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x1c]
push ebx
push ecx
push edx
push str.NetSpeed
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
je 0x42c49b
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x14]
inc edx
cmp edx, eax
mov dword [esp + 0x10], edx
jl 0x42c3a6
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8c
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret 8
Function at 0x42c4b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x5c
push edi
mov edi, dword [esp + 0x68]
test edi, edi
je 0x42c6a1
mov eax, dword [esp + 0x64]
test eax, eax
je 0x42c6a1
push ebx
push ebp
push esi
mov esi, dword [edi + 8]
xor ebp, ebp
mov ebx, 0x100
lea eax, [esi*4]
mov dword [esp + 0x1c], esi
push eax
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x1c], eax
add esp, 4
xor eax, eax
test esi, esi
mov dword [esp + 0x10], eax
jle 0x42c65b
mov ebp, dword [sym.imp.MSVCRT.dll_isdigit]
jmp 0x42c50f
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + 4]
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x42c640
cmp byte [esi], 0
je 0x42c53d
mov al, byte [esi]
cmp al, 0x2c
je 0x42c53d
movsx edx, al
push edx
call ebp
add esp, 4
test eax, eax
jne 0x42c53d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x42c522
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 0
xor edi, edi
movsx eax, byte [esi]
push eax
mov byte [esp + edi + 0x28], 0
call ebp
add esp, 4
test eax, eax
je 0x42c586
mov al, byte [esp + edi + 0x24]
mov cl, 0xa
imul cl
mov cl, byte [esi]
movsx edx, byte [esi + 1]
add al, cl
push edx
sub al, 0x30
inc esi
mov byte [esp + edi + 0x28], al
call ebp
add esp, 4
test eax, eax
jne 0x42c565
cmp byte [esi], 0x2e
jne 0x42c592
inc esi
inc edi
cmp edi, 4
jl 0x42c553
mov ecx, dword [esp + 0x25]
mov edx, dword [esp + 0x27]
xor eax, eax
and ecx, 0xff
mov ah, byte [esp + 0x24]
and edx, 0xff
and eax, 0xffff
or eax, ecx
mov ecx, dword [esp + 0x26]
shl eax, 8
shr edx, 8
or eax, edx
and ecx, 0xff
or eax, ecx
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x20], eax
and edx, 0xff
mov cl, ah
push edx
xor edx, edx
mov dl, byte [esp + 0x26]
push ecx
push edx
lea eax, [esp + 0x38]
push str._d._d._d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esp + 0x84]
add esp, 0x14
lea edx, [esp + 0x2c]
push ecx
push 0x100
push edx
push str.NetSpeed
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebx
jae 0x42c62a
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 1
mov dword [ecx], eax
jmp 0x42c640
jne 0x42c640
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [ecx + eax*4], edx
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x42c50b
mov ebp, dword [esp + 0x14]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov edi, dword [sym.imp.MSVCRT.dll_rand]
add esp, 4
call edi
cdq
idiv esi
test ebp, ebp
mov esi, edx
jle 0x42c688
call edi
cdq
idiv ebp
mov eax, dword [esp + 0x18]
mov esi, dword [eax + edx*4]
mov ecx, dword [esp + 0x18]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x5c
ret 8
xor eax, eax
pop edi
add esp, 0x5c
ret 8
Function at 0x42cac0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x428
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push esi
xor ebx, ebx
push edi
push ebx
lea eax, [esp + 0x1c]
push str.Item_d
mov dword [esp + 0x18], ecx
push eax
call ebp
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x44]
add esp, 0xc
rep stosd dword es:[edi], eax
mov ecx, dword [0x4dbcd0]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x3c]
push 0x400
push edx
lea eax, [esp + 0x24]
push 0x4db948
push eax
push str.ChannelWorld
call esi
mov al, byte [esp + 0x38]
test al, al
je 0x42cb6b
inc ebx
lea ecx, [esp + 0x18]
push ebx
push str.Item_d
push ecx
call ebp
mov edx, dword [0x4dbcd0]
add esp, 0xc
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x38]
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
push 0x400
push eax
lea ecx, [esp + 0x24]
push 0x4db948
push ecx
push str.ChannelWorld
call esi
mov al, byte [esp + 0x38]
test al, al
jne 0x42cb23
mov esi, dword [esp + 0x43c]
lea eax, [ebx*4 + 0x2c]
push eax
mov dword [esi], eax
call sub.MFC42.DLL_operatornew
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0x14], edx
je 0x42cc93
mov ecx, dword [esi]
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
push 0
and ecx, 3
push str.ChannelBtn
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov ecx, 5
mov edi, edx
push str.UserAction
mov esi, dword [eax + 0x68c4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4dbf68]
lea esi, [edx + 0x14]
mov dword [esp + 0x1c], esi
mov dword [esi], ecx
mov edx, dword [0x4dbf6c]
add esi, 4
mov dword [esi], edx
mov eax, dword [0x4dbf70]
add esi, 4
mov dword [esi], eax
mov ecx, dword [0x4dbf74]
add esi, 4
mov dword [esi], ecx
mov edx, dword [0x4dbf78]
add esi, 4
mov ecx, 0x4dba38
mov dword [esi], edx
add esi, 4
call sub.MFC42.DLL_CWinApp::GetProfileIntA
xor edi, edi
mov dword [esi], eax
test ebx, ebx
jle 0x42cc44
push edi
lea eax, [esp + 0x1c]
push str.Channel_d
push eax
add esi, 4
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push 0
push ecx
push str.UserAction
mov ecx, 0x4dba38
call sub.MFC42.DLL_CWinApp::GetProfileIntA
inc edi
mov dword [esi], eax
cmp edi, ebx
jl 0x42cc14
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
jne 0x42cc59
add eax, 4
cmp eax, esi
ja 0x42cc6a
cmp dword [eax], 0
je 0x42cc4d
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret 4
mov edx, dword [esp + 0x43c]
mov eax, dword [esp + 0x14]
push eax
mov dword [edx], 0
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret 4
mov dword [esi], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x428
ret 4
Function at 0x43183d
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4cc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4dbcd0]
push esi
mov esi, ecx
push eax
push 0x4db948
push str.HugeBtnHome
lea ecx, [esp + 0x10]
push str.NativeURL
push ecx
mov ecx, 0x4dba38
call fcn.004140c0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x431895
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea edx, [esp + 8]
push eax
push edx
mov ecx, 0x4dba38
call fcn.00419d70
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4dbcd0]
mov ecx, 0x4dba38
push eax
push 1
push str.hugeHomepopup
push str.NativeURL
call fcn.00413fd0
cmp eax, 1
jne 0x4318f0
mov ecx, dword [esp + 4]
push 5
push 0
push 0
push ecx
jmp 0x431911
mov ecx, dword [esi + 0x1e0]
test ecx, ecx
je 0x431906
mov edx, dword [esp + 4]
push edx
call fcn.00420fe0
jmp 0x43191e
mov eax, dword [esp + 4]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x432300
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20019
push 0
push str.SOFTWARELenovoSCC
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4323b4
push edi
mov ecx, 0x40
lea edi, [esp + 0xd]
mov byte [esp + 0xc], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
stosb byte es:[edi], al
mov eax, dword [esp + 0xc]
push 0
push 0
push str.CLIENT
push eax
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x4323a9
push esi
mov esi, dword [esp + 0x114]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi]
mov edx, dword [eax - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x43239c
push 0x4d6160
mov ecx, esi
call fcn.0045526c
push str.BBPC.exe
mov ecx, esi
call fcn.0045526c
pop esi
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10c
ret
Function at 0x4323dd
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4dbcd0]
push esi
mov esi, ecx
push eax
push 0x4db948
push str.HugeBtnDeposit
lea ecx, [esp + 0x10]
push str.NativeURL
push ecx
mov ecx, 0x4dba38
call fcn.004140c0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x432435
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea edx, [esp + 8]
push eax
push edx
mov ecx, 0x4dba38
call fcn.00419d70
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4dbcd0]
mov ecx, 0x4dba38
push eax
push 1
push str.hugeDepositPopup
push str.NativeURL
call fcn.00413fd0
cmp eax, 1
jne 0x432490
mov ecx, dword [esp + 4]
push 5
push 0
push 0
push ecx
jmp 0x4324b1
mov ecx, dword [esi + 0x1e0]
test ecx, ecx
je 0x4324a6
mov edx, dword [esp + 4]
push edx
call fcn.00420fe0
jmp 0x4324be
mov eax, dword [esp + 4]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x435f1b
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b53e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push esi
mov esi, ecx
push str.GLMessage
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x10], 0
mov eax, dword [0x4dc01c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x13]
push ecx
push edx
mov ecx, 0x4dc01c
mov dword [esp + 0x15c], 0
call fcn.00438da0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x435f75
mov dword [esp + 0x150], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x4360de
push eax
mov ecx, esi
call fcn.00433160
test eax, eax
mov dword [esp + 0x150], 0xffffffff
lea ecx, [esp + 0x14]
je 0x4360de
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x158]
lea ecx, [esp + 4]
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 4]
mov dword [esp + 0x150], 1
mov eax, dword [ecx - 8]
test eax, eax
jne 0x435ff5
mov edx, dword [0x4dbf8c]
push str.Guest
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x435ff5
push str._UserName:
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push 0x4dbf8c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_2
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_5
mov ecx, 7
mov esi, str.SoftwareGlobalLinkGLMessage
lea edi, [esp + 0x28]
lea eax, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28]
push eax
push ecx
push bind
mov byte [esp + 0x160], 2
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
pop edi
jne 0x43609c
lea edx, [esp + 0x1c]
lea eax, [esp + 0x44]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push str.Path
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43606d
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x44]
test al, al
je 0x43609c
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
push str.GLMessage.exe
lea ecx, [esp + 0xc]
call fcn.0045526c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4360be
mov edx, dword [esp + 4]
push 5
push 0
push edx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 8]
mov byte [esp + 0x150], 1
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x150], 0xffffffff
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x148]
pop esi
mov dword fs:[0], ecx
add esp, 0x150
ret 4

Function at 0x436680
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + 0xd0]
xor eax, eax
mov dword [esp], ecx
test edx, edx
lea edx, [esp]
setne al
push edx
push 0x42e470
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_EnumWindows]
add esp, 8
ret 4
Function at 0x436c50
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b54ab
push eax
mov eax, 0x200c
mov dword fs:[0], esp
call fcn.00455890
push esi
lea ecx, [esp + 4]
xor esi, esi
call sub.MFC42.DLL_CString::CString_5
push str.SoftwareGlobalLinkGame_
lea ecx, [esp + 8]
mov dword [esp + 0x201c], esi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x2020]
lea ecx, [esp + 4]
push eax
call fcn.0045526c
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push edx
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x436cfc
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
push esi
push str.Version
push edx
mov dword [esp + 0x24], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x436cf1
lea eax, [esp + 0x10]
push eax
call fcn.00456500
add esp, 4
mov esi, eax
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov dword [esp + 0x2018], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2010]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2018
ret 4

Function at 0x4382f0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebp
push esi
push edi
mov ebp, ecx
mov esi, 0x4c0650
mov eax, dword [0x4dc5c8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43833c
mov edx, dword [esi]
mov edi, dword [0x4dc5cc]
xor ecx, ecx
mov eax, 0x4c0650
cmp dword [eax], edx
je 0x43835e
add eax, 0x10
inc ecx
cmp eax, 0x4c06d0
jb 0x43831c
xor ecx, ecx
push edi
push 0
push ecx
push str.AdBarButtons
call ebx
test eax, eax
je 0x43834e
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.0042ee40
add esi, 0x10
cmp esi, 0x4c06d0
jb 0x438301
pop edi
pop esi
pop ebp
pop ebx
ret
shl ecx, 4
mov ecx, dword [ecx + 0x4c065c]
jmp 0x43832d

Function at 0x438e58
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b5617
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_CString::CString_5
xor edi, edi
lea ecx, [esi + 0x24]
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString_5
mov al, byte [esp + 0xb]
mov dword [esi + 0x34], edi
mov byte [esi + 0x30], al
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x4c0dac
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x439cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b57c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x30]
lea esi, [ecx + 4]
push edi
push esi
call fcn.00439de0
add esp, 8
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_5
lea eax, [edi + 0x18]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [edi + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [edi + 0x20]
mov edi, dword [edi + 0x90]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x28], 2
test eax, eax
je 0x439d4e
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
cmp edx, eax
jne 0x439d55
mov ecx, esi
call fcn.0043a6b0
mov ecx, dword [esi + 0xc]
add ecx, 0xfffffff0
mov edi, ecx
mov dword [esi + 0xc], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 8], edi
test edi, edi
mov byte [esp + 0x28], 3
je 0x439d9b
lea eax, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
push ecx
lea ecx, [edi + 4]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x14]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x18]
mov dword [edi + 0xc], eax
inc dword [esi + 0x2c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4