joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e94d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010901c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
call fcn.100e9ab0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x100e963b
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x18], 0x6a
mov edx, 1
shl edx, 3
mov byte [ebp + edx - 0x18], 0x72
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x18], 0x70
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x18], 0x79
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x18], 0x65
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x18], 0x79
mov ecx, 1
shl ecx, 4
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0x11
jae 0x100e9559
jmp 0x100e955e
call fcn.100494f1
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx - 0x18], 0
mov eax, 1
imul ecx, eax, 0xf
mov byte [ebp + ecx - 0x18], 0x74
mov edx, 1
imul eax, edx, 0xa
mov byte [ebp + eax - 0x18], 0x4f
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x18], 0x43
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x18], 0x74
mov ecx, 1
imul edx, ecx, 0xb
mov byte [ebp + edx - 0x18], 0x62
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x18], 0x72
mov ecx, 1
imul edx, ecx, 0xe
mov byte [ebp + edx - 0x18], 0x63
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x18], 0x75
mov edx, 1
imul eax, edx, 0xd
mov byte [ebp + eax - 0x18], 0x65
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x18], 0x51
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x100e9631
mov edx, dword [ebp + 0x30]
push edx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10049199
mov esp, ebp
pop ebp
ret
Function at 0x100e9650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1010901c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
call fcn.100e9ab0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100e977d
mov eax, 1
imul ecx, eax, 5
mov byte [ebp + ecx - 0x14], 0x6c
mov edx, 1
imul eax, edx, 6
mov byte [ebp + eax - 0x14], 0x6f
mov ecx, 1
imul edx, ecx, 9
mov byte [ebp + edx - 0x14], 0x53
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x14], 0x74
mov edx, 1
imul eax, edx, 0xd
mov byte [ebp + eax - 0x14], 0x65
mov ecx, 1
imul edx, ecx, 0xc
mov byte [ebp + edx - 0x14], 0x72
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x14], 0x72
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x14], 0x65
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x14], 0x65
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x14], 0x74
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x14], 0x73
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x14], 0x43
mov eax, 1
imul ecx, eax, 0xe
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0xf
jae 0x100e9727
jmp 0x100e972c
call fcn.100494f1
mov edx, dword [ebp - 0x1c]
mov byte [ebp + edx - 0x14], 0
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x14], 0x6f
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x14], 0x43
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100e9773
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10049199
mov esp, ebp
pop ebp
ret
Function at 0x100e9790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1010901c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 0
call fcn.100e9ab0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x100e9955
mov eax, 1
imul ecx, eax, 0x16
mov byte [ebp + ecx - 0x20], 0x74
mov edx, 1
imul eax, edx, 0xc
mov byte [ebp + eax - 0x20], 0x69
mov ecx, 1
imul edx, ecx, 0x11
mov byte [ebp + edx - 0x20], 0x74
mov eax, 1
imul ecx, eax, 0x15
mov byte [ebp + ecx - 0x20], 0x6e
mov edx, 1
imul eax, edx, 0x18
mov byte [ebp + eax - 0x20], 0x78
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x20], 0x46
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x20], 0x43
mov ecx, 1
imul edx, ecx, 0x12
mov byte [ebp + edx - 0x20], 0x65
mov eax, 1
imul ecx, eax, 0x19
mov byte [ebp + ecx - 0x20], 0x74
mov edx, 1
imul eax, edx, 0xb
mov byte [ebp + eax - 0x20], 0x74
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0x20], 0x72
mov edx, 1
shl edx, 4
mov byte [ebp + edx - 0x20], 0x61
mov eax, 1
shl eax, 3
mov byte [ebp + eax - 0x20], 0x43
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x20], 0x72
mov eax, 1
imul ecx, eax, 0xd
mov byte [ebp + ecx - 0x20], 0x66
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x20], 0x65
mov eax, 1
imul ecx, eax, 0x13
mov byte [ebp + ecx - 0x20], 0x43
mov edx, 1
imul eax, edx, 0xa
mov byte [ebp + eax - 0x20], 0x72
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x20], 0x65
mov eax, 1
imul ecx, eax, 0x17
mov byte [ebp + ecx - 0x20], 0x65
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x20], 0x74
mov ecx, 1
imul edx, ecx, 0x14
mov byte [ebp + edx - 0x20], 0x6f
mov eax, 1
imul ecx, eax, 0xe
mov byte [ebp + ecx - 0x20], 0x69
mov edx, 1
imul eax, edx, 0x1a
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1b
jae 0x100e98f6
jmp 0x100e98fb
call fcn.100494f1
mov ecx, dword [ebp - 0x28]
mov byte [ebp + ecx - 0x20], 0
mov edx, 1
imul eax, edx, 0xf
mov byte [ebp + eax - 0x20], 0x63
mov ecx, 1
imul edx, ecx, 6
mov byte [ebp + edx - 0x20], 0x65
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x20], 0x65
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x100e994b
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10049199
mov esp, ebp
pop ebp
ret
Function at 0x100e9970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1010901c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
call fcn.100e9ab0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100e9a9c
mov eax, 1
shl eax, 3
mov byte [ebp + eax - 0x14], 0x53
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x14], 0x43
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x14], 0x6f
mov edx, 1
imul eax, edx, 0xb
mov byte [ebp + eax - 0x14], 0x72
mov ecx, 1
imul edx, ecx, 9
mov byte [ebp + edx - 0x14], 0x74
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x14], 0x65
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x14], 0x4f
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x14], 0x72
mov ecx, 1
imul edx, ecx, 6
mov byte [ebp + edx - 0x14], 0x65
mov eax, 1
imul ecx, eax, 0xd
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0xe
jae 0x100e9a20
jmp 0x100e9a25
call fcn.100494f1
mov edx, dword [ebp - 0x1c]
mov byte [ebp + edx - 0x14], 0
mov eax, 1
imul ecx, eax, 5
mov byte [ebp + ecx - 0x14], 0x70
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x14], 0x74
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x14], 0x6e
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x14], 0x65
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100e9a92
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10049199
mov esp, ebp
pop ebp
ret

