joyce8/EMBER2024-capa huggingface dataset:
Function at 0x898058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8981a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x89807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x89806a
add dl, dl
jne 0x898089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8980dc
xor eax, eax
add dl, dl
jne 0x898096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x89817d
add dl, dl
jne 0x8980a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8980b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8980bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8980c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8980d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x898075
mov eax, 1
add dl, dl
jne 0x8980ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8980f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8980e1
sub eax, ebx
mov ebx, 1
jne 0x898128
mov ecx, 1
add dl, dl
jne 0x89810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x898119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x898105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x898075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x89813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x89814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x898136
cmp eax, 0x7d00
jae 0x89816d
cmp eax, 0x500
jb 0x898168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x898075
cmp eax, 0x7f
ja 0x898170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x898075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x89819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x898075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x402fc9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x402fd8
pop dword [ebp - 0x10]
mov eax, 0xa82b7919
sub eax, 0xa7eb4941
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xda40ad45
add dword [ebp - 0x20], 0x74119806
mov dword [ebp - 0x1c], 0x6c6fd15b
sub dword [ebp - 0x1c], 0x3a3c8516
mov dword [ebp - 0x18], 0xa013a830
add dword [ebp - 0x18], 0xac389bfe
mov dword [ebp - 0x14], 0x22fd25e3
sub dword [ebp - 0x14], 0x22fd25e3
lea eax, [ebp - 0x20]
push eax
mov eax, 0x1c0a0b73
sub eax, 0x1bc93b1f
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x4f390848
add dword [ebp - 0x20], 0x2539610e
mov dword [ebp - 0x1c], 0x8f81169e
sub dword [ebp - 0x1c], 0x4e14b529
mov dword [ebp - 0x18], 0x28dd457d
sub dword [ebp - 0x18], 0xc56dd911
mov dword [ebp - 0x14], 0x264f981c
sub dword [ebp - 0x14], 0x264f981c
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x34b9f
push 0
call eax
mov ecx, 0x34d3
xor edx, edx
add edx, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x10]
mov edi, 0x64fbda5f
sub edi, 0xf4c1f4b4
add dword [ebp - 4], eax
mov esi, dword [ebx]
sub dword [ebp - 8], 0xc07c170a
add esi, edi
mov dword [ebp - 0xc], 0xdd46af1b
mov dword [edx], esi
xor dword [ebp - 4], edi
add edx, 0x37e890b3
sub edx, 0x37e890af
add ebx, 0x501b6449
sub ebx, 0x501b6445
loop 0x4030eb
add eax, 0xc61f
xor ebx, ebx
add ebx, eax
add eax, 0xcbec39aa
add eax, 0x3413c65b
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x412719
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x412728
pop dword [ebp - 0x38]
mov eax, 0x20735a66
sub eax, 0x2032333e
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x41495
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x5645
mov edi, eax
mov edx, 0xaf22b9a7
sub edx, 0xaedf8ba7
add edx, dword [ebp - 0x38]
mov esi, 0x7b8a00d0
sub esi, 0x808035c8
xor dword [ebp - 0x30], ecx
mov ebx, dword [edx]
add dword [ebp - 0x10], ebx
add ebx, esi
xor dword [ebp - 0x10], 0xd6042ea3
mov dword [edi], ebx
add dword [ebp - 0x20], 0x4258f686
add edi, 0xd83d54cc
sub edi, 0xd83d54c8
add edx, 0x201daba3
sub edx, 0x201dab9f
loop 0x41277c
add eax, 0x22d5c091
sub eax, 0x22d474aa
mov ebx, eax
add eax, 0x1f8873f8
add eax, 0xe0778c0d
mov ecx, 0x7d0ec8bc
sub ecx, 0x7ccec8bc
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401a80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43d3a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], fcn.00401530
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], 0x4430a8
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], 0x44311c
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 0x401af9
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 0x403b70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x4571d4]
push ebx
mov dword [esp + 0x624], eax
cmp dword [ecx + 0xb8], 0xffffffff
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x403baf
xor al, al
mov ecx, dword [esp + 0x62c]
call fcn.0043cd3b
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 0x403c2e
cmp word [esi + edx*2], 0x2f
je 0x403c2e
dec edx
jne 0x403c24
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 0x443ab0
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 + 0xb4]
push 0
add ecx, 0xb4
push 0x1001
lea eax, [esp + 0x428]
push eax
call dword [edx + 0x28]
mov ecx, dword [esp + 0x62c]
test eax, eax
setne al
call fcn.0043cd3b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404080
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43d59c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
mov eax, dword [0x4571d4]
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, 0xb4
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 0x4041f3
mov esi, dword [esp + 0x14]
cmp word [esi + 0x70], bx
je 0x40418b
lea eax, [esp + 0x70]
push eax
push str._s__VERYSILENT__SP_
push 0x104
lea ecx, [esp + 0x284]
push ecx
jmp 0x4041a2
lea edx, [esp + 0x70]
push edx
push 0x443b48
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 + 0xa74]
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 0x404201
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
jmp 0x404251
cmp dword [esi + 0x20], ebx
jne 0x404233
mov eax, dword [esi + 0xa70]
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.0043cd3b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425380
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x425394
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x425469
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4253ee
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4253ee
mov ecx, dword [esi + 0x2ac]
test ecx, ecx
je 0x4253d0
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4253d0
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 0x42540d
mov ecx, dword [esi + 0x5c]
push 0
push ecx
jmp 0x425407
mov edx, dword [esi + 0x5c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42540d
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 0x425435
push eax
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x42543f
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 0x425469
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
Function at 0x425470
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
mov eax, dword [0x4571d4]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x264], eax
mov eax, dword [esi + 0x6c]
xor ebp, ebp
cmp eax, ebp
jne 0x4254a8
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x25c]
call fcn.0043cd3b
add esp, 0x260
ret 4
cmp dword [esi + 0x20], ebp
jne 0x4254e8
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call sub.MFC71U.DLL_AfxGetStringManager
cmp eax, ebp
je 0x4254cf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4254d1
xor eax, eax
mov edx, dword [esi]
push ebp
push 0x64
push eax
lea eax, [esp + 0x14]
push eax
push 0x40000000
push ebp
push ebp
mov ecx, esi
call dword [edx + 0x5c]
cmp dword [esi + 0x2ac], ebp
push ebx
push edi
jne 0x42553e
lea ecx, [esi + 0x74]
call fcn.004246c0
test al, al
je 0x42560f
mov edi, dword [esi + 0x2ac]
mov edx, dword [esi + 0x54]
mov ebx, dword [edi]
lea ecx, [esi + 0x54]
push 0x6010100
push 0x44a7f8
call dword [edx + 4]
push eax
mov ecx, edi
call dword [ebx + 0xc]
test al, al
je 0x42560f
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
je 0x42560f
mov eax, dword [esi + 0x5c]
cmp eax, ebp
lea ebx, [esi + 0x5c]
je 0x42558b
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42558b
mov eax, dword [esi + 0x70]
cmp eax, ebp
je 0x425625
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425625
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
push 1
call dword [edx + 0x10]
push 0x65
push 2
mov ecx, esi
call fcn.00424b70
jmp 0x425625
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ecx, dword [esp + 0x274]
mov eax, edi
cdq
push edx
push eax
push ecx
push 0x44aa00
lea edx, [esp + 0x74]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x18
push ebx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push ebp
push ebp
push 0x4000000
push ebp
push ebp
push ebp
lea ecx, [esp + 0x84]
push ecx
push ebp
mov dword [esp + 0x48], 0x44
mov word [esp + 0x78], 3
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x425613
xor edx, edx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
xor al, al
jmp 0x425627
mov eax, dword [esi + 0x20]
push ebp
push 0x4e20
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
mov ecx, dword [esp + 0x26c]
pop edi
pop ebx
pop esi
pop ebp
call fcn.0043cd3b
add esp, 0x260
ret 4
Function at 0x4278e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x440219
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x28]
push esi
push edi
push ebx
mov edi, ecx
call sub.MFC71U.DLL_CListCtrl::GetItemData
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x427959
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x427944
cmp ecx, 5
jne 0x427959
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x427924
lea eax, [edi + 0x68]
jmp 0x427932
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinResourceManager____cdecl_CSkinResourceManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.SkinControl.dll_public:_class_CFont____thiscall_CSkinResourceManager::GetDefaultFont_void_]
test eax, eax
je 0x42797d
mov eax, dword [eax + 4]
test eax, eax
je 0x42797d
mov ecx, dword [esi + 4]
push eax
push ecx
jmp 0x427977
lea eax, [edi + 0x68]
test eax, eax
je 0x42797d
mov eax, dword [eax + 4]
test eax, eax
je 0x42797d
mov edx, dword [esi + 4]
push eax
push edx
jmp 0x427977
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinResourceManager____cdecl_CSkinResourceManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.SkinControl.dll_public:_class_CFont____thiscall_CSkinResourceManager::GetDefaultFont_void_]
test eax, eax
je 0x42797d
mov eax, dword [eax + 4]
test eax, eax
je 0x42797d
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
mov ecx, esi
call sub.MFC71U.DLL_CListCtrl::SetBkImage
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x38]
add dword [esp + 0x28], 5
push ebx
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call sub.MFC71U.DLL_CListCtrl::GetItemText
mov edi, dword [esi]
push 0x24
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call dword [edi + 0x70]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x428480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44025b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x438
mov eax, dword [0x4571d4]
push ebx
push esi
push edi
mov dword [esp + 0x43c], eax
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov word [esp + 0x28], bx
mov ecx, 0x81
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x28]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov word [esp + 0x238], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x23a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
push ecx
push str._sConstantlyPlayGame.dcw
lea edx, [esp + 0x240]
push 0x104
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x18
lea ecx, [esp + 0xc]
call sub.MFC71U.DLL_CFile::CFile
push ebx
push 0x1001
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x458], ebx
call sub.MFC71U.DLL_CDataPathProperty::Open
test eax, eax
je 0x428594
mov eax, dword [esi + 0x2ac]
xor ecx, ecx
mov dword [esp + 0x1e], ecx
mov dword [esp + 0x22], ecx
mov word [esp + 0x26], cx
mov word [esp + 0x1c], bx
xor cl, cl
lea esp, [esp]
cmp eax, ebx
je 0x42857b
mov edx, eax
mov dx, word [edx + 8]
mov eax, dword [eax]
movzx esi, cl
inc cl
cmp cl, 6
mov word [esp + esi*2 + 0x1c], dx
jb 0x428560
push 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call sub.MFC71U.DLL_CArchiveStream::Write
lea ecx, [esp + 0xc]
call sub.MFC71U.DLL_CDatabase::Close
lea ecx, [esp + 0xc]
mov dword [esp + 0x44c], 0xffffffff
call sub.MFC71U.DLL_CEvent::CEvent
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x43c]
call fcn.0043cd3b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b350
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 [0x4571d4]
push ebx
push esi
mov dword [esp + 0x160], eax
push edi
mov esi, ecx
je 0x42b38c
xor al, al
mov ecx, dword [esp + 0x164]
call fcn.0043cd3b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x12
jne 0x42b3b0
mov edx, dword [ebx + 6]
mov eax, dword [esi + 0x76d8]
push edx
lea edx, [ebx + 0x4a]
push edx
lea ecx, [esi + 0x76d8]
lea edx, [ebx + 0xa]
push edx
call dword [eax + 0x44]
cmp word [ebx], 0x13
jne 0x42b3d1
mov edx, dword [ebx + 6]
mov eax, dword [esi + 0x76d8]
push edx
lea edx, [ebx + 0x4a]
push edx
lea ecx, [esi + 0x76d8]
lea edx, [ebx + 0xa]
push edx
call dword [eax + 0x48]
mov ecx, dword [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [ebx + 2], eax
jne 0x42b3ff
mov ecx, dword [esi + 0xb8]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp word [ebx], 0x12
jne 0x42b3f5
dec word [eax]
cmp word [ebx], 0x13
jne 0x42b3ff
dec word [eax + 2]
lea ecx, [esi + 0x1dac]
mov dword [esp + 0xc], ecx
call fcn.004246a0
test al, al
je 0x42b45b
mov eax, dword [ebx + 2]
mov cx, word [ebx]
mov edx, dword [ebx + 6]
mov word [esp + 0x10], cx
mov dword [esp + 0x14], eax
push 0x14c
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x14]
lea esi, [ebx + 0xa]
mov ecx, 0x10
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push eax
lea esi, [ebx + 0x4a]
mov ecx, 0x40
lea edi, [esp + 0x64]
push 0x68
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
push 5
call fcn.00424ba0
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov cl, byte [eax + 0x1a]
test cl, cl
je 0x42b4e6
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 0x42b49f
cmp word [ebx], 0x12
mov ecx, str.BUGLE
je 0x42b48a
mov ecx, 0x44b554
push 0
push 0x44930c
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 0x42b4e6
cmp word [ebx], 0x12
mov eax, str.BUGLE
je 0x42b4af
mov eax, 0x44b554
push 0x44930c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42b4e6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42b4df
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.0043cd3b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8