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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41c92b
sub esp, 0x28
mov eax, dword [esp + 0x2c]
test eax, 3
jne 0x41c913
movzx edx, byte [0xc509a7]
mov ebx, dword [esp + 0x38]
mov ebp, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x40]
mov esi, ecx
shr ecx, 3
mov dword [esp + 0x18], ecx
mov edi, esi
and esi, 7
mov ecx, esi
mov eax, 1
shl eax, cl
mov esi, dword [esp + 0x18]
mov ecx, edi
lea edi, [esi + ebp]
test dl, dl
je 0x41c644
test byte [edi], al
movzx edx, byte [esi + ebp]
test dl, al
je 0x41c7e6
mov eax, dword [0xc42710]
test byte [eax], al
mov edx, dword [esp + 0x2c]
mov ebp, edx
shr edx, 0x16
mov eax, dword [eax + edx*4]
test eax, eax
je 0x41c635
mov esi, ebp
shr ebp, 4
and ebp, 0x3ffff
add ebp, eax
mov edi, esi
shr esi, 2
and esi, 3
add eax, 0x3ffff
mov dword [esp + 0x20], eax
mov edi, dword [ebx + 0x40]
cmp edi, 4
jne 0x41c609
movzx ebx, byte [ebp]
mov ecx, esi
shr bl, cl
cmp ecx, 8
sbb eax, eax
and ebx, eax
test bl, 1
setne al
test al, al
jne 0x41c605
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], edi
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00411310
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x40]
cmp eax, 4
jne 0x41c5e6
mov eax, dword [esp + 0x24]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x1c]
shr al, cl
cmp ecx, 8
sbb edx, edx
and eax, edx
test al, 1
setne al
test al, al
je 0x41c7ce
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x41c5e2
mov edx, dword [ecx + 0xc]
cmp edx, 0x1fc
jne 0x41c5c6
xor ecx, ecx
test cl, cl
je 0x41c5b4
add esp, 0x28
ret
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0041e560
jmp 0x41c5b0
jae 0x41c6ae
mov ebx, dword [esp + 0x2c]
mov dword [ecx + edx*4 + 0x10], ebx
mov edx, dword [ecx + 0xc]
inc edx
mov dword [ecx + 0xc], edx
mov ecx, 1
jmp 0x41c5ac
xor ecx, ecx
jmp 0x41c5ac
mov edx, dword [esp + 0x24]
movzx edx, byte [edx]
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + 1]
shr dl, cl
cmp ecx, 8
sbb ebx, ebx
and edx, ebx
test dl, 0x10
setne al
jmp 0x41c58d
add esp, 0x28
ret
movzx ebx, byte [ebp]
mov byte [esp + 0x17], bl
lea ebx, [esi + 1]
mov ecx, ebx
movzx ebx, byte [esp + 0x17]
shr bl, cl
cmp ecx, 8
mov ecx, ebx
sbb ebx, ebx
and ecx, ebx
test cl, 0x10
setne bl
mov ecx, esi
mov eax, ebx
jmp 0x41c53b
mov edi, ebp
xor eax, eax
xor edx, edx
xor esi, esi
xor ebp, ebp
jmp 0x41c516
mov edx, dword [0xc50d4c]
test edx, edx
jle 0x41c655
mov edx, dword [ebx + 0x18]
cmp ecx, edx
jae 0x41c69c
test byte [edi], al
movzx ecx, byte [esi + ebp]
test cl, al
jne 0x41c698
mov dword [esp], edi
mov byte [esp + 4], al
call fcn.004023f0
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 0x3a]
test cl, 1
je 0x41c595
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 0x40]
add eax, edx
mov edx, dword [ecx + 0xc]
mov dword [ecx + 8], eax
adc edx, 0
mov dword [ecx + 0xc], edx
add esp, 0x28
ret
add esp, 0x28
ret
mov ecx, dword [ebx + 0x28]
lea edx, [ecx + esi]
test byte [edx], al
movzx ecx, byte [ecx + esi]
test cl, al
jne 0x41c655
jmp 0x41c6b5
call fcn.00428ae0
ud2
call fcn.0042a7b0
lea eax, [0x85b95c]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0042b030
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042af10
lea eax, [0x84ff1c]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0042b030
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042af10
lea eax, [0x84994e]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0042b030
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042af10
lea eax, [0x8499b5]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042b030
call fcn.0042a820
lea eax, [0x84a4fc]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.0041c940
lea eax, [0x849ff7]
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xffffffff
call fcn.0041c940
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x99], 2
lea eax, [0x854f98]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00429ef0
ud2
lea eax, [0x861f6b]
mov dword [esp], eax
mov dword [esp + 4], 0x29
call fcn.00429ef0
ud2
call fcn.0042a7b0
call fcn.0042a7b0
lea eax, [0x869048]
mov dword [esp], eax
mov dword [esp + 4], 0x44
call fcn.0042b030
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042af10
call fcn.0042a9c0
call fcn.0042a820
call fcn.0042a7b0
lea eax, [0x858875]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0042b030
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042af10
lea eax, [0x84994e]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0042b030
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042af10
lea eax, [0x8499b5]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042b030
call fcn.0042a820
lea eax, [0x84a4fc]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.0041c940
lea eax, [0x849ff7]
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xffffffff
call fcn.0041c940
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x99], 2
lea eax, [0x85c751]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.00429ef0
ud2
lea eax, [0x85eb2a]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.00429ef0
ud2
call fcn.00451680
jmp fcn.0041c470