joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428b60
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4b42a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
mov bl, 0x42
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [0x4dbfac]
mov ecx, dword [0x4dbce8]
push eax
push ecx
lea edx, [esp + 0x1c]
push str._sMyGame__s.dat
push edx
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [0x4dbfac]
mov ecx, dword [0x4dbce8]
add esp, 0x10
lea edx, [esp + 0x10]
push eax
push ecx
push str._sMyGame__s.ini
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x24]
add esp, 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov ebp, eax
or edi, 0xffffffff
cmp ebp, edi
jne 0x428bfa
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
jmp 0x428c1b
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll__lcreat]
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x428c32
mov esi, dword [sym.imp.KERNEL32.dll__lclose]
push ebp
call esi
push edi
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x24], edi
jmp 0x428cd2
mov esi, dword [sym.imp.KERNEL32.dll__llseek]
push 2
push 0
push ebp
call esi
push 0
push 0
push ebp
mov edi, eax
call esi
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov esi, eax
test edi, edi
je 0x428c93
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll__lread]
xor ecx, ecx
test edi, edi
jle 0x428c7c
mov al, cl
mov dl, 0xa
imul dl
add al, bl
mov bl, byte [ecx + esi]
xor bl, al
mov byte [ecx + esi], bl
inc ecx
cmp ecx, edi
jl 0x428c67
mov eax, dword [esp + 0x18]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll__lclose]
push ebp
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov ecx, 0x4dbe38
call fcn.00444420
mov edx, dword [esp + 0x10]
mov ecx, 0x4dbe38
push edx
call fcn.00444620
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x429560
Capabilities:
Set registry value

