Function at 0x469380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49e0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c02a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4c45ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c45ac
mov dword [esp + 0x1c], 0x80004005
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea eax, [esi + 8]
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], eax
test edx, edx
jne 0x4693e7
xor eax, eax
jmp 0x4693ff
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4693f0
sub eax, edi
sar eax, 1
mov ebx, eax
mov eax, dword [esp + 0x14]
push edx
call fcn.004076a0
mov edi, dword [esp + 0x14]
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x469445
lea edx, [eax - 1]
test edx, edx
jl 0x4696ef
cmp edx, eax
jg 0x4696ef
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x469445
cmp ax, 0x2f
je 0x469445
mov edx, 0x4a51e8
call fcn.004120c0
mov eax, dword [edi]
push eax
call fcn.0046a980
mov eax, dword [esi + 0x34]
mov eax, dword [eax]
mov edi, dword [esi + 0x1c]
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov ebx, dword [esi + 0x34]
mov eax, dword [esi + 0x1c]
test edi, edi
je 0x46946e
cmp edi, eax
je 0x469473
call fcn.0047d0a2
cmp dword [esp + 0x28], ebx
je 0x4696a6
test edi, edi
jne 0x4694e6
call fcn.0047d0a2
xor eax, eax
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x18]
jne 0x469496
call fcn.0047d0a2
mov ebx, dword [esp + 0x28]
add ebx, 0xc
test edi, edi
jne 0x4694ea
call fcn.0047d0a2
mov edx, dword [esp + 0x28]
cmp edx, dword [edi + 0x18]
jne 0x4694b4
call fcn.0047d0a2
mov eax, dword [ebx]
mov ecx, 0x4a5064
jmp 0x4694c0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4694ee
test dx, dx
je 0x4694e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4694ee
add eax, 4
add ecx, 4
test dx, dx
jne 0x4694c0
xor eax, eax
jmp 0x4694f3
mov eax, dword [edi]
jmp 0x469488
mov edi, dword [edi]
jmp 0x4694a6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x469608
mov eax, dword [0x4c45ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c45ac
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 1
cmp dword [esi + 0x3c], 0
je 0x469548
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0046b6e0
push eax
call fcn.0046b440
test eax, eax
jle 0x469548
lea eax, [esp + 0x18]
lea edi, [esp + 0x10]
call fcn.00404fc0
jmp 0x4695d6
push ebx
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
call fcn.004264f0
add esp, 8
mov byte [esp + 0x38], 2
mov ecx, dword [eax]
mov edi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x4695b1
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4695a4
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4695a4
call fcn.00404f50
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x46959b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [esp + 0x10], esi
jmp 0x4695b1
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x14]
call fcn.004076a0
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4695d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0046a980
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x469608
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x24]
mov eax, dword [eax]
mov ebx, dword [ecx + 0x10]
mov esi, eax
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x24]
mov eax, dword [eax + 0x10]
test ebx, ebx
je 0x469628
cmp ebx, eax
je 0x46962d
call fcn.0047d0a2
cmp esi, edi
je 0x46967a
test ebx, ebx
jne 0x469672
call fcn.0047d0a2
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x469646
call fcn.0047d0a2
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
push edi
call fcn.0046a330
test eax, eax
je 0x46968f
test ebx, ebx
jne 0x469676
call fcn.0047d0a2
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x46966e
call fcn.0047d0a2
mov esi, dword [esi]
jmp 0x469616
mov eax, dword [ebx]
jmp 0x46963c
mov eax, dword [ebx]
jmp 0x469664
lea esi, [esp + 0x24]
call fcn.0046da70
mov edi, dword [esp + 0x24]
mov esi, dword [ebp + 8]
jmp 0x469460
mov edi, dword [edi]
push edi
push str.ExtractMemoryFiles_WriteFile_fail__path:_ws
mov ecx, 0x4c5908
call fcn.00472890
add esp, 8
jmp 0x4696ae
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4696d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00402890
int3