Function at 0x22ff210
Capabilities:
Encode data using xor

Disassembly:
jmp 0x22ff21a
pushal
call 0x22ff220
pop ebp
sub ebp, 0x10
sub ebp, 0x1eff210
jmp 0x22ff236
mov eax, 0x1eff210
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b2
mov edx, 0xdf20de32
xor byte [eax], dl
inc eax
dec ecx
jne 0x22ff24d
jmp 0x22ff260
mov ecx, 0xebbb9ff
xor dh, byte [edx]
xor dh, byte [ebx + 0x3232caf3]
xor dh, byte [ecx]
dec dword [edx + 0x32323234]
mov byte [edx], bl
xor dh, byte [edx]
xor al, ch
sal byte [ecx], 1
cli
mov ecx, 0x32323eb3
xor dh, byte [ecx]
idiv dword [edi - 0x4431e9aa]
push ss
bound ebx, qword [edx - 0x52]
jno 0x22ff2a5
xor bl, byte [edx + 0x46]
pushfd
cld
xor esi, dword [ebx]
push ds
push ss
pop edx
sbb eax, 0xda72d4b5
aaa
xor dh, byte [edx]
xor bl, bl
add dh, byte [edx]
xor dh, byte [edx]
mov edi, 0xbbce1656
fild dword [edx]
xor dh, byte [edx]
xor bh, byte [edi - 0x4431e9aa]
push ds
push ss
mov edi, 0xb932165e
mov bh, 0x3a
xor dh, byte [edx]
xor bh, byte [ecx + 0x32323ea7]
xor bh, byte [ecx + 0x323222bf]
xor dh, bl
invalid
Function at 0x401270
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x469cf6
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
jne 0x401380
cmp dword [ebp + 4], ebx
jne 0x40133e
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x18]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
cmp eax, ebx
je 0x4012e8
mov byte [eax + 1], bl
mov edi, str...LogicAvMgrGm.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp + 4], eax
jne 0x40133e
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.ERROR:_Load_advertisement_manager_for_game_DLL_fail._Path:
call edi
lea ecx, [esp + 0x18]
push ecx
call edi
jmp 0x401344
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x401386
push str.CreateObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x401377
push 0x1f001
call eax
add esp, 4
cmp eax, ebx
je 0x40136e
mov dword [ebp + 8], eax
jmp 0x401386
push str.ERROR:_Cannt_create_Advertisement_Manager_Object._n
call edi
jmp 0x401386
push str.ERROR:_Cannt_find_CreateObject___in_Advertisement_Manager_DLL._n
call edi
jmp 0x401386
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x401429
mov edx, dword [esp + 0x134]
mov esi, dword [esp + 0x12c]
mov ebp, dword [esp + 0x130]
push ebx
mov eax, dword [edx]
mov edx, dword [ecx]
push ebx
push ebx
push esi
push ebp
push eax
call dword [edx + 0x14]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push esi
lea eax, [esp + 0x14]
push str.AdMsgHandler::Event____d.1:show_2:hide..ok
push eax
mov dword [esp + 0x130], ebx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0x4800dc
push edx
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 0xc
Function at 0x401d40
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x469dd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
push str.AdMsgHandler::Hide____start
lea eax, [esp + 0xc]
push 0x4800dc
push eax
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc
push ecx
call edi
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
call fcn.00402100
lea ecx, [esi + 0xd4]
call fcn.00402100
lea ecx, [esi + 0x198]
call fcn.00402100
add esi, 0x25c
push 0
mov ecx, esi
call fcn.00402a90
push 0
mov ecx, esi
call fcn.00402ac0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
push str.AdMsgHandler::Hide____end
lea edx, [esp + 0x10]
push 0x4800dc
push edx
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x401e48
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x469df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
push str.AdMsgHandler::Reset____start
lea eax, [esp + 0xc]
push 0x4800dc
push eax
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc
push ecx
call edi
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x338]
test eax, eax
jne 0x401eb1
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
push str.AdMsgHandler::Reset____step_1
lea edx, [esp + 0xc]
push 0x4800dc
push edx
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
add esp, 0xc
push eax
call edi
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
call fcn.004020c0
add esi, 0x25c
push 1
mov ecx, esi
call fcn.00402ac0
push 0
mov ecx, esi
call fcn.00402a60
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
push str.AdMsgHandler::Reset____end
lea ecx, [esp + 0x10]
push 0x4800dc
push ecx
mov dword [esp + 0x24], 2
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x401f70
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x469e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ebp, dword [esp + 0x28]
xor edi, edi
cmp ebp, 2
mov dword [esp + 0x20], edi
mov ebx, 1
jne 0x401fcd
cmp dword [esi + 0xb4], edi
je 0x402093
push str.hide
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov dword [esi + 0xb4], edi
jmp 0x402001
cmp ebp, ebx
jne 0x401ff3
cmp dword [esi + 0xb4], ebx
je 0x402093
push str.show
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov dword [esi + 0xb4], ebx
jmp 0x402001
push str.other
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0xc0]
lea edi, [esi + 0xbc]
push edi
push eax
push ebp
mov ecx, 0x486f88
call fcn.00401270
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
mov eax, dword [esi + 0xc0]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str.AD_NODE_SIMPLE::Event..._d__s__s
push ecx
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push edx
push 0x4800dc
push eax
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x34]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x402e00
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x30c
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [esp + 0x114]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x215]
mov byte [esp + 0x214], 0
rep stosd dword es:[edi], eax
mov ebp, dword [sym.imp.MSVCRT.dll__snprintf]
lea ecx, [esp + 0x110]
push str.TencentQQGamedoubleddzRpgLocalVerson.cfg
push ecx
stosw word es:[edi], ax
push 0x48067c
lea edx, [esp + 0x220]
push 0x103
push edx
stosb byte es:[edi], al
call ebp
add esp, 0x14
lea eax, [esp + 0x214]
push eax
push 0
push str.version
push str.public
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jle 0x402f70
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x110]
push str.TencentQQGamedoubleddzRpgFireworkuse.mif
stosw word es:[edi], ax
push ecx
push 0x48067c
lea edx, [esp + 0x18]
push 0x103
push edx
stosb byte es:[edi], al
call ebp
add esp, 0x14
lea eax, [esp + 0xc]
mov ecx, esi
push 0x3f4ccccd
push 0
push 0
push 0x28
push 0
push 0
push eax
push 0xa0
call fcn.004033a0
lea ecx, [esp + 0x110]
push str.TencentQQGamedoubleddzRpgFirework_reply.mif
push ecx
push 0x48067c
lea edx, [esp + 0x18]
push 0x103
push edx
call ebp
add esp, 0x14
lea eax, [esp + 0xc]
mov ecx, esi
push 0x3f800000
push 0
push 0
push 0x18
push 0
push 0
push eax
push 0xa1
call fcn.004033a0
lea ecx, [esp + 0x110]
push str.TencentQQGamedoubleddzRpgFireworklottery.mif
push ecx
push 0x48067c
lea edx, [esp + 0x18]
push 0x103
push edx
call ebp
add esp, 0x14
lea eax, [esp + 0xc]
push 0x3f800000
push 0
push 0
push 0x28
push 0
push 0
push eax
jmp 0x402fc4
push 0x3f4ccccd
push 0
push 0
push 0x28
push 0
push 0
push str.data_fireworkuse.mif
push 0xa0
mov ecx, esi
call fcn.004033a0
push 0x3f800000
push 0
push 0
push 0x18
push 0
push 0
push str.data_firework_reply.mif
push 0xa1
mov ecx, esi
call fcn.004033a0
push 0x3f800000
push 0
push 0
push 0x28
push 0
push 0
push str.data_fireworklottery.mif
push 0x9f
mov ecx, esi
call fcn.004033a0
pop edi
pop esi
pop ebp
add esp, 0x30c
ret

