Function at 0x4100c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x421c58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x20]
push 0x1004
push eax
mov dword [esp + 0x30], 3
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
lea edi, [ebx + 8]
sub eax, 0x10
mov dword [esp + 0x28], 0
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, edx
sub eax, 0x100
or eax, ecx
jge 0x410134
push 0x100
mov ecx, edi
call fcn.004016d0
mov ecx, dword [edi]
mov ebp, ecx
test ebp, ebp
mov dword [esp + 0x34], ecx
jne 0x410144
xor eax, eax
jmp 0x410159
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410150
sub eax, edx
mov dword [ebp - 0xc], eax
mov edx, dword [edi]
mov byte [eax + edx], 0
mov eax, dword [ebx + 0xc]
sub eax, 0x10
push eax
call fcn.004013a0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x50], 0
call sub.MFC70.DLL_Ordinal_982
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x54], 1
call sub.WELLBASE30.dll_int___cdecl_GetWellBaseBinDir_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char_____
add esp, 4
test eax, eax
je 0x41025c
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x41025c
push str._FORWARDBIN_
push edi
call dword [sym.imp.MSVCR70.dll__mbsstr]
add esp, 8
test eax, eax
je 0x41025c
sub eax, edi
mov dword [esp + 0x1c], eax
jne 0x41025c
push 0xd
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x64]
call fcn.00404d60
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x5c], 2
call fcn.00404d90
add esp, 0xc
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 3
call fcn.004035b0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410235
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x50], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410258
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x5c]
mov eax, str.worksmthmgr.dll
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410264
sub eax, edx
push eax
push str.worksmthmgr.dll
lea ecx, [esp + 0x18]
call fcn.00404600
mov eax, dword [ebx + 0x28]
test eax, eax
jl 0x41029d
call sub.MFC70.DLL_Ordinal_977
mov ecx, dword [ebx + 0x28]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 8]
push ecx
push edx
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconA]
jmp 0x4102cf
call sub.MFC70.DLL_Ordinal_977
mov edx, dword [ebx + 0x28]
mov eax, dword [eax + 8]
mov ebp, dword [sym.imp.SHELL32.dll_ExtractIconA]
or ecx, 0xffffffff
sub ecx, edx
push ecx
push edi
push eax
call ebp
mov edi, eax
test edi, edi
jne 0x4102d1
call sub.MFC70.DLL_Ordinal_977
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 8]
push edi
push edx
push eax
call ebp
mov edi, eax
mov eax, dword [esi + 0x5c]
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push edi
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi + 0x64]
push edi
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x48], eax
call ebp
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x20]
push edx
push 0
push 0x1007
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
mov eax, dword [ebx + 0xc]
push eax
push 1
push ebp
mov ecx, esi
call sub.MFC70.DLL_Ordinal_5631
mov eax, dword [ebx + 0x10]
push eax
push 2
push ebp
mov ecx, esi
call sub.MFC70.DLL_Ordinal_5631
mov eax, dword [ebx + 0x14]
push eax
push 3
push ebp
mov ecx, esi
call sub.MFC70.DLL_Ordinal_5631
mov eax, dword [ebx + 0x1c]
push eax
push 4
push ebp
mov ecx, esi
call sub.MFC70.DLL_Ordinal_5631
mov eax, dword [ebx + 0x18]
push eax
push 5
push ebp
mov ecx, esi
call sub.MFC70.DLL_Ordinal_5631
call sub.MFC70.DLL_Ordinal_982
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov eax, dword [edi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, 0x80
or eax, ecx
mov byte [esp + 0x50], 4
jge 0x410392
push 0x80
lea ecx, [esp + 0x18]
call fcn.004016d0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x20]
push ecx
push 0x4286f8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
test edi, edi
jne 0x4103b1
xor eax, eax
jmp 0x4103bf
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4103b6
sub eax, edx
push edi
push 6
mov dword [edi - 0xc], eax
push ebp
mov ecx, esi
mov byte [eax + edi], 0
call sub.MFC70.DLL_Ordinal_5631
mov eax, dword [edi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, 0x80
or eax, ecx
jge 0x4103f9
push 0x80
lea ecx, [esp + 0x18]
call fcn.004016d0
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 4]
push edx
push 0x4286f8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
test edi, edi
jne 0x410414
xor eax, eax
jmp 0x410429
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410420
sub eax, edx
push edi
push 7
mov dword [edi - 0xc], eax
push ebp
mov ecx, esi
mov byte [eax + edi], 0
call sub.MFC70.DLL_Ordinal_5631
push 3
push 3
push ebp
mov ecx, esi
call sub.MFC70.DLL_Ordinal_5629
add edi, 0xfffffff0
mov byte [esp + 0x50], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410466
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x50], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x41048d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4104b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8