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

Disassembly:
push 0xffffffffffffffff
push 0x628a62
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
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.005d136b
xor ebx, ebx
mov dword [esp + 0xb8], ebx
lea ecx, [ebp + 0x7c]
mov dword [ebp], method.CAboutDlg.virtual_0
call fcn.004a86c0
mov byte [esp + 0xb8], 1
lea ecx, [ebp + 0x94]
call fcn.005dbff8
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.00403e90
mov byte [esp + 0xb8], 4
lea ecx, [ebp + 0x134]
call fcn.00403e90
mov byte [esp + 0xb8], 5
lea ecx, [ebp + 0x188]
call fcn.00403df0
mov byte [esp + 0xb8], 6
lea ecx, [ebp + 0x1dc]
call fcn.004e91d0
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.004a8390
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.004024e0
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 [0x704d14]
lea ecx, [esp + 0x20]
mov dword [ebp + 0x238], eax
mov dword [ebp + 0x23c], ebx
mov byte [esp + 0x1b], bl
call fcn.004024e0
mov byte [esp + 0xb8], 0x20
lea ecx, [esp + 0x30]
call fcn.0045a0b0
mov byte [esp + 0xb8], 0x21
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jle 0x4b0250
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
jl 0x4b03a4
cmp dword [esp + 0x1c], eax
jge 0x4b03a4
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.004acc80
add esp, 4
test eax, eax
je 0x4afe2b
mov ecx, dword [esp + 0x38]
add ecx, 0x20
push ecx
mov dword [ebp + 0x23c], 1
call fcn.004acf50
add esp, 4
test al, al
je 0x4afe2b
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x38]
push ebx
lea edx, [esp + 0x24]
push edx
add ecx, 0x20
call fcn.0057a620
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.00405800
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push 0x64edec
push edx
call fcn.00402f60
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jle 0x4afed4
push 0x23
push eax
call fcn.005fec0f
add esp, 8
cmp eax, ebx
je 0x4afed4
sub eax, dword [esp + 0x34]
mov edi, eax
cmp edi, 0xffffffff
jle 0x4afed4
cmp edi, ebx
jl 0x4b039a
mov eax, dword [esp + 0x34]
mov esi, dword [eax - 0xc]
cmp edi, esi
jge 0x4b039a
cmp dword [eax - 4], 1
jle 0x4afeb2
mov eax, esi
push eax
lea ecx, [esp + 0x38]
call fcn.00401700
mov eax, dword [esp + 0x34]
cmp esi, ebx
mov byte [eax + edi], bl
jl 0x4b039a
mov eax, dword [esp + 0x34]
cmp esi, dword [eax - 8]
jg 0x4b039a
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 0x4b0110
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4afef4
sub eax, esi
je 0x4b0110
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 0x4aff20
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4aff20
sub eax, esi
mov ecx, eax
lea esi, [esp + 0x6c]
mov edi, edx
cmp eax, 4
jb 0x4aff4e
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x4affce
sub ecx, 4
add esi, 4
add edi, 4
cmp ecx, 4
jae 0x4aff36
cmp ecx, ebx
je 0x4aff72
mov dl, byte [esi]
cmp dl, byte [edi]
jne 0x4affce
cmp ecx, 1
jbe 0x4aff72
mov dl, byte [esi + 1]
cmp dl, byte [edi + 1]
jne 0x4affce
cmp ecx, 2
jbe 0x4aff72
mov cl, byte [esi + 2]
cmp cl, byte [edi + 2]
jne 0x4affce
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 0x60]
add ecx, eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004030e0
mov byte [esp + 0xb8], 0x22
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
push edx
add ecx, 0x20
call fcn.005aea90
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 0x4affce
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 0x4afff0
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 0x4b0028
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4b0110
sub ecx, 4
add edi, 4
add eax, 4
cmp ecx, 4
jae 0x4b0010
cmp ecx, ebx
je 0x4b0058
mov dl, byte [edi]
cmp dl, byte [eax]
jne 0x4b0110
cmp ecx, 1
jbe 0x4b0058
mov dl, byte [edi + 1]
cmp dl, byte [eax + 1]
jne 0x4b0110
cmp ecx, 2
jbe 0x4b0058
mov cl, byte [edi + 2]
cmp cl, byte [eax + 2]
jne 0x4b0110
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x60]
add eax, esi
push eax
lea ecx, [esp + 0x28]
call fcn.004030e0
mov byte [esp + 0xb8], 0x24
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x3c]
add ecx, 0x20
call fcn.005aea90
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
push edx
add eax, 0xe4
push 0x64edec
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov byte [ecx + 0x33d], 1
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
push 0xfde9
push edx
add ecx, 0x11c
call fcn.00401960
mov eax, dword [esp + 0x38]
or dword [eax + 0x16c], 0x40
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x60]
cmp eax, ebx
je 0x4b00ff
push 0x2e
push eax
call fcn.005fad90
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4b00ff
push 0x657aa0
push esi
call fcn.005fa111
add esp, 8
test eax, eax
jne 0x4b00ff
mov byte [esi], bl
mov byte [esp + 0xb8], 0x21
lea ecx, [esp + 0x24]
call fcn.00402550
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 0x4b019d
cmp eax, 2
je 0x4b019d
cmp eax, 3
je 0x4b019d
cmp eax, 5
je 0x4b019d
cmp eax, 1
jne 0x4b0213
lea ecx, [esp + 0x28]
call fcn.004024e0
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.004ae250
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x60]
push 0x64edec
push edx
call fcn.00402f60
add esp, 0xc
mov byte [esp + 0xb8], 0x21
lea ecx, [esp + 0x28]
call fcn.00402550
jmp 0x4b0213
xor edi, edi
cmp dword [ebp + 0x84], ebx
jle 0x4b0213
mov esi, dword [esp + 0x34]
push edi
lea ecx, [ebp + 0x7c]
call fcn.00458380
add eax, 4
mov eax, dword [eax]
mov ecx, esi
jmp 0x4b01c0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b01e0
cmp dl, bl
je 0x4b01dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b01e0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4b01c0
xor eax, eax
jmp 0x4b01e5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4b01f4
inc edi
cmp edi, dword [ebp + 0x84]
jl 0x4b01a7
jmp 0x4b0213
push edi
lea ecx, [ebp + 0x7c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
call fcn.00458380
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.004ae310
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 0x4afdd3
cmp byte [esp + 0x1b], bl
je 0x4b0250
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.005d80b1
call fcn.005d80b1
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 0x4b02e2
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 0x4b0319
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 0x4b0340
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 0x4b0367
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.005f85e7
add esp, 0xa8
ret 0x18
push 0x80070057
call fcn.00401090
call fcn.005cfbb9
int3