Function at 0x1006ed10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a643e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x133c
call fcn.1007bf80
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
xor edx, edx
xor eax, eax
mov word [esp + 0x348], dx
mov ecx, 0x3ff
lea edi, [esp + 0x34a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x40], dx
mov ecx, 0x3f
lea edi, [esp + 0x42]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x80
lea eax, [esp + 0x44]
push eax
lea edi, [esi + 0x10]
push edi
mov dword [esp + 0x2c], edx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push edi
call fcn.10018640
add esp, 0x10
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
movzx ecx, byte [esi + 0xb6]
push ecx
lea edx, [esp + 0x1c]
push 0x100acb30
push edx
mov dword [esp + 0x1360], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0xc
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
movzx eax, byte [esi + 0xba]
movzx ecx, byte [esi + 0xb9]
movzx edx, byte [esi + 0xb8]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push str._02x_02x_02x
push eax
mov byte [esp + 0x1368], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
mov ecx, dword [esi + 8]
add esp, 0x14
or ecx, dword [esi + 0xc]
mov edi, 1
mov dword [esp + 0x1c], edi
je 0x1006ee45
cmp byte [esi + 0x40], 2
jne 0x1006ee45
lea edx, [esi + 0x2bc]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push 0
push 0x100aea54
mov ecx, eax
mov dword [esp + 0x28], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Find]
cmp eax, 0xffffffff
mov byte [esp + 0x13], 1
je 0x1006ee4a
mov byte [esp + 0x13], 0
test byte [esp + 0x20], 1
je 0x1006ee5b
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp byte [esp + 0x13], 0
je 0x1006ee6a
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, eax
or edx, ecx
je 0x1006efa1
cmp byte [esi + 0x40], 2
jne 0x1006ef71
mov word [esp + 0x140], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x142]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x200
lea ecx, [esp + 0x144]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x140]
push 0x5c
push edx
call dword [sym.imp.MSVCR71.dll_wcsrchr]
mov word [eax], 0
lea eax, [esp + 0x148]
push str._skinworldBugleIcon.png
push eax
call dword [sym.imp.MSVCR71.dll_wcscat]
mov eax, dword [esi + 8]
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x1006ef36
mov ecx, dword [esi + 0xc]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
lea edx, [esi + 0x2bc]
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push edx
push ecx
push eax
push str.kele55user:
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x370]
push str._IMG_src__s___a_href__s_I64d___font_style_color:_s__font_size:_spt__text_decoration:underline____b_
push ecx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x30
jmp 0x1006efcf
mov edx, dword [esi + 0xc]
push edx
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esi + 0x2bc]
push edx
push eax
push ecx
lea edx, [esp + 0x158]
push edx
lea eax, [esp + 0x364]
push str._IMG_src__s___a__font_style_color:_s__font_size:_spt__text_decoration:underline____b_
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x24
jmp 0x1006efcf
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push edx
push ecx
push eax
push str.kele55user:
lea eax, [esp + 0x368]
push str._a_href__s_I64d___font_style_color:_s__font_size:_spt__text_decoration:underline____b__s__I64d___b_:__font___a_
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x28
jmp 0x1006efcf
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push 0
push 0
push str.kele55user:
lea ecx, [esp + 0x360]
push str._a_href__s_I64d___font_style_color:_s__font_size:_spt__text_decoration:underline____b__s__b_:__font___a_
push ecx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x20
mov edx, dword [esi + 8]
or edx, dword [esi + 0xc]
je 0x1006efde
mov ecx, 1
jmp 0x1006efe0
xor ecx, ecx
mov edx, dword [esp + 0x1c]
push edx
push ecx
mov ecx, 0x800
sub ecx, eax
push ecx
lea edx, [esp + eax*2 + 0x354]
push edx
lea edi, [esi + 0xbc]
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push edi
mov ecx, ebx
call fcn.1006d940
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x10]
push eax
lea edx, [esp + 0x34]
push 0x100ac364
push edx
mov byte [esp + 0x1360], 2
mov dword [esp + 0x38], ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x354]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esi + 0x44]
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push str._font_style_color:_s__font_size:_spt__font_family:_s__letter_spacing:0px____s__font___a_
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
mov dl, byte [esi + 0x40]
mov al, byte [esi + 0x41]
add esp, 0x24
add esi, 0x2bc
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3d], al
call dword [0x100ab7e8]
lea esi, [ebx + 0x4dc]
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x4cc]
mov byte [esp + 0x1358], 3
call fcn.1006ec00
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x134c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4