Function at 0x408040
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x400
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x410]
push eax
push ecx
push 0x3ff
push 0x400
push edx
call dword [0x4806b8]
add esp, 0x14
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x400
ret
Function at 0x4098d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0x41c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x410]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x41c]
push 0x400
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xc]
xor edi, edi
xor esi, esi
lea edx, [esp + 0xc]
test al, al
lea ecx, [esp + 0xc]
je 0x409956
cmp al, 0x20
je 0x409947
cmp al, 9
je 0x409947
test edi, edi
jne 0x40994e
mov edi, 1
mov edx, ecx
jmp 0x40994e
cmp edi, 1
jne 0x40994e
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x409932
mov ebx, dword [esp + 0x420]
test edx, edx
mov byte [ebx], 0
je 0x4099c5
test esi, esi
jne 0x40999f
test ebx, ebx
je 0x4099c5
mov esi, dword [esp + 0x424]
test esi, esi
jle 0x4099c5
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x4099c5
push edx
push esi
push ebx
call dword [0x4806cc]
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
sub esi, edx
test ebx, ebx
je 0x4099c5
test esi, esi
jle 0x4099c5
mov eax, dword [esp + 0x424]
cmp eax, esi
jle 0x4099c5
push esi
push edx
push eax
push ebx
call dword [0x4806c8]
add esp, 0x10
mov byte [esi + ebx], 0
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
Function at 0x4099e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
push str.Path
push str.Redirect
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
test edx, edx
je 0x409a4d
mov al, byte [esp + 0x14]
test al, al
je 0x409a4d
cmp al, 0x20
je 0x409a45
cmp al, 9
jne 0x409a90
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x409a3d
mov esi, dword [esp + 0x120]
test esi, esi
je 0x409a83
mov edx, dword [esp + 0x124]
test edx, edx
jle 0x409a83
test ebx, ebx
je 0x409a83
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x409a83
push ebx
push edx
push esi
call dword [0x4806cc]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea eax, [esp + 0x14]
push 0x3a
push eax
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x409b56
cmp byte [esp + 0x14], 0x5c
je 0x409b56
test ebx, ebx
je 0x409a83
mov edi, dword [esp + 0x120]
test edi, edi
je 0x409a83
mov ebp, dword [esp + 0x124]
test ebp, ebp
jle 0x409a83
mov esi, dword [sym.imp.MSVCRT.dll__mbsrchr]
push 0x5c
push ebx
call esi
add esp, 8
test eax, eax
jne 0x409ae7
push 0x2f
push ebx
call esi
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x409b0e
sub eax, ebx
inc eax
mov esi, eax
test esi, esi
jle 0x409b39
cmp ebp, esi
jle 0x409b39
push esi
push ebx
push ebp
push edi
call dword [0x4806c8]
add esp, 0x10
mov byte [esi + edi], 0
jmp 0x409b39
mov esi, dword [esp + 0x10]
push ebp
push ebx
mov ecx, esi
call fcn.00409e20
test eax, eax
je 0x409b2b
push ebx
push ebp
push edi
call dword [0x4806cc]
add esp, 0xc
push 0x4808a4
push ebp
push edi
mov ecx, esi
call fcn.00409ed0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ebp
push edi
call fcn.00409ed0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.004099e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc