joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413a50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450ac4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b0
mov eax, dword [0x46b378]
push ebx
push esi
push edi
mov esi, ecx
push 0x456e0c
lea ecx, [esp + 0x18]
mov dword [esp + 0x4b8], eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [esp + 0x4c8], ebx
call fcn.00412f10
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push str._sdatacommon.dat
push edx
mov byte [esp + 0x4d0], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c4], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
mov word [esp + 0x20], bx
mov ecx, 0x20
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x40
lea eax, [esp + 0x28]
push eax
push 0x458cf0
push str.commender
push str.commend
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 2
mov esi, dword [ebp + 8]
jbe 0x413b40
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR71.dll__wtoi64]
mov dword [esi], eax
mov eax, edx
add esp, 4
cmp eax, ebx
mov dword [esi + 4], edx
jl 0x413b40
jg 0x413b35
cmp dword [esi], ebx
jbe 0x413b40
mov edx, dword [ebp + 0xc]
mov byte [edx], 1
jmp 0x413c11
mov eax, dword [ebp + 0xc]
cmp byte [eax], bl
jne 0x413c11
xor eax, eax
mov word [esp + 0xa8], bx
mov ecx, 0x100
lea edi, [esp + 0xaa]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov ecx, 0x46bfc8
mov byte [esp + 0x4c4], 2
call fcn.00401b20
mov ecx, eax
call fcn.004036e0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
push eax
lea eax, [esp + 0x1c]
push str.http:__www._s
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xb4]
push edx
push str.guagua_rec_id
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.WININET.dll_InternetGetCookieExW]
test eax, eax
je 0x413c01
mov eax, dword [ebp + 0x10]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xb4]
push str.guagua_rec_id_d:_I64d:_d
push edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.MSVCR71.dll_swscanf]
mov al, byte [esp + 0x24]
mov ecx, dword [ebp + 0xc]
add esp, 0x14
mov byte [ecx], al
jmp 0x413c07
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x4bc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4b4]
call fcn.004225d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413d70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x468
mov eax, dword [0x46b378]
mov edx, ecx
push esi
push edi
mov dword [esp + 0x46c], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov word [esp + 0x68], ax
mov ecx, 0xff
lea edi, [esp + 0x6a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
mov ecx, edx
mov dword [esp + 0x24], 0x44
call fcn.00412f10
mov ecx, dword [eax]
push 0x458d18
push ecx
lea edx, [esp + 0x70]
push 0x458cf4
push edx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x88]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x413e24
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov ecx, dword [esp + 0x46c]
mov eax, esi
call fcn.004225d1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x414120
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x450b4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push 0x456e0c
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.00412f10
mov ecx, dword [eax]
push str.dataCommonConfig.ini
push ecx
lea edx, [esp + 0xc]
push 0x456a30
push edx
mov byte [esp + 0x24], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0
push str.FirstRun
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x414227
push 0x456e0c
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
push 1
lea eax, [esp + 0xc]
push 0x458d44
push eax
mov byte [esp + 0x20], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push str.FirstRun
push str.Common
call fcn.0041f5e0
add esp, 0x10
lea ecx, [esp + 8]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x414c20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x450c22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push 0x456e0c
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.00412f10
mov ecx, dword [eax]
push ecx
lea edx, [esp + 8]
push str._sdatacommon.dat
push edx
mov byte [esp + 0x20], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0
push str.OEMID
push 0x458ad4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x415970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x450ced
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push 0
lea eax, [esi + 0x30]
push eax
lea ecx, [esi + 0x40]
push ecx
call sub.gdiplus.dll_GdiplusStartup
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00412f10
push str._skinGuaGua4Skin.ggs
push eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x24], 1
call fcn.004077f0
add esp, 0xc
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call dword [0x455314]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 1
call fcn.0042d910
add esp, 8
test eax, eax
je 0x415a7b
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00412f10
push str.NoahRoom_skinNoahChatRoomSubDialog.ggs
push eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x24], 3
call fcn.004077f0
add esp, 0xc
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 4
call dword [0x455314]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x3ef
call fcn.0042d910
add esp, 8
test eax, eax
jne 0x415aa5
push 0
push 0x10
push 0x458fa0
call sub.MFC71U.DLL_AfxMessageBox
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x10]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x41e590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x46b378]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41e698
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41e698
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
lea eax, [ebp + ebp]
cmp esi, eax
jle 0x41e696
push ebx
push esi
call sub.MFC71U.DLL_SerializeElements
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41e695
mov ecx, esi
mov edx, ecx
push edi
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
xor esi, esi
test ebp, ebp
rep stosb byte es:[edi], al
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x11], 0x31
mov byte [esp + 0x12], 0x32
mov byte [esp + 0x13], 0x33
mov byte [esp + 0x14], 0x34
mov byte [esp + 0x15], 0x35
mov byte [esp + 0x16], 0x36
mov byte [esp + 0x17], 0x37
mov byte [esp + 0x18], 0x38
mov byte [esp + 0x19], 0x39
mov byte [esp + 0x1a], 0x61
mov byte [esp + 0x1b], 0x62
mov byte [esp + 0x1c], 0x63
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x65
mov byte [esp + 0x1f], 0x66
pop edi
jle 0x41e673
mov ecx, ebx
lea esp, [esp]
mov eax, dword [esp + 0x24]
movzx eax, byte [esi + eax]
mov edx, eax
shr edx, 4
mov dl, byte [esp + edx + 0xc]
and eax, 0xf
mov al, byte [esp + eax + 0xc]
mov byte [ecx], dl
inc ecx
mov byte [ecx], al
inc ecx
inc esi
cmp esi, ebp
jl 0x41e650
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push eax
push ebx
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
call sub.MFC71U.DLL_operator_new
add esp, 4
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
call fcn.004225d1
add esp, 0x14
ret
Function at 0x41ecf0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 8
mov esi, ecx
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
test eax, eax
je 0x41ed38
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [eax], ecx
lea ecx, [esp + 4]
push ecx
push 0
push eax
push 0x41ec70
push 0
mov dword [eax + 4], edx
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x41ed3f
xor eax, eax
pop esi
pop ecx
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ecx
ret 8

Function at 0x41ff10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4517c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esp
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0041f1b0
lea eax, [esi + 4]
push eax
mov ecx, edi
call fcn.0041f150
push 0x15
lea ecx, [esi + 6]
push ecx
mov ecx, edi
call fcn.0041f3e0
push 0x15
lea edx, [esi + 0x30]
push edx
mov ecx, edi
call fcn.0041f3e0
lea eax, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.0041f1b0
lea ecx, [esi + 0x60]
push ecx
mov ecx, edi
call fcn.0041f0f0
lea edx, [esi + 0x62]
push edx
mov ecx, edi
call fcn.0041f150
push 0x41
lea eax, [esi + 0x64]
push eax
mov ecx, edi
call fcn.0041f3e0
push 0x41
lea ecx, [esi + 0xe6]
push ecx
mov ecx, edi
call fcn.0041f3e0
push 0x41
lea edx, [esi + 0x168]
push edx
mov ecx, edi
call fcn.0041f3e0
push 0x21
lea eax, [esi + 0x1ea]
push eax
mov ecx, edi
call fcn.0041f270
lea ecx, [esi + 0x20b]
push ecx
mov ecx, edi
call fcn.0041f0f0
lea edx, [esi + 0x210]
push edx
mov ecx, edi
call fcn.0041f200
lea eax, [esi + 0x218]
push eax
mov ecx, edi
call fcn.0041f1b0
push 0x21
push 0x20
lea ecx, [esi + 0x21c]
push ecx
mov ecx, edi
call fcn.0041f370
push 0x21
push 0x20
lea edx, [esi + 0x23d]
push edx
mov ecx, edi
call fcn.0041f370
lea eax, [esi + 0x260]
push eax
mov ecx, edi
call fcn.0041f200
push 7
lea ecx, [esi + 0x268]
push ecx
mov ecx, edi
call fcn.0041f3e0
push 0x60
push 0x5f
add esi, 0x276
push esi
mov ecx, edi
call fcn.0041f370
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4218a0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x451ae1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x46b378]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 4]
xor esi, esi
cmp eax, esi
jg 0x4218db
jl 0x4218d4
cmp dword [edi], esi
ja 0x4218db
xor eax, eax
jmp 0x421a97
lea ecx, [esp + 8]
call fcn.0041ec60
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], esi
call fcn.0041d730
test eax, eax
je 0x421917
lea ecx, [esp + 8]
mov dword [esp + 0x58], 0xffffffff
call fcn.0041f010
mov eax, 1
jmp 0x421a97
cmp dword [edi + 0xc], esi
jne 0x421923
mov ecx, edi
call fcn.00421540
mov edx, dword [edi + 4]
mov eax, dword [edi]
push ebx
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x20], esi
call fcn.00421280
push 0x4578fc
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov ebx, eax
add esp, 8
cmp ebx, esi
jne 0x421981
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0041f010
xor eax, eax
jmp 0x421a96
lea ecx, [esp + 0x30]
call fcn.0041ebf0
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
push 0x38
push ebx
mov dword [esp + 0x38], edx
call dword [sym.imp.MSVCR71.dll_fseek]
mov esi, dword [edi + 0x18]
mov eax, dword [esi]
add esp, 0xc
cmp esi, eax
je 0x421a22
push ebp
jmp 0x4219c0
mov ebp, dword [esi + 4]
push ebx
push 0x80
add ebp, 8
push 1
push ebp
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, 0x80
jne 0x421a21
mov eax, dword [edi + 0x10]
inc word [esp + 0x20]
push 0x80
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
call fcn.0041d750
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
cdq
add ecx, eax
mov eax, dword [edi + 0x18]
adc ebp, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebp
mov esi, dword [esi + 4]
cmp esi, dword [eax]
jne 0x4219c0
pop ebp
mov edi, dword [edi + 0x1c]
cmp word [esp + 0x1c], di
jne 0x421a6d
push 0
push 0
push ebx
call dword [sym.imp.MSVCR71.dll_fseek]
mov esi, dword [sym.imp.MSVCR71.dll_fwrite]
push ebx
push 0x20
lea ecx, [esp + 0x44]
push 1
push ecx
call esi
add esp, 0x1c
cmp eax, 0x20
jne 0x421a6d
push ebx
push 0x18
lea edx, [esp + 0x20]
push 1
push edx
call esi
add esp, 0x10
cmp eax, 0x18
jne 0x421a6d
mov dword [esp + 0x14], 1
push ebx
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0041f010
mov eax, dword [esp + 0x14]
pop ebx
mov ecx, dword [esp + 0x50]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x48]
pop esi
call fcn.004225d1
add esp, 0x54
ret
Function at 0x422396
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x459d10
call fcn.00422938
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x4223d6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4223d6
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4223ee
cmp eax, 0x20b
je 0x4223db
mov dword [ebp - 0x1c], edi
jmp 0x422402
cmp dword [ecx + 0x84], 0xe
jbe 0x4223d6
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x4223fc
cmp dword [ecx + 0x74], 0xe
jbe 0x4223d6
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x4728e4], 0xffffffff
or dword [0x4728e8], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x46f040]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x46f03c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4728e0], eax
call fcn.00422996
call fcn.00422a36
cmp dword [0x46b3a0], edi
jne 0x422462
push fcn.00422a36
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00422a24
push 0x46b0ac
push 0x46b0a8
call sub.MSVCR71.dll__initterm
push 0x4229da
call fcn.004226cb
mov eax, dword [0x46f038]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x46f034]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x4224b6
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x46b0a4
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x4224e0
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x42259a
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x42254f
cmp ax, di
je 0x4224f6
cmp dword [ebp - 0x20], edi
jne 0x42254f
mov ax, word [esi]
cmp ax, di
je 0x42250b
cmp ax, 0x20
ja 0x42250b
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x4224f6
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x422527
movzx eax, word [ebp - 0x54]
jmp 0x42252a
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.0044f93a
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x422547
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x422594
cmp ax, 0x22
jne 0x422560
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x4224e0
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00422973
ret
Function at 0x424f30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x46b378]
push ebx
push esi
mov dword [esp + 0x130], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x2c]
push edi
mov edi, dword [eax + 0x20]
and edi, 0xff3fffff
and esi, 0xfffffffe
mov ebx, ecx
mov dword [eax + 0x20], edi
mov dword [eax + 0x2c], esi
call sub.MFC71U.DLL_CFieldExchange::Default
mov dword [esp + 0x10], eax
xor eax, eax
mov ecx, 0x44
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x424f99
cmp dword [esp + 0x1c], 5
jbe 0x425016
push str.UxTheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x424fdb
push str.SetWindowTheme
push esi
call edi
test eax, eax
je 0x424fd4
test ebx, ebx
jne 0x424fc4
xor ecx, ecx
jmp 0x424fc7
mov ecx, dword [ebx + 0x20]
push 0x456e0c
push 0x456e0c
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.dwmapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x425016
push str.DwmSetWindowAttribute
push esi
call edi
test eax, eax
je 0x42500f
mov edx, dword [ebx + 0x20]
push 4
lea ecx, [esp + 0x18]
push ecx
push 2
push edx
mov dword [esp + 0x24], 1
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, ebx
call fcn.00424920
test eax, eax
mov eax, dword [esp + 0x10]
je 0x42502f
mov dword [ebx + 0x468], 1
mov ecx, dword [esp + 0x134]
call fcn.004225d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x427630
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x451e59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0xd0]
test eax, eax
jne 0x4276e3
push esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4276d1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x4276d1
mov dword [edi + 0xd0], eax
mov byte [edi + 0xd8], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret