Function at 0x414c90
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov esi, esp
mov dword [esi + 0x108], ebp
xor eax, eax
lea edi, [esi + 0x110]
mov dl, 0xff
lea ebx, [esi + 0x30]
pcmpeqd xmm0, xmm0
dec eax
mov dword [edi - 4], esp
mov dword [edi + 8], eax
mov dword [edi + 4], 0x41d360
mov ecx, dword fs:[0]
mov dword [edi], ecx
lea ecx, [esi + 0x17]
mov dword fs:[0], edi
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov al, 0xff
mov byte [ecx], dl
lea edx, [esi + 0x16]
mov byte [edx], al
lea eax, [esi + 0x40]
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
push edx
push ecx
push eax
push dword [ebp + 0x14]
push ebx
call fcn.004172d0
add esp, 0x14
xor eax, eax
lea ecx, [esi + 0x18]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [edi + 8], eax
push eax
push 0xa
call fcn.0041d9c6
mov bl, 1
lea eax, [esi + 0x19]
test byte [eax - 1], bl
je 0x414d2a
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x28]
mov dword [esi + 0xc], eax
lea edi, [esi + 0x68]
mov dword [ecx], eax
push 0xa0
push 0xff
push edi
call fcn.005076c0
add esp, 0xc
lea ecx, [esi + 0x2c]
lea eax, [esi + 0x24]
lea edx, [esi + 0xb]
mov dword [ecx], 0
lea ecx, [esi + 0x15]
mov dword [eax], edi
mov byte [edx], bl
mov byte [ecx], 0x45
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040532e
test al, al
jne 0x414e59
movzx edx, byte [esi + 0x18]
mov eax, dword [esi + 0x28]
mov ebx, dword [esi + 0xc]
test dl, 1
jne 0x414d88
shr edx, 1
jmp 0x414d8b
mov edx, dword [esi + 0x1c]
lea ecx, [ebx + edx]
cmp eax, ecx
jne 0x414dd5
mov dword [esi + 0xc], edx
lea eax, [edx + edx]
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.0041d9c6
mov eax, dword [esi + 0x18]
mov ecx, 0xa
and eax, 0xfffffffe
dec eax
test byte [esi + 0x18], 1
cmove eax, ecx
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.0041d9c6
test byte [esi + 0x18], 1
lea ebx, [esi + 0x19]
je 0x414dcd
mov ebx, dword [esi + 0x20]
mov eax, dword [esi + 0xc]
add eax, ebx
mov dword [esi + 0x28], eax
mov ecx, dword [ebp + 0xc]
mov dl, byte [esi + 0x16]
mov dh, byte [esi + 0x17]
mov dword [esi + 0xc], ebx
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x414dee
movzx eax, byte [eax]
jmp 0x414e02
mov eax, dword [ecx]
mov byte [esi + 0x13], dh
mov byte [esi + 0x14], dl
call dword [eax + 0x20]
mov ebx, dword [esi + 0xc]
mov dl, byte [esi + 0x14]
mov dh, byte [esi + 0x13]
movsx eax, al
lea edi, [esi + 0x40]
movsx ecx, dl
movsx edx, dh
push edi
lea edi, [esi + 0x2c]
push edi
lea edi, [esi + 0x24]
push edi
lea edi, [esi + 0x68]
push edi
lea edi, [esi + 0x30]
push edi
push ecx
push edx
lea ecx, [esi + 0x28]
push ecx
push ebx
lea ecx, [esi + 0x15]
push ecx
lea ecx, [esi + 0xb]
push ecx
push eax
call fcn.004173ae
add esp, 0x30
test eax, eax
jne 0x414e59
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x414e4f
inc eax
mov dword [ecx + 0xc], eax
jmp 0x414d61
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x414d61
movzx eax, byte [esi + 0x30]
mov edi, dword [esi + 0xc]
mov cl, 1
test al, cl
je 0x414e6b
mov eax, dword [esi + 0x34]
jmp 0x414e6d
shr eax, 1
cmp byte [esi + 0xb], 0
je 0x414e94
test eax, eax
je 0x414e94
mov eax, dword [esi + 0x24]
lea edx, [esi + 0x68]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x9f
jg 0x414e94
mov ecx, dword [esi + 0x2c]
lea edx, [eax + 4]
mov dword [esi + 0x24], edx
mov dword [eax], ecx
push dword [ebp + 0x18]
push dword [esi + 0x28]
push edi
call fcn.0041c8cb
add esp, 0xc
fstp dword [esi + 0x3c]
mov eax, dword [ebp + 0x1c]
movd xmm0, dword [esi + 0x3c]
movd dword [eax], xmm0
push dword [ebp + 0x18]
push dword [esi + 0x24]
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.0040bf6a
add esp, 0x10
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040532e
test al, al
je 0x414ede
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test byte [esi + 0x18], 1
mov dword [edi], eax
je 0x414ef7
push dword [esi + 0x20]
call fcn.005031ac
add esp, 4
test byte [esi + 0x30], 1
je 0x414f08
push dword [esi + 0x38]
call fcn.005031ac
add esp, 4
mov eax, dword [esi + 0x110]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18