Disassembly:
sub esp, 0x44
lea eax, [esp + 4]
push str.noisreVtnerruC_swodniW_tfosorciMERAWTFOS
push eax
call fcn.00429520
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 0x4295b0
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 0x4295c0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b435b
push eax
mov eax, dword [0x4dbcf8]
mov dword fs:[0], esp
sub esp, 0x408
mov ecx, 0x4dc0e4
push eax
call fcn.00443bb0
test eax, eax
je 0x429751
push ebp
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [0x4dbcf0]
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, 0x4dc0e4
push eax
call fcn.00443c40
test eax, eax
jne 0x429727
mov eax, dword [esp + 0x10]
test eax, eax
je 0x429727
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, ebp
mov al, byte [edi]
mov esi, edi
test al, al
je 0x429687
cmp al, 0x3a
je 0x429687
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x42967b
cmp byte [esi], 0
je 0x429726
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, 0x4dba58
lea edi, [esi + 1]
call sub.MFC42.DLL_CWinApp::GetProfileIntA
test eax, eax
je 0x429673
mov edx, dword [0x4dbcf0]
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 0x42970d
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov ecx, 0x4dba58
call fcn.00414aa0
jmp 0x429673
mov eax, dword [esp + 0x14]
mov ecx, 0x4dba58
push eax
push str.AutoLoad
call sub.MFC42.DLL_CWinApp::WriteProfileInt
jmp 0x429673
pop ebx
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, 0x4dc0e4
call fcn.00443c20
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 0x429c00
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 0x429c1f
call esi
cmp edi, eax
je 0x429c19
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 0x429c3e
neg eax
cmp eax, 0x3e8
jl 0x429c36
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.00455810
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c450
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 0x42c58b
mov ebx, dword [esp + 0xa0]
test ebx, ebx
je 0x42c58b
mov eax, dword [ecx + 0x10]
xor edx, edx
test eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jle 0x42c579
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp edx, dword [ecx + 0x10]
jge 0x42c568
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 0x14]
imul eax, edx
add eax, esi
je 0x42c568
mov ecx, dword [eax]
mov esi, ecx
shr esi, 0x18
cmp esi, 0x100
jae 0x42c561
test esi, esi
jbe 0x42c561
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 0x42c533
test eax, eax
jbe 0x42c533
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 0x42c58b
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 0x42c496
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 0x42c5a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x5c
push edi
mov edi, dword [esp + 0x68]
test edi, edi
je 0x42c791
mov eax, dword [esp + 0x64]
test eax, eax
je 0x42c791
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 0x42c74b
mov ebp, dword [sym.imp.MSVCRT.dll_isdigit]
jmp 0x42c5ff
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + 4]
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x42c730
cmp byte [esi], 0
je 0x42c62d
mov al, byte [esi]
cmp al, 0x2c
je 0x42c62d
movsx edx, al
push edx
call ebp
add esp, 4
test eax, eax
jne 0x42c62d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x42c612
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 0x42c676
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 0x42c655
cmp byte [esi], 0x2e
jne 0x42c682
inc esi
inc edi
cmp edi, 4
jl 0x42c643
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 0x42c71a
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 1
mov dword [ecx], eax
jmp 0x42c730
jne 0x42c730
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 0x42c5fb
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 0x42c778
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 0x42cbb0
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 [0x4dbcf0]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x3c]
push 0x400
push edx
lea eax, [esp + 0x24]
push 0x4db968
push eax
push str.ChannelWorld
call esi
mov al, byte [esp + 0x38]
test al, al
je 0x42cc5b
inc ebx
lea ecx, [esp + 0x18]
push ebx
push str.Item_d
push ecx
call ebp
mov edx, dword [0x4dbcf0]
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 0x4db968
push ecx
push str.ChannelWorld
call esi
mov al, byte [esp + 0x38]
test al, al
jne 0x42cc13
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 0x42cd83
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 [0x4dbf88]
lea esi, [edx + 0x14]
mov dword [esp + 0x1c], esi
mov dword [esi], ecx
mov edx, dword [0x4dbf8c]
add esi, 4
mov dword [esi], edx
mov eax, dword [0x4dbf90]
add esi, 4
mov dword [esi], eax
mov ecx, dword [0x4dbf94]
add esi, 4
mov dword [esi], ecx
mov edx, dword [0x4dbf98]
add esi, 4
mov ecx, 0x4dba58
mov dword [esi], edx
add esi, 4
call sub.MFC42.DLL_CWinApp::GetProfileIntA
xor edi, edi
mov dword [esi], eax
test ebx, ebx
jle 0x42cd34
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, 0x4dba58
call sub.MFC42.DLL_CWinApp::GetProfileIntA
inc edi
mov dword [esi], eax
cmp edi, ebx
jl 0x42cd04
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
jne 0x42cd49
add eax, 4
cmp eax, esi
ja 0x42cd5a
cmp dword [eax], 0
je 0x42cd3d
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 0x43192d
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4c70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4dbcf0]
push esi
mov esi, ecx
push eax
push 0x4db968
push str.HugeBtnHome
lea ecx, [esp + 0x10]
push str.NativeURL
push ecx
mov ecx, 0x4dba58
call fcn.00414100
mov eax, dword [esp + 4]
mov dword [esp + 0x14], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x431985
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, 0x4dba58
call fcn.00419e10
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 [0x4dbcf0]
mov ecx, 0x4dba58
push eax
push 1
push str.hugeHomepopup
push str.NativeURL
call fcn.00414010
cmp eax, 1
jne 0x4319e0
mov ecx, dword [esp + 4]
push 5
push 0
push 0
push ecx
jmp 0x431a01
mov ecx, dword [esi + 0x1e0]
test ecx, ecx
je 0x4319f6
mov edx, dword [esp + 4]
push edx
call fcn.004210b0
jmp 0x431a0e
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 0x4323f0
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 0x4324a4
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 0x432499
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 0x43248c
push 0x4d6160
mov ecx, esi
call fcn.0045518c
push str.BBPC.exe
mov ecx, esi
call fcn.0045518c
pop esi
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10c
ret
Function at 0x4324cd
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4f40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4dbcf0]
push esi
mov esi, ecx
push eax
push 0x4db968
push str.HugeBtnDeposit
lea ecx, [esp + 0x10]
push str.NativeURL
push ecx
mov ecx, 0x4dba58
call fcn.00414100
mov eax, dword [esp + 4]
mov dword [esp + 0x14], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x432525
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, 0x4dba58
call fcn.00419e10
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 [0x4dbcf0]
mov ecx, 0x4dba58
push eax
push 1
push str.hugeDepositPopup
push str.NativeURL
call fcn.00414010
cmp eax, 1
jne 0x432580
mov ecx, dword [esp + 4]
push 5
push 0
push 0
push ecx
jmp 0x4325a1
mov ecx, dword [esi + 0x1e0]
test ecx, ecx
je 0x432596
mov edx, dword [esp + 4]
push edx
call fcn.004210b0
jmp 0x4325ae
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 0x435e6b
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b5391
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 [0x4dc040]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x13]
push ecx
push edx
mov ecx, 0x4dc040
mov dword [esp + 0x15c], 0
call fcn.00438d20
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x435ec5
mov dword [esp + 0x150], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x43602e
push eax
mov ecx, esi
call fcn.00433250
test eax, eax
mov dword [esp + 0x150], 0xffffffff
lea ecx, [esp + 0x14]
je 0x43602e
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 0x435f45
mov edx, dword [0x4dbfac]
push str.Guest
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x435f45
push str._UserName:
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push 0x4dbfac
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 0x435fec
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 0x435fbd
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 0x435fec
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.0045518c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43600e
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 0x4365d0
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 0x42e560
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_EnumWindows]
add esp, 8
ret 4
Function at 0x436ba0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b545b
push eax
mov eax, 0x200c
mov dword fs:[0], esp
call fcn.004557b0
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.0045518c
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 0x436c4c
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 0x436c41
lea eax, [esp + 0x10]
push eax
call fcn.00456420
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 0x438240
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, 0x4c0658
mov eax, dword [0x4dc5f0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43828c
mov edx, dword [esi]
mov edi, dword [0x4dc5f4]
xor ecx, ecx
mov eax, 0x4c0658
cmp dword [eax], edx
je 0x4382ae
add eax, 0x10
inc ecx
cmp eax, 0x4c06d8
jb 0x43826c
xor ecx, ecx
push edi
push 0
push ecx
push str.AdBarButtons
call ebx
test eax, eax
je 0x43829e
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.0042ef30
add esi, 0x10
cmp esi, 0x4c06d8
jb 0x438251
pop edi
pop esi
pop ebp
pop ebx
ret
shl ecx, 4
mov ecx, dword [ecx + 0x4c0664]
jmp 0x43827d

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

Disassembly:
push 0xffffffffffffffff
push 0x4b55c7
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], 0x4c0db4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret