joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d3720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6d385c
sub esp, 0x54
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0044c95b
lea ecx, [0x6dc210]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x48]
lea esi, [esp + 0x5c]
call fcn.0044ce52
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 4]
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [esp + 4], edx
lea edx, [0x80f560]
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.0040ede0
mov edi, dword [esp + 0x10]
test byte [edi], al
mov ecx, dword [0xc6f140]
test ecx, ecx
jne 0x6d383d
lea esi, [esp + 0x5c]
call fcn.0044ce52
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x5c]
call fcn.0044ce52
lea eax, [esp + 0x40]
mov dword [esp + 0x14], eax
call fcn.006d2720
lea esi, [esp + 0x18]
lea edi, [esp + 0x34]
call fcn.0044ce52
movzx eax, byte [esp + 0x24]
lea edi, [esp + 0x28]
lea esi, [esp + 0x34]
call fcn.0044ce52
lea edi, [esp + 0x6c]
lea esi, [esp + 0x28]
call fcn.0044ce52
mov byte [esp + 0x78], al
add esp, 0x54
ret
lea eax, [0x873e60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.0040f790
jmp 0x6d37c2
call fcn.0044b100
jmp fcn.006d3720
Function at 0x777a70
Capabilities:
Hash data using crc32b

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x777acc
xor eax, eax
jmp 0x777ab4
inc edx
cmp edx, 8
jge 0x777aa0
test eax, 0x80000000
je 0x777a9c
shl eax, 1
xor eax, 0x4c11db7
jmp 0x777a86
shl eax, 1
jmp 0x777a86
cmp ecx, 0x100
jae 0x777ac5
lea edx, [0xc6fa80]
mov dword [edx + ecx*4], eax
lea eax, [ecx + 1]
cmp eax, 0x100
jge 0x777ac4
mov ecx, eax
shl eax, 0x18
xor edx, edx
jmp 0x777a87
ret
call fcn.00426770
ud2
call fcn.0044b100
jmp fcn.00777a70
Function at 0x401a90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44d756
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], fcn.00409f00
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], 0x4542d8
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x1c], 0x45434c
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x11
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0xa
mov dword [esi + 4], edi
mov eax, dword [esi + 0x20]
cmp eax, edi
mov byte [esp + 0x14], 1
je 0x401b09
push eax
call sub.MFC71U.DLL_operator_new_1
add esp, 4
mov dword [esi + 0x20], edi
push 0x2c
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
add esp, 4
mov dword [esi + 0x20], edi
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], 0xb
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4078a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x473388]
push ebx
mov dword [esp + 0x624], eax
cmp dword [ecx + 0xc8], 0xffffffff
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x4078df
xor al, al
mov ecx, dword [esp + 0x62c]
call fcn.0044cb9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
xor esi, esi
mov word [esp + 0x218], si
mov ecx, 0x81
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x218]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
mov word [esp + 0x18], si
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x220]
push ecx
push str._sDownLoad
lea edx, [esp + 0x20]
push 0x104
push edx
stosw word es:[edi], ax
call ebx
mov esi, dword [ebp + 8]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
test edx, edx
jbe 0x40795e
cmp word [esi + edx*2], 0x2f
je 0x40795e
dec edx
jne 0x407954
xor eax, eax
mov word [esp + 0x420], 0
mov ecx, 0x81
lea edi, [esp + 0x422]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + edx*2 + 2]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x455ce0
lea edx, [esp + 0x42c]
push 0x104
push edx
call ebx
add esp, 0x14
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xc4]
push 0
add ecx, 0xc4
push 0x1001
lea eax, [esp + 0x428]
push eax
call dword [edx + 0x28]
mov ecx, dword [esp + 0x62c]
test eax, eax
setne al
call fcn.0044cb9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407f50
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44de6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
mov eax, dword [0x473388]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x484], eax
xor eax, eax
xor esi, esi
mov word [esp + 0x70], si
mov ecx, 0x81
lea edi, [esp + 0x72]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
add ebx, 0xc4
stosw word es:[edi], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str..WHD
mov dword [esp + 0x498], esi
call edi
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call edi
sub eax, esi
shl eax, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov word [esp + eax + 0x70], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
mov esi, eax
mov eax, dword [ebx]
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call dword [eax + 0x54]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 9
xor ebx, ebx
push ebx
push ebx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
test eax, eax
je 0x4080c6
mov esi, dword [esp + 0x14]
cmp word [esi + 0x80], bx
je 0x40805e
lea eax, [esp + 0x70]
push eax
push str._s__VERYSILENT
push 0x104
lea ecx, [esp + 0x284]
push ecx
jmp 0x408075
lea edx, [esp + 0x70]
push edx
push 0x455f34
push 0x104
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0xa88]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea eax, [esp + 0x298]
push eax
push ebx
mov dword [esp + 0x50], 0x44
mov word [esp + 0x80], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4080d4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
jmp 0x408124
cmp dword [esi + 0x20], ebx
jne 0x408106
mov eax, dword [esi + 0xa84]
mov edx, dword [esi]
push ebx
push 0x64
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x40000000
push ebx
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [edx + 0x5c]
mov edx, dword [esi + 0x20]
push ebx
push 0x64
push 0xc8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, 1
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x484]
call fcn.0044cb9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a820
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [0x473388]
push esi
mov dword [esp + 0x208], eax
push edi
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalWebLink____cdecl_CGlobalWebLink::GetInstance_void_]
mov esi, eax
mov word [esp + 8], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
mov ecx, esi
stosw word es:[edi], ax
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetValidateLink_void_]
push eax
mov ecx, esi
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetPlatformLink_void_]
push eax
push str._s__sShop_Index.aspx
lea eax, [esp + 0x14]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20c]
call fcn.0044cb9f
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40eb80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
mov eax, dword [0x473388]
mov dword [esp + 0x208], eax
push edi
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalWebLink____cdecl_CGlobalWebLink::GetInstance_void_]
mov edx, eax
mov word [esp + 8], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
mov ecx, edx
stosw word es:[edi], ax
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetPlatformLink_void_]
push eax
push str._s_LogonLink5.aspx
lea eax, [esp + 0x10]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20c]
call fcn.0044cb9f
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x411df0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
mov eax, dword [0x473388]
mov dword [esp + 0x208], eax
push edi
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalWebLink____cdecl_CGlobalWebLink::GetInstance_void_]
mov edx, eax
mov word [esp + 8], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
mov ecx, edx
stosw word es:[edi], ax
call dword [sym.imp.PlatformData.dll_public:_wchar_t_const____thiscall_CGlobalWebLink::GetPlatformLink_void_]
push eax
push str._s_Agreement.aspx
lea eax, [esp + 0x10]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20c]
call fcn.0044cb9f
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41f3d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x473388]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x628], eax
cmp dword [esi + 0x27c], 0xffffffff
push edi
je 0x41f40d
xor al, al
mov ecx, dword [esp + 0x62c]
call fcn.0044cb9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
xor ebx, ebx
mov word [esp + 0x420], bx
mov ecx, 0x81
lea edi, [esp + 0x422]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x420]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
xor eax, eax
mov word [esp + 0x220], bx
mov ecx, 0x81
lea edi, [esp + 0x222]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x70]
push ecx
lea edx, [esp + 0x42c]
push edx
push 0x45be50
stosw word es:[edi], ax
lea eax, [esp + 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x1c
mov word [esp + 0x10], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
push 0x104
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x18]
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jbe 0x41f4ca
mov ecx, 0x5c
lea ecx, [ecx]
cmp word [esp + eax*2 + 0x10], cx
je 0x41f4ca
dec eax
jne 0x41f4c0
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
mov word [esp + eax*2 + 0x1e], bx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, dword [esi + 0x278]
push ebx
lea ecx, [esi + 0x278]
push 0x1001
lea eax, [esp + 0x220]
push eax
call dword [edx + 0x28]
mov ecx, dword [esp + 0x62c]
test eax, eax
setne al
call fcn.0044cb9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4228d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44fe09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.SkinControl.dll_public:_void___thiscall_CSkinMenu::constructor_void_]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
call dword [sym.imp.SkinControl.dll_public:_bool___thiscall_CSkinMenu::CreateMenu_void_]
mov esi, dword [sym.imp.SkinControl.dll_public:_bool___thiscall_CSkinMenu::AppendMenuW_unsigned_int__wchar_t_const___unsigned_int_]
push 0
push 0x45c874
push 0x8045
lea ecx, [esp + 0x28]
call esi
push 0
push 0x45c84c
push 0x8046
lea ecx, [esp + 0x28]
call esi
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ebx, dword [sym.imp.SkinControl.dll_public:_unsigned_int___thiscall_CSkinMenu::CheckMenuItem_unsigned_int__unsigned_int_]
mov esi, eax
cmp byte [esi + 0x1f], 1
jne 0x422954
push 8
push 0x8045
lea ecx, [esp + 0x24]
call ebx
mov al, byte [esi + 0x1f]
test al, al
jne 0x422968
push 8
push 0x8046
lea ecx, [esp + 0x24]
call ebx
mov ecx, dword [edi + 0x2c4]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0xc]
push edx
mov ecx, edi
call sub.MFC71U.DLL_COleControl::ClientToParent
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push edi
push eax
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.SkinControl.dll_public:_bool___thiscall_CSkinMenu::TrackPopupMenu_int__int__class_CWnd__]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.SkinControl.dll_public_virtual:_void___thiscall_CSkinMenu::destructor_void_]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x4229d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44fe2a
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2cc]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC71U.DLL_COleControl::ClientToParent
mov eax, dword [esi + 0x710]
test eax, eax
jne 0x422a56
push edi
push 0x7c
call sub.MFC71U.DLL_CWordArray::CWordArray
mov edi, eax
add esp, 4
mov dword [esp + 8], edi
test edi, edi
mov dword [esp + 0x24], 0
je 0x422a45
mov ecx, edi
call dword [sym.imp.ShareControl.dll_public:_void___thiscall_CExpressionControl::constructor_void_]
mov dword [edi], 0x45c890
jmp 0x422a47
xor edi, edi
mov dword [esi + 0x710], edi
mov dword [esp + 0x24], 0xffffffff
pop edi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esi + 0x25c]
push eax
push ecx
mov ecx, dword [esi + 0x710]
push edx
push esi
call dword [sym.imp.ShareControl.dll_public:_void___thiscall_CExpressionControl::ShowExpression_class_CWnd___int__int__struct_IExpressionSink__]
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x42b1a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45085d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call dword [sym.imp.FGuimfcFactory.dll_public:_void___thiscall_CFGuiWnd::constructor_void_]
mov eax, dword [sym.imp.SkinControl.dll_public_virtual:_void___thiscall_CEncircleBMP::destructor_void_]
mov ecx, dword [sym.imp.SkinControl.dll_public:_void___thiscall_CEncircleBMP::constructor_void_]
push eax
push ecx
push 3
push 0x38
lea ebp, [esi + 0x1d8]
push ebp
mov dword [esp + 0x4c], 0
mov dword [esi], 0x45e270
mov dword [esi + 0x54], 0x45e26c
mov dword [esi + 0x58], 0x45e264
mov dword [esi + 0x5c], 0x45e260
mov dword [esi + 0x60], 0x45e258
call fcn.0044cea8
lea ecx, [esi + 0x280]
mov byte [esp + 0x38], 1
call fcn.0042acd0
lea ecx, [esi + 0x540]
mov byte [esp + 0x38], 2
call fcn.0042acd0
lea ecx, [esi + 0x800]
mov byte [esp + 0x38], 3
call fcn.0042acd0
xor eax, eax
mov byte [esi + 0x19c], 0
mov dword [esi + 0x1a0], 0x11d
mov dword [esi + 0x1a4], 0x1e
mov ecx, 0xc
lea edi, [esi + 0x1a8]
mov byte [esp + 0x38], 4
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x1d8
mov dword [esp + 0x14], 0x1d7
mov dword [esp + 0x18], 0x1df
mov dword [esp + 0x1c], 0x1de
mov dword [esp + 0x20], 0x1cf
mov dword [esp + 0x24], 0x1ce
mov dword [esp + 0x28], 0x1dd
mov dword [esp + 0x2c], 0x1d1
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.SkinControl.dll_public:_bool___thiscall_CEncircleBMP::InitEncircleResource_struct_tagEncircleResource___struct_HINSTANCE____]
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call edi
mov dword [esp + 0x10], 0x1dc
mov dword [esp + 0x14], 0x1d2
mov dword [esp + 0x18], 0x1d4
mov dword [esp + 0x1c], 0x1d3
mov dword [esp + 0x20], 0x1d0
mov dword [esp + 0x24], 0x1d9
mov dword [esp + 0x28], 0x1d5
mov dword [esp + 0x2c], 0x1db
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x210]
call edi
mov dword [esp + 0x10], 0x1cd
mov dword [esp + 0x14], 0x1cc
mov dword [esp + 0x18], 0x1cb
mov dword [esp + 0x1c], 0x1e2
mov dword [esp + 0x20], 0x1e1
mov dword [esp + 0x24], 0x1e0
mov dword [esp + 0x28], 0x1da
mov dword [esp + 0x2c], 0x1d6
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x248]
call edi
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4347f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x15c
cmp word [ebp + 0xc], 0x14a
mov eax, dword [0x473388]
push ebx
push esi
push edi
mov dword [esp + 0x164], eax
mov edi, ecx
je 0x43482c
xor al, al
mov ecx, dword [esp + 0x164]
call fcn.0044cb9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x2170]
lea ecx, [eax + 0x23c]
mov eax, dword [ecx]
push 0x6010100
push 0x460178
call dword [eax + 4]
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x12
mov esi, eax
jne 0x434865
mov eax, dword [ebx + 6]
mov edx, dword [esi]
push eax
lea ecx, [ebx + 0x4a]
push ecx
lea eax, [ebx + 0xa]
push eax
mov ecx, esi
call dword [edx + 0x44]
cmp word [ebx], 0x13
jne 0x43487e
mov eax, dword [ebx + 6]
mov edx, dword [esi]
push eax
lea ecx, [ebx + 0x4a]
push ecx
lea eax, [ebx + 0xa]
push eax
mov ecx, esi
call dword [edx + 0x48]
mov ecx, dword [edi + 0x1fc]
mov edx, dword [ecx]
call dword [edx + 0x24]
cmp dword [ebx + 2], eax
jne 0x4348ac
mov ecx, dword [edi + 0x1fc]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp word [ebx], 0x12
jne 0x4348a2
dec word [eax]
cmp word [ebx], 0x13
jne 0x4348ac
dec word [eax + 2]
lea ecx, [edi + 0x1d60]
mov dword [esp + 0xc], ecx
call fcn.00441360
test al, al
je 0x434908
mov ecx, dword [ebx + 2]
mov dx, word [ebx]
mov eax, dword [ebx + 6]
mov dword [esp + 0x14], ecx
mov word [esp + 0x10], dx
mov dword [esp + 0x18], eax
lea esi, [ebx + 0xa]
mov ecx, 0x10
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x4a]
mov ecx, 0x40
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
push 0x14c
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push 0x68
push 5
call fcn.00441850
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov cl, byte [eax + 0x1a]
test cl, cl
je 0x434993
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov esi, dword [eax + 8]
call dword [sym.imp.GameEngine.dll_public:_static_class_CD3DSound____cdecl_CD3DSound::GetInstance_void_]
test eax, eax
je 0x43494c
cmp word [ebx], 0x12
mov ecx, str.BUGLE
je 0x434937
mov ecx, str.BUGLE_EX
push 0
push 0x45d5a8
push ecx
push esi
mov ecx, eax
call dword [sym.imp.GameEngine.dll_public:_bool___thiscall_CD3DSound::PlaySoundW_struct_HINSTANCE_____wchar_t_const___wchar_t_const___bool_]
test al, al
jne 0x434993
cmp word [ebx], 0x12
mov eax, str.BUGLE
je 0x43495c
mov eax, str.BUGLE_EX
push 0x45d5a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x434993
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43498c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push 7
push esi
push eax
call dword [sym.imp.WINMM.dll_PlaySoundW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esp + 0x164]
mov al, 1
call fcn.0044cb9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4420d0
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4420e4
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4421b9
mov eax, dword [esi + 0x70]
test eax, eax
je 0x44213e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44213e
mov ecx, dword [esi + 0x2ac]
test ecx, ecx
je 0x442120
mov eax, dword [esi + 0x70]
test eax, eax
je 0x442120
mov edx, dword [ecx]
push 0
push 0
push 0x64
push 2
push eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x5c]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44215d
mov ecx, dword [esi + 0x5c]
push 0
push ecx
jmp 0x442157
mov edx, dword [esi + 0x5c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44215d
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x5c]
push edi
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi + 0x60]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x442185
push eax
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x44218f
push eax
call edi
xor eax, eax
mov dword [esi + 0x70], 0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
cmp byte [esp + 0x10], 1
pop edi
jne 0x4421b9
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov al, 1
pop esi
pop ecx
ret 4