joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ef50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
mov esi, ecx
call sub.MSVCR100.dll_memset
mov ecx, dword [esi + 0x304]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
push ecx
lea edx, [ebp - 0xcc]
push 0x588fbc
push edx
call edi
push str.Power
mov edx, str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0xcc]
mov ebx, str.AddPoint
call fcn.00510530
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [esi + 0x308]
push ecx
lea edx, [ebp - 0xcc]
push 0x588fbc
push edx
call edi
push 0x58b770
mov edx, str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0xcc]
call fcn.00510530
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [esi + 0x30c]
add esp, 0x44
push ecx
lea edx, [ebp - 0xcc]
push 0x588fbc
push edx
call edi
push 0x58b774
mov edx, str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0xcc]
call fcn.00510530
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [esi + 0x310]
push ecx
lea edx, [ebp - 0xcc]
push 0x588fbc
push edx
call edi
push 0x58b778
mov edx, str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0xcc]
call fcn.00510530
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 0x2c
push 0xff
lea eax, [ebp - 0x1cc]
push eax
push 0
call ebx
lea ecx, [ebp - 0x1cc]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_strrchr]
add esp, 8
mov byte [eax + 1], 0
lea edi, [ebp - 0x1cc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43f0a0
mov ecx, 7
mov esi, str.._Ini_AdvancedSet_Config.ini
rep movsd dword es:[edi], dword [esi]
push 0xff
lea edx, [ebp - 0x2cc]
push edx
push 0
movsb byte es:[edi], byte [esi]
call ebx
lea eax, [ebp - 0x2cc]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_strrchr]
lea edi, [ebp - 0x2cc]
add esp, 8
mov byte [eax + 1], 0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43f0e2
mov ecx, 6
mov esi, str.._Ini_AdvancedSet_Cfg.ini
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x1cc]
push 0x586598
push ecx
movsw word es:[edi], word [esi]
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
test eax, eax
jne 0x43f121
push str.cannot_open_in_file._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
jmp 0x43f12e
mov edi, eax
lea eax, [ebp - 0x2cc]
call fcn.0043ce80
lea edx, [ebp - 0x1cc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005762ee
mov esp, ebp
pop ebp
ret
Function at 0x43f180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57f38b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5b107c]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x5b107c]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], vtable.cImage.0
lea esi, [edi + 0x3f]
mov ecx, 0x67cb38
mov dword [esp + 0x100], edi
call fcn.0056e550
cmp eax, edi
je 0x43f218
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov edi, dword [eax]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x10]
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edx
call fcn.0042a9c0
push 0x166
call fcn.00429f50
lea edx, [esp + 0x6c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43f228
mov eax, dword [0x67ee7c]
lea edx, [eax + eax*4]
shl edx, 7
add edx, 0x67e43c
lea eax, [esp + 0x4c]
call fcn.004c2e90
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x70]
push ecx
mov edx, ecx
push str._s__s_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x238]
add esp, 0x10
lea ebx, [eax + 0x50]
mov dword [esp + 0x14], eax
call fcn.00428e10
xor ecx, ecx
lea esi, [ebx + 0x10]
lea edi, [esp + 0x2c]
mov word [ebx + 0xc], cx
mov dword [ebx + 0x30], 0xffffff
call fcn.00401a10
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push eax
mov dword [ebx + 0x34], 0x33517d
mov eax, ebx
mov dword [edx + 0xa0], 0xdc
call fcn.00429230
push 0x168
call fcn.00429f50
lea ecx, [esp + 0x6c]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x43f2c7
mov eax, dword [0x67ee7c]
lea edx, [eax + eax*4]
shl edx, 7
add edx, 0x67e48c
lea eax, [esp + 0x4c]
call fcn.004c2e90
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x70]
push edx
mov eax, edx
push str._s__s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x240]
add esp, 0x10
lea ebx, [eax + 0x50]
mov dword [esp + 0x14], eax
call fcn.00428e10
xor edx, edx
lea esi, [ebx + 0x10]
lea edi, [esp + 0x2c]
mov word [ebx + 0xc], dx
mov dword [ebx + 0x30], 0xffffff
call fcn.00401a10
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x34], 0x33517d
lea ecx, [esp + 0x6c]
mov dword [eax + 0xa0], 0xdc
push ecx
mov eax, ebx
call fcn.00429230
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.005762ee
mov esp, ebp
pop ebp
ret 4
Function at 0x4438a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f2b1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov dword [ebp - 0x3c], esi
call fcn.00421860
xor ebx, ebx
mov eax, 0x400
mov dword [esi + 0x238], ebx
mov word [esi + 0xc], ax
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x234], ebx
lea edi, [esi + 0x250]
mov dword [ebp - 4], ebx
mov ecx, edi
mov dword [esi], vtable.CDissolutionDialog.0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
call fcn.004236f0
push 0xffffffffffffffff
push ebx
push 0x28
push 0x28
mov byte [ebp - 4], 1
mov ecx, 0x8b
push ebx
mov word [edi + 0xc], cx
push ebx
mov ecx, edi
mov dword [edi], vtable.CVirtualItem.0
mov dword [edi + 0x2a4], ebx
call fcn.004238b0
push 0x4b8130
push 0x4b8080
push 0x3c
push 0x2ac
lea edx, [esi + 0x4f8]
push edx
mov byte [ebp - 4], 2
call fcn.00576426
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], vtable.cImage.0
lea eax, [ebp - 0x30]
push eax
xor eax, eax
lea ecx, [ebx + 0x3f]
mov byte [ebp - 4], 4
call fcn.0042b870
mov ebx, edi
add ebx, 0x50
call fcn.00428e10
xor ecx, ecx
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x30]
mov word [ebx + 0xc], cx
mov dword [ebx + 0x30], 0xffffff
call fcn.00401a10
mov esi, dword [ebp - 0x34]
mov dword [ebx + 0x34], 0x33517d
push 0x5861b8
mov eax, ebx
mov dword [esi + 0xa0], 0xdc
call fcn.00429230
xor ecx, ecx
mov eax, esi
call fcn.00402ba0
mov esi, dword [ebp - 0x3c]
add esi, 0x578
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0x3c
jmp 0x4439f3
mov esi, dword [ebp - 0x34]
lea ebx, [esi - 0x30]
call fcn.00428e10
xor edx, edx
mov word [esi - 0x24], dx
mov dword [esi], 0xffffff
add esi, 0xffffffe0
lea edi, [ebp - 0x30]
call fcn.00401a10
mov esi, dword [ebp - 0x34]
mov dword [esi + 4], 0x33517d
push 0x5861b8
mov eax, ebx
mov dword [esi + 0x20], 0xdc
call fcn.00429230
lea eax, [esi - 0x80]
xor ecx, ecx
call fcn.00402ba0
add esi, 0x2ac
dec dword [ebp - 0x38]
mov dword [ebp - 0x34], esi
jne 0x4439f0
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov dword [eax + 0xa548], ecx
mov dword [eax + 0xa54c], ecx
mov dword [eax + 0xa550], ecx
mov dword [eax + 0xa554], ecx
mov dword [eax + 0xa558], ecx
mov dword [eax + 0xa55c], ecx
mov dword [eax + 0xa560], ecx
mov dword [eax + 0xa564], ecx
mov dword [eax + 0xa568], ecx
mov word [eax + 0xa56c], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
Function at 0x455af0
Capabilities:
Print debug messages

Disassembly:
push ebx
push edi
push 0x80
lea ebx, [esi + 0x18]
push str.MinimapIconPool
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax], 0
mov dword [esi + 0xc], 0xa
jne 0x455b2c
push eax
mov edi, 0x64
call fcn.00455cf0
mov eax, dword [esi + 4]
add esp, 4
mov dword [esi + 8], eax
push 0xa
push 0x64
push ebx
lea edi, [esi + 0x9c]
push str._MemoryPooltempl__s_
push edi
mov dword [esi + 0x98], 0x64
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x14]
lea ecx, [eax*4]
push ecx
push eax
mov eax, dword [esi + 0xc]
push edx
push eax
push 0x64
push ebx
push str.__s__Init_t_d_t_d_t_d_t_d_t_d_n
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
push edi
call fcn.00574d40
add esp, 0x24
pop edi
pop ebx
ret

Function at 0x455b90
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x455b9c
pop esi
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x455bb5
dec ecx
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x455c9a
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x14]
push ebx
push edi
test eax, eax
jne 0x455c2a
mov edi, dword [esi + 0xc]
lea ebx, [esi + 4]
push ebx
call fcn.00455cf0
mov edx, dword [ebx]
mov ecx, dword [esi + 0x14]
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
push ecx
mov dword [esi + 8], edx
mov edx, dword [esi + 0xc]
push edx
push eax
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push 0x588a30
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
add dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Increse_t_d_t_d_t_d_t_d_t_d_n
jmp 0x455c80
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x14]
push eax
push ecx
push edx
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push str.___s_alloc_Band
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
sub dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Decrese_t_d_t_d_t_d_t_d_t_d_n
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
push edi
call fcn.00574d40
add esp, 0x24
pop edi
pop ebx
mov ecx, esi
pop esi
jmp fcn.00455b90
inc dword [esi + 0x14]
pop esi
ret
Function at 0x45a7c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
movzx esi, word [ecx + 8]
sub esi, 0x5a
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ecx], 0
mov edx, dword [ebp + 8]
mov esi, dword [edx + eax*4 + 0x324]
jne 0x45a7ff
push str.Item_DB_idx__0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
pop ebp
ret 4
mov edx, str.CPrivateWarehouseDialog::AddItem
call fcn.0049e520
test eax, eax
je 0x45a7f8
call fcn.004593e0
pop esi
pop ebp
ret 4

