Function at 0x479cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x578108
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x30]
xor ebp, ebp
add edi, 0x25
cmp edi, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
je 0x479d4b
add edi, 0xffffffdb
jmp 0x479d4d
xor edi, edi
mov esi, 0x348
call fcn.004507b0
mov esi, eax
cmp esi, ebp
je 0x479d7b
mov eax, dword [esi]
mov edx, dword [eax + 4]
push str.listwnd
mov ecx, esi
call edx
test eax, eax
je 0x479d7b
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x30], eax
jmp 0x479d7f
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x34]
cmp eax, 0x385
jne 0x479e6e
mov ebp, 1
cmp dword [esp + 0x30], ebp
jle 0x479f5b
lea ecx, [ecx]
mov edx, dword [esp + 0x1c]
push 0x3c0
push ebp
lea ecx, [esp + 0x3c]
push ecx
push edx
mov ecx, 0x348
call fcn.00482160
mov byte [esp + 0x28], 1
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x479e11
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x479e00
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x479e00
call fcn.00410660
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x479df7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x479e11
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00410570
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x479e36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
jl 0x479e5c
push 0x5990cc
push ebx
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
test eax, eax
je 0x479e5c
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x479f57
add ebp, 1
cmp ebp, dword [esp + 0x30]
jl 0x479da0
jmp 0x479f5b
cmp eax, 0x384
jne 0x479f5b
mov ebp, 1
cmp dword [esp + 0x30], ebp
jle 0x479f5b
jmp 0x479e90
mov edx, dword [esp + 0x1c]
push 0x3c0
push ebp
lea ecx, [esp + 0x3c]
push ecx
push edx
mov ecx, 0x348
call fcn.00482160
mov byte [esp + 0x28], 2
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x479f01
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x479ef0
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x479ef0
call fcn.00410660
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x479ee7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x479f01
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00410570
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x479f26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
jl 0x479f48
push 0x5990d8
push ebx
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
test eax, eax
je 0x479f48
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x479f57
add ebp, 1
cmp ebp, dword [esp + 0x30]
jl 0x479e90
jmp 0x479f5b
mov dword [esp + 0x18], ebp
lea eax, [ebx - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x479f7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8