Function at 0x40b970
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41e968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor ebp, ebp
push 0x18
mov dword [esp + 0x20], ebp
call fcn.00419780
mov ecx, dword [esp + 0x30]
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esi + 4], ecx
mov dword [esi + 0x14], ebp
mov eax, dword [0x427808]
mov dword [esi], eax
mov edx, dword [0x427808]
mov eax, dword [esp + 0x30]
mov dword [esi + 8], edx
lea edx, [esi + 0xc]
cmp edx, ebp
je 0x40b9d1
mov edi, dword [eax]
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov edi, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
inc edi
cmp ecx, edx
mov dword [ebx + 0xc], edi
je 0x40ba0d
mov edx, dword [esp + 0x28]
mov edi, dword [0x427808]
cmp edx, edi
jne 0x40ba0d
mov eax, dword [eax]
mov edi, dword [ecx + 0xc]
xor edx, edx
cmp eax, edi
setl dl
test dl, dl
jne 0x40ba0d
mov dword [ecx + 8], esi
mov edx, dword [ebx + 4]
cmp ecx, dword [edx + 8]
jne 0x40ba27
mov dword [edx + 8], esi
jmp 0x40ba27
mov dword [ecx], esi
mov edx, dword [ebx + 4]
cmp ecx, edx
jne 0x40ba21
mov dword [edx + 4], esi
mov eax, dword [ebx + 4]
mov dword [eax + 8], esi
jmp 0x40ba27
cmp ecx, dword [edx]
jne 0x40ba27
mov dword [edx], esi
mov edx, dword [ebx + 4]
mov ecx, esi
mov eax, 1
cmp esi, dword [edx + 4]
je 0x40bbc5
mov edx, dword [ecx + 4]
cmp dword [edx + 0x14], ebp
jne 0x40bbc5
mov edi, dword [edx + 4]
mov esi, dword [edi]
cmp edx, esi
jne 0x40bb01
mov esi, dword [edi + 8]
cmp dword [esi + 0x14], ebp
je 0x40bb06
cmp ecx, dword [edx + 8]
jne 0x40baa1
mov ecx, edx
mov edx, dword [ecx + 8]
mov esi, dword [edx]
mov dword [ecx + 8], esi
mov esi, dword [edx]
cmp esi, dword [0x427808]
je 0x40ba7b
mov dword [esi + 4], ecx
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ebx + 4]
cmp ecx, dword [esi + 4]
jne 0x40ba8e
mov dword [esi + 4], edx
jmp 0x40ba9c
mov esi, dword [ecx + 4]
cmp ecx, dword [esi]
jne 0x40ba99
mov dword [esi], edx
jmp 0x40ba9c
mov dword [esi + 8], edx
mov dword [edx], ecx
mov dword [ecx + 4], edx
mov edx, dword [ecx + 4]
mov dword [edx + 0x14], eax
mov edx, dword [ecx + 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x14], ebp
mov edx, dword [ecx + 4]
mov edx, dword [edx + 4]
mov esi, dword [edx]
mov edi, dword [esi + 8]
mov dword [edx], edi
mov edi, dword [esi + 8]
cmp edi, dword [0x427808]
je 0x40bacb
mov dword [edi + 4], edx
mov edi, dword [edx + 4]
mov dword [esi + 4], edi
mov edi, dword [ebx + 4]
cmp edx, dword [edi + 4]
jne 0x40bae4
mov dword [edi + 4], esi
mov dword [esi + 8], edx
jmp 0x40bbb0
mov edi, dword [edx + 4]
cmp edx, dword [edi + 8]
jne 0x40baf7
mov dword [edi + 8], esi
mov dword [esi + 8], edx
jmp 0x40bbb0
mov dword [edi], esi
mov dword [esi + 8], edx
jmp 0x40bbb0
cmp dword [esi + 0x14], ebp
jne 0x40bb20
mov dword [edx + 0x14], eax
mov dword [esi + 0x14], eax
mov edx, dword [ecx + 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x14], ebp
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 4]
jmp 0x40bbb3
cmp ecx, dword [edx]
jne 0x40bb63
mov ecx, edx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov dword [ecx], esi
mov esi, dword [edx + 8]
cmp esi, dword [0x427808]
je 0x40bb3b
mov dword [esi + 4], ecx
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ebx + 4]
cmp ecx, dword [esi + 4]
jne 0x40bb4e
mov dword [esi + 4], edx
jmp 0x40bb5d
mov esi, dword [ecx + 4]
cmp ecx, dword [esi + 8]
jne 0x40bb5b
mov dword [esi + 8], edx
jmp 0x40bb5d
mov dword [esi], edx
mov dword [edx + 8], ecx
mov dword [ecx + 4], edx
mov edx, dword [ecx + 4]
mov dword [edx + 0x14], eax
mov edx, dword [ecx + 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x14], ebp
mov edx, dword [ecx + 4]
mov edx, dword [edx + 4]
mov esi, dword [edx + 8]
mov edi, dword [esi]
mov dword [edx + 8], edi
mov edi, dword [esi]
cmp edi, dword [0x427808]
je 0x40bb8d
mov dword [edi + 4], edx
mov edi, dword [edx + 4]
mov dword [esi + 4], edi
mov edi, dword [ebx + 4]
cmp edx, dword [edi + 4]
jne 0x40bba0
mov dword [edi + 4], esi
jmp 0x40bbae
mov edi, dword [edx + 4]
cmp edx, dword [edi]
jne 0x40bbab
mov dword [edi], esi
jmp 0x40bbae
mov dword [edi + 8], esi
mov dword [esi], edx
mov dword [edx + 4], esi
mov edx, dword [ebx + 4]
mov esi, dword [edx + 4]
cmp ecx, esi
mov esi, dword [esp + 0x10]
jne 0x40ba3a
mov ecx, dword [ebx + 4]
pop edi
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [eax], esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x10