Function at 0x4be550
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x64e002
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0xc4]
push eax
mov ebp, ecx
push 0xe4
mov dword [esp + 0x70], ebp
mov dword [esp + 0x68], esi
call fcn.005f2ee2
xor ebx, ebx
mov dword [esp + 0xb8], ebx
lea ecx, [ebp + 0x7c]
mov dword [ebp], method.CAboutDlg.virtual_0
call fcn.004b71d0
mov byte [esp + 0xb8], 1
lea ecx, [ebp + 0x94]
call fcn.005fdbf9
mov byte [esp + 0xb8], 2
xor eax, eax
mov dword [ebp + 0xc8], ebx
mov dword [ebp + 0xd0], ebx
mov word [ebp + 0xcc], ax
mov byte [esp + 0xb8], 3
lea ecx, [ebp + 0xe0]
call fcn.00403f90
mov byte [esp + 0xb8], 4
lea ecx, [ebp + 0x134]
call fcn.00403f90
mov byte [esp + 0xb8], 5
lea ecx, [ebp + 0x188]
call fcn.00403ef0
mov byte [esp + 0xb8], 6
lea ecx, [ebp + 0x1dc]
call fcn.004f7f00
mov byte [esp + 0xb8], 7
lea eax, [ebp + 0x240]
mov dword [esp + 0x14], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0xb8], 8
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0xb8], 9
lea eax, [ebp + 0x250]
mov dword [esp + 0x14], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0xb8], 0xa
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0xb8], 0xb
lea eax, [ebp + 0x260]
mov dword [esp + 0x14], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0xb8], 0xc
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0xb8], 0xd
lea eax, [ebp + 0x270]
mov dword [esp + 0x14], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0xb8], 0xe
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0xb8], 0xf
lea eax, [ebp + 0x280]
mov dword [esp + 0x14], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0xb8], 0x10
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0xb8], 0x11
lea eax, [ebp + 0x290]
mov dword [esp + 0x14], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0xb8], 0x12
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0xb8], 0x13
lea ecx, [ebp + 0x2a0]
call fcn.004b6de0
mov byte [esp + 0xb8], 0x14
lea eax, [ebp + 0x2c4]
mov dword [esp + 0x14], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0xb8], 0x15
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0xb8], 0x16
lea eax, [ebp + 0x2d4]
mov dword [esp + 0x14], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0xb8], 0x17
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0xb8], 0x18
lea eax, [ebp + 0x2e4]
mov dword [esp + 0x14], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0xb8], 0x19
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0xb8], 0x1a
mov dword [ebp + method.CIDMStaticControl.virtual_0], vtable.CIDMStaticControl.0
mov byte [esp + 0xb8], 0x1b
mov dword [ebp + method.CIDMWCombobox.virtual_0], vtable.CIDMWCombobox.0
mov byte [esp + 0xb8], 0x1c
lea ecx, [ebp + 0x328]
call fcn.00402500
mov byte [esp + 0xb8], 0x1d
xor ecx, ecx
mov dword [ebp + 0x32c], ebx
mov dword [ebp + 0x334], ebx
mov word [ebp + 0x330], cx
mov byte [esp + 0xb8], 0x1e
xor edx, edx
mov dword [ebp + 0x338], ebx
mov dword [ebp + 0x340], ebx
mov word [ebp + 0x33c], dx
mov byte [esp + 0xb8], 0x1f
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
mov dword [ebp + 0xc0], ecx
mov dword [ebp + 0x34c], ebx
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x78], esi
mov dword [ebp + 0xbc], ebx
mov dword [ebp + 0x348], ebx
mov dword [ebp + 0xc4], edx
mov byte [ebp + 0xd4], bl
mov dword [ebp + 0xd8], 1
mov byte [ebp + 0xdc], bl
mov byte [ebp + 0xdd], bl
mov eax, dword [0x74fd28]
lea ecx, [esp + 0x20]
mov dword [ebp + 0x238], eax
mov dword [ebp + 0x23c], ebx
mov byte [esp + 0x1b], bl
call fcn.00402500
mov byte [esp + 0xb8], 0x20
lea ecx, [esp + 0x30]
call fcn.004607d0
mov byte [esp + 0xb8], 0x21
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jle 0x4bed40
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jl 0x4bee94
cmp dword [esp + 0x1c], eax
jge 0x4bee94
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 4]
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x20]
push eax
call fcn.004ba760
add esp, 4
test eax, eax
je 0x4be91b
mov ecx, dword [esp + 0x38]
add ecx, 0x20
push ecx
mov dword [ebp + 0x23c], 1
call fcn.004baa30
add esp, 4
test al, al
je 0x4be91b
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x38]
push ebx
lea edx, [esp + 0x24]
push edx
add ecx, 0x20
call fcn.0058fee0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.004058f0
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push 0x675ea0
push edx
call fcn.00402f70
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jle 0x4be9c4
push 0x23
push eax
call fcn.00623923
add esp, 8
cmp eax, ebx
je 0x4be9c4
sub eax, dword [esp + 0x34]
mov edi, eax
cmp edi, 0xffffffff
jle 0x4be9c4
cmp edi, ebx
jl 0x4bee8a
mov eax, dword [esp + 0x34]
mov esi, dword [eax - 0xc]
cmp edi, esi
jge 0x4bee8a
cmp dword [eax - 4], 1
jle 0x4be9a2
mov eax, esi
push eax
lea ecx, [esp + 0x38]
call fcn.00401720
mov eax, dword [esp + 0x34]
cmp esi, ebx
mov byte [eax + edi], bl
jl 0x4bee8a
mov eax, dword [esp + 0x34]
cmp esi, dword [eax - 8]
jg 0x4bee8a
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x34]
mov byte [ecx + esi], bl
mov edx, dword [esp + 0x38]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x58], ebx
mov edx, dword [edx + 0x60]
cmp edx, ebx
je 0x4bec00
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4be9e4
sub eax, esi
je 0x4bec00
mov ecx, 7
mov esi, str.___IDMTRANSMITIMGPREFIX___
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x6c]
movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
jmp 0x4bea10
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bea10
sub eax, esi
mov ecx, eax
lea esi, [esp + 0x6c]
mov edi, edx
cmp eax, 4
jb 0x4bea3e
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x4beabe
sub ecx, 4
add esi, 4
add edi, 4
cmp ecx, 4
jae 0x4bea26
cmp ecx, ebx
je 0x4bea62
mov dl, byte [esi]
cmp dl, byte [edi]
jne 0x4beabe
cmp ecx, 1
jbe 0x4bea62
mov dl, byte [esi + 1]
cmp dl, byte [edi + 1]
jne 0x4beabe
cmp ecx, 2
jbe 0x4bea62
mov cl, byte [esi + 2]
cmp cl, byte [edi + 2]
jne 0x4beabe
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 0x60]
add ecx, eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004030b0
mov byte [esp + 0xb8], 0x22
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
push edx
add ecx, 0x20
call fcn.005c8b10
mov dword [esp + 0x58], 1
mov byte [esp + 0xb8], 0x21
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4beabe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, 7
mov esi, str.___IDMTRANSMITFLVPREFIX___
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x8c]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4beae0
sub eax, edx
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [edx + 0x60]
mov ecx, esi
lea edi, [esp + 0x8c]
cmp esi, 4
jb 0x4beb18
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4bec00
sub ecx, 4
add edi, 4
add eax, 4
cmp ecx, 4
jae 0x4beb00
cmp ecx, ebx
je 0x4beb48
mov dl, byte [edi]
cmp dl, byte [eax]
jne 0x4bec00
cmp ecx, 1
jbe 0x4beb48
mov dl, byte [edi + 1]
cmp dl, byte [eax + 1]
jne 0x4bec00
cmp ecx, 2
jbe 0x4beb48
mov cl, byte [edi + 2]
cmp cl, byte [eax + 2]
jne 0x4bec00
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x60]
add eax, esi
push eax
lea ecx, [esp + 0x28]
call fcn.004030b0
mov byte [esp + 0xb8], 0x24
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x3c]
add ecx, 0x20
call fcn.005c8b10
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
push edx
add eax, 0xe4
push 0x675ea0
push eax
call fcn.00402f70
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov byte [ecx + 0x34d], 1
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
push 0xfde9
push edx
add ecx, 0x11c
call fcn.00401980
mov eax, dword [esp + 0x38]
or dword [eax + 0x174], 0x40
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x60]
cmp eax, ebx
je 0x4bebef
push 0x2e
push eax
call fcn.0061faa0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4bebef
push 0x67ed00
push esi
call fcn.0061ee1e
add esp, 8
test eax, eax
jne 0x4bebef
mov byte [esi], bl
mov byte [esp + 0xb8], 0x21
lea ecx, [esp + 0x24]
call fcn.00402570
mov eax, dword [ebp + 0xc0]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x54], ebx
cmp eax, ebx
je 0x4bec8d
cmp eax, 2
je 0x4bec8d
cmp eax, 3
je 0x4bec8d
cmp eax, 5
je 0x4bec8d
cmp eax, 1
jne 0x4bed03
lea ecx, [esp + 0x28]
call fcn.00402500
mov byte [esp + 0xb8], 0x25
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc4]
lea edx, [esp + 0x28]
push edx
push eax
add ecx, 4
call fcn.004bccd0
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x60]
push 0x675ea0
push edx
call fcn.00402f70
add esp, 0xc
mov byte [esp + 0xb8], 0x21
lea ecx, [esp + 0x28]
call fcn.00402570
jmp 0x4bed03
xor edi, edi
cmp dword [ebp + 0x84], ebx
jle 0x4bed03
mov esi, dword [esp + 0x34]
push edi
lea ecx, [ebp + 0x7c]
call fcn.00458ff0
add eax, 4
mov eax, dword [eax]
mov ecx, esi
jmp 0x4becb0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4becd0
cmp dl, bl
je 0x4beccc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4becd0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4becb0
xor eax, eax
jmp 0x4becd5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4bece4
inc edi
cmp edi, dword [ebp + 0x84]
jl 0x4bec97
jmp 0x4bed03
push edi
lea ecx, [ebp + 0x7c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
call fcn.00458ff0
mov ecx, 1
mov dword [eax + 0x24], ecx
mov dword [ebp + 0xbc], ecx
mov eax, dword [ebp + 0x84]
lea ecx, [ebp + 0x7c]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.004bcd90
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
add dword [esp + 0x2c], 0x10
inc ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x4be8c3
cmp byte [esp + 0x1b], bl
je 0x4bed40
mov dword [ebp + 0x23c], ebx
mov ecx, dword [esp + 0xc8]
or esi, 0xffffffff
mov dword [ebp + 0x90], ecx
mov byte [ebp + 0xa0], 1
mov dword [ebp + 0x9c], esi
mov byte [ebp + 0x354], 1
mov dword [ebp + 0x358], ebx
mov dword [ebp + 0x35c], ebx
mov dword [ebp + 0x360], ebx
mov dword [ebp + 0x364], ebx
call fcn.005f9c7a
call fcn.005f9c7a
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp + 0x350], eax
mov al, 0x27
mov byte [esp + 0xb8], al
lea edx, [esp + 0x5c]
mov dword [esp + 0x64], edx
mov byte [esp + 0xb8], al
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bedd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 0x26
mov byte [esp + 0xb8], al
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], ecx
mov byte [esp + 0xb8], al
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bee09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb8], 0x20
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bee30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb8], 0x1f
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bee57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb8], esi
mov eax, ebp
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0061d2ff
add esp, 0xa8
ret 0x18
push 0x80070057
call fcn.00401090
call fcn.005f16d5
int3