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

Disassembly:
push 0xffffffffffffffff
push 0x651022
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
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.005f5d78
xor ebx, ebx
mov dword [esp + 0xb8], ebx
lea ecx, [ebp + 0x7c]
mov dword [ebp], method.CAboutDlg.virtual_0
call fcn.004b8410
mov byte [esp + 0xb8], 1
lea ecx, [ebp + 0x94]
call fcn.00600ae2
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.00403fa0
mov byte [esp + 0xb8], 4
lea ecx, [ebp + 0x134]
call fcn.00403fa0
mov byte [esp + 0xb8], 5
lea ecx, [ebp + 0x188]
call fcn.00403f00
mov byte [esp + 0xb8], 6
lea ecx, [ebp + 0x1dc]
call fcn.004f9180
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.004b8030
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 [0x752d28]
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.004612a0
mov byte [esp + 0xb8], 0x21
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jle 0x4bfe80
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jl 0x4bffd4
cmp dword [esp + 0x1c], eax
jge 0x4bffd4
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.004bb890
add esp, 4
test eax, eax
je 0x4bfa5b
mov ecx, dword [esp + 0x38]
add ecx, 0x20
push ecx
mov dword [ebp + 0x23c], 1
call fcn.004bbb60
add esp, 4
test al, al
je 0x4bfa5b
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x38]
push ebx
lea edx, [esp + 0x24]
push edx
add ecx, 0x20
call fcn.005923b0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.00405930
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push 0x678ea8
push edx
call fcn.00402f70
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jle 0x4bfb04
push 0x23
push eax
call fcn.00626793
add esp, 8
cmp eax, ebx
je 0x4bfb04
sub eax, dword [esp + 0x34]
mov edi, eax
cmp edi, 0xffffffff
jle 0x4bfb04
cmp edi, ebx
jl 0x4bffca
mov eax, dword [esp + 0x34]
mov esi, dword [eax - 0xc]
cmp edi, esi
jge 0x4bffca
cmp dword [eax - 4], 1
jle 0x4bfae2
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 0x4bffca
mov eax, dword [esp + 0x34]
cmp esi, dword [eax - 8]
jg 0x4bffca
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 0x4bfd40
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bfb24
sub eax, esi
je 0x4bfd40
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 0x4bfb50
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4bfb50
sub eax, esi
mov ecx, eax
lea esi, [esp + 0x6c]
mov edi, edx
cmp eax, 4
jb 0x4bfb7e
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x4bfbfe
sub ecx, 4
add esi, 4
add edi, 4
cmp ecx, 4
jae 0x4bfb66
cmp ecx, ebx
je 0x4bfba2
mov dl, byte [esi]
cmp dl, byte [edi]
jne 0x4bfbfe
cmp ecx, 1
jbe 0x4bfba2
mov dl, byte [esi + 1]
cmp dl, byte [edi + 1]
jne 0x4bfbfe
cmp ecx, 2
jbe 0x4bfba2
mov cl, byte [esi + 2]
cmp cl, byte [edi + 2]
jne 0x4bfbfe
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.005cb7d0
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 0x4bfbfe
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 0x4bfc20
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 0x4bfc58
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4bfd40
sub ecx, 4
add edi, 4
add eax, 4
cmp ecx, 4
jae 0x4bfc40
cmp ecx, ebx
je 0x4bfc88
mov dl, byte [edi]
cmp dl, byte [eax]
jne 0x4bfd40
cmp ecx, 1
jbe 0x4bfc88
mov dl, byte [edi + 1]
cmp dl, byte [eax + 1]
jne 0x4bfd40
cmp ecx, 2
jbe 0x4bfc88
mov cl, byte [edi + 2]
cmp cl, byte [eax + 2]
jne 0x4bfd40
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.005cb7d0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
push edx
add eax, 0xe4
push 0x678ea8
push eax
call fcn.00402f70
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov byte [ecx + 0x361], 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 + 0x17c], 0x40
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x60]
cmp eax, ebx
je 0x4bfd2f
push 0x2e
push eax
call fcn.00622910
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4bfd2f
push 0x681f58
push esi
call fcn.00621c8e
add esp, 8
test eax, eax
jne 0x4bfd2f
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 0x4bfdcd
cmp eax, 2
je 0x4bfdcd
cmp eax, 3
je 0x4bfdcd
cmp eax, 5
je 0x4bfdcd
cmp eax, 1
jne 0x4bfe43
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.004bde10
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x60]
push 0x678ea8
push edx
call fcn.00402f70
add esp, 0xc
mov byte [esp + 0xb8], 0x21
lea ecx, [esp + 0x28]
call fcn.00402570
jmp 0x4bfe43
xor edi, edi
cmp dword [ebp + 0x84], ebx
jle 0x4bfe43
mov esi, dword [esp + 0x34]
push edi
lea ecx, [ebp + 0x7c]
call fcn.0045ee70
add eax, 4
mov eax, dword [eax]
mov ecx, esi
jmp 0x4bfdf0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4bfe10
cmp dl, bl
je 0x4bfe0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4bfe10
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4bfdf0
xor eax, eax
jmp 0x4bfe15
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4bfe24
inc edi
cmp edi, dword [ebp + 0x84]
jl 0x4bfdd7
jmp 0x4bfe43
push edi
lea ecx, [ebp + 0x7c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
call fcn.0045ee70
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.004bded0
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 0x4bfa03
cmp byte [esp + 0x1b], bl
je 0x4bfe80
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.005fcb9c
call fcn.005fcb9c
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 0x4bff12
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 0x4bff49
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 0x4bff70
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 0x4bff97
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.0062016f
add esp, 0xa8
ret 0x18
push 0x80070057
call fcn.00401090
call fcn.005f4545
int3