Function at 0x468540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push ebx
push esi
push edi
test eax, eax
je 0x4686c0
cmp word [eax + 0xb], 0x5a
jbe 0x468564
mov ecx, 0x5a
mov word [eax + 0xb], cx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esp, [esp]
movzx edi, bx
mov dword [ebp - 8], edi
add edi, 0xf0
movzx ecx, di
sub ecx, 0xf0
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + eax*4 + 0x240]
lea ecx, [edi - 0xf0]
mov edx, 0x95
cmp cx, dx
ja 0x468618
mov cx, word [eax + 0x2f0]
mov dx, cx
shl dx, 4
sub dx, cx
add dx, dx
sub di, dx
mov ecx, 0xf0
sub di, cx
mov esi, eax
call fcn.00401a40
test eax, eax
je 0x468618
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, 0x88888889
imul ebx
add edx, ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
shl edx, 4
sub edx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + ecx*4 + 0x240]
add edx, edx
sub edi, edx
lea ebx, [ebp - 0xc]
call fcn.00425be0
mov ebx, dword [ebp - 4]
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, 0x5a
jl 0x468570
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor edx, edx
mov dword [ebp - 4], ebx
cmp dx, word [edi + 0xb]
jae 0x4686c0
add edi, 0x25
cmp dword [edi - 0x18], 0
lea ecx, [edi - 0x18]
je 0x468688
mov eax, dword [edi]
test eax, 0x100
je 0x46865c
xor eax, 0x100
mov dword [ebp - 4], 1
mov dword [edi], eax
movzx esi, word [edi - 0x10]
sub esi, 0xf0
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 + 0x240]
call fcn.00468a20
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0xb]
inc ebx
add edi, 0x22
cmp ebx, ecx
jl 0x46863c
cmp dword [ebp - 4], 0
je 0x4686c0
mov eax, dword [0x67fa34]
test eax, eax
jne 0x4686ab
mov eax, 0x6815d0
push eax
push 1
push 0xff3
push 0x67cc80
call fcn.0043af90
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x468a20
Capabilities:
Print debug messages

Disassembly:
push ecx
push esi
push edi
mov edi, dword [ecx]
mov esi, eax
test edi, edi
jne 0x468a3c
push str.Item_DB_idx__0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
pop esi
pop ecx
ret
xor edx, edx
mov eax, edi
div dword [0x67dd94]
mov eax, dword [0x67dd98]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x468a5d
cmp dword [edx], edi
je 0x468aa1
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x468a52
mov edx, str.CItemShopGridDialog::AddItem
call fcn.0049e520
mov edi, eax
test edi, edi
je 0x468a36
mov ecx, 1
call fcn.00402ba0
mov ecx, edi
call fcn.004aecd0
mov edx, dword [edi]
mov eax, dword [edx + 0x7c]
mov ecx, edi
call eax
movzx eax, ax
sub eax, 0xf0
cdq
mov ecx, 0x1e
idiv ecx
push edx
call fcn.00425720
pop edi
pop esi
pop ecx
ret
mov edi, dword [edx + 4]
test edi, edi
je 0x468a5d
mov cx, word [ecx + 8]
mov word [edi + 0x2ac], cx
jmp 0x468a7e
Function at 0x4763b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f526
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov dword [ebp - 0x34], esi
call fcn.00421860
lea edi, [esi + 0x238]
mov dword [ebp - 4], 0
mov ecx, edi
mov dword [esi], vtable.CSealDialog.0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
call fcn.004236f0
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push 0x28
push 0x28
mov byte [ebp - 4], 1
push ebx
mov eax, 0x8b
push ebx
mov ecx, edi
mov dword [edi], vtable.CVirtualItem.0
mov dword [edi + 0x2a4], ebx
mov word [edi + 0xc], ax
call fcn.004238b0
mov ecx, 0x809
mov word [esi + 0xc], cx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], vtable.cImage.0
lea edx, [ebp - 0x30]
push edx
xor eax, eax
lea ecx, [ebx + 0x3f]
mov byte [ebp - 4], 3
call fcn.0042b870
lea ebx, [edi + 0x50]
call fcn.00428e10
xor eax, eax
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x30]
mov word [ebx + 0xc], ax
mov dword [ebx + 0x30], 0xffffff
call fcn.00401a10
mov esi, dword [ebp - 0x38]
mov dword [ebx + 0x34], 0x33517d
push 0x5861b8
mov eax, ebx
mov dword [esi + 0xa0], 0xdc
call fcn.00429230
xor ecx, ecx
mov eax, esi
call fcn.00402ba0
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov dword [eax + 0x4e0], ecx
mov dword [eax + 0x4e4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
Function at 0x476c30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f526
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov dword [ebp - 0x34], esi
call fcn.00421860
lea edi, [esi + 0x238]
mov dword [ebp - 4], 0
mov ecx, edi
mov dword [esi], vtable.CReinforceResetDlg.0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
call fcn.004236f0
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push 0x28
push 0x28
mov byte [ebp - 4], 1
push ebx
mov eax, 0x8b
push ebx
mov ecx, edi
mov dword [edi], vtable.CVirtualItem.0
mov dword [edi + 0x2a4], ebx
mov word [edi + 0xc], ax
call fcn.004238b0
mov ecx, 0x80f
mov word [esi + 0xc], cx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], vtable.cImage.0
lea edx, [ebp - 0x30]
push edx
xor eax, eax
lea ecx, [ebx + 0x3f]
mov byte [ebp - 4], 3
call fcn.0042b870
lea ebx, [edi + 0x50]
call fcn.00428e10
xor eax, eax
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x30]
mov word [ebx + 0xc], ax
mov dword [ebx + 0x30], 0xffffff
call fcn.00401a10
mov esi, dword [ebp - 0x38]
mov dword [ebx + 0x34], 0x33517d
push 0x5861b8
mov eax, ebx
mov dword [esi + 0xa0], 0xdc
call fcn.00429230
xor ecx, ecx
mov eax, esi
call fcn.00402ba0
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov dword [eax + 0x4e0], ecx
mov dword [eax + 0x4e4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
Function at 0x478690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f526
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov dword [ebp - 0x34], esi
call fcn.00421860
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.CPetRevivalDialog.0
add esi, 0x238
mov ecx, esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
call fcn.004236f0
push 0xffffffffffffffff
push edi
push 0x28
push 0x28
mov byte [ebp - 4], 1
push edi
mov eax, 0x8b
push edi
mov ecx, esi
mov dword [esi], vtable.CVirtualItem.0
mov dword [esi + 0x2a4], edi
mov word [esi + 0xc], ax
call fcn.004238b0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], vtable.cImage.0
lea ecx, [ebp - 0x30]
push ecx
xor eax, eax
lea ecx, [edi + 0x3f]
mov byte [ebp - 4], 3
call fcn.0042b870
lea ebx, [esi + 0x50]
call fcn.00428e10
xor edx, edx
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x30]
mov word [ebx + 0xc], dx
mov dword [ebx + 0x30], 0xffffff
call fcn.00401a10
mov esi, dword [ebp - 0x38]
mov dword [ebx + 0x34], 0x33517d
push 0x5861b8
mov eax, ebx
mov dword [esi + 0xa0], 0xdc
call fcn.00429230
xor ecx, ecx
mov eax, esi
call fcn.00402ba0
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov dword [eax + 0x234], ecx
mov dword [eax + 0x4e0], ecx
mov dword [eax + 0x4e4], ecx
mov dword [eax + 0x4e8], ecx
mov dword [eax + 0x4ec], ecx
mov dword [eax + 0x4f0], ecx
mov dword [eax + 0x4f4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
Function at 0x4793c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f526
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov dword [ebp - 0x34], esi
call fcn.00421860
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.CPetUpgradeDialog.0
add esi, 0x238
mov ecx, esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
call fcn.004236f0
push 0xffffffffffffffff
push edi
push 0x28
push 0x28
mov byte [ebp - 4], 1
push edi
mov eax, 0x8b
push edi
mov ecx, esi
mov dword [esi], vtable.CVirtualItem.0
mov dword [esi + 0x2a4], edi
mov word [esi + 0xc], ax
call fcn.004238b0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], vtable.cImage.0
lea ecx, [ebp - 0x30]
push ecx
xor eax, eax
lea ecx, [edi + 0x3f]
mov byte [ebp - 4], 3
call fcn.0042b870
lea ebx, [esi + 0x50]
call fcn.00428e10
xor edx, edx
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x30]
mov word [ebx + 0xc], dx
mov dword [ebx + 0x30], 0xffffff
call fcn.00401a10
mov esi, dword [ebp - 0x38]
mov dword [ebx + 0x34], 0x33517d
push 0x5861b8
mov eax, ebx
mov dword [esi + 0xa0], 0xdc
call fcn.00429230
xor ecx, ecx
mov eax, esi
call fcn.00402ba0
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov dword [eax + 0x234], ecx
mov dword [eax + 0x4e0], ecx
mov dword [eax + 0x4e4], ecx
mov dword [eax + 0x4e8], ecx
mov dword [eax + 0x4ec], ecx
mov dword [eax + 0x4f0], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
Function at 0x479e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f526
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov dword [ebp - 0x34], esi
call fcn.00421860
lea edi, [esi + 0x238]
mov dword [ebp - 4], 0
mov ecx, edi
mov dword [esi], vtable.CRareCreateDialog.0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
call fcn.004236f0
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push 0x28
push 0x28
mov byte [ebp - 4], 1
push ebx
mov eax, 0x8b
push ebx
mov ecx, edi
mov dword [edi], vtable.CVirtualItem.0
mov dword [edi + 0x2a4], ebx
mov word [edi + 0xc], ax
call fcn.004238b0
mov ecx, 0x810
mov word [esi + 0xc], cx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], vtable.cImage.0
lea edx, [ebp - 0x30]
push edx
xor eax, eax
lea ecx, [ebx + 0x3f]
mov byte [ebp - 4], 3
call fcn.0042b870
lea ebx, [edi + 0x50]
call fcn.00428e10
xor eax, eax
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x30]
mov word [ebx + 0xc], ax
mov dword [ebx + 0x30], 0xffffff
call fcn.00401a10
mov esi, dword [ebp - 0x38]
mov dword [ebx + 0x34], 0x33517d
push 0x5861b8
mov eax, ebx
mov dword [esi + 0xa0], 0xdc
call fcn.00429230
xor ecx, ecx
mov eax, esi
call fcn.00402ba0
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov dword [eax + 0x4e0], ecx
mov dword [eax + 0x4e4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret