Function at 0x440990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x124
push ebx
mov ebx, dword [esp + reloc.KERNEL32.dll_GetProcessHeap]
push ebp
mov ebp, dword [esp + reloc.KERNEL32.dll_GetProcessHeap]
push esi
push edi
mov edx, dword [ebp + 0x88]
mov ecx, 0x48
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
test edx, edx
mov dword [esp + 0x14], 0x10302
jbe 0x4409ee
mov esi, dword [ebp + 0x8c]
mov edi, dword [ebx]
mov ecx, esi
cmp dword [ecx], edi
jg 0x4409dd
inc eax
add ecx, 0x10
cmp eax, edx
jb 0x4409d1
test eax, eax
jbe 0x4409ee
shl eax, 4
lea eax, [eax + esi - 0x10]
mov dword [esp + 0x18], eax
jmp 0x4409f6
mov dword [esp + 0x18], 0
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x30], edx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
lea ecx, [esp + 0x40]
lea eax, [ebp + 0x44]
mov edx, 3
mov esi, dword [eax - 0xc]
add eax, 4
mov dword [ecx - 0xc], esi
mov esi, dword [eax - 4]
mov dword [ecx], esi
add ecx, 4
dec edx
jne 0x440a40
mov eax, dword [ebp + 0xa4]
mov ecx, 1
mov dword [esp + 0x4c], ecx
mov edi, dword [ebp + 8]
mov edx, dword [eax + 0x38]
mov esi, dword [esp + reloc.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x54], edx
mov edx, dword [ebx + 0x3c]
mov eax, dword [eax + 0x40]
mov dword [esp + 0x78], edx
mov edx, dword [ebx + 0x40]
mov dword [esp + 0x58], eax
mov eax, edi
mov dword [esp + 0x70], ecx
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x7c], edx
mov edx, dword [ebx]
mov dword [esp + 0x60], edi
shr eax, 1
cmp esi, 8
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0xb8], edx
jne 0x440b11
mov eax, dword [esp + reloc.KERNEL32.dll_GetProcessHeap]
mov edx, dword [esp + reloc.KERNEL32.dll_GetProcessHeap]
mov ecx, dword [eax]
mov eax, dword [edx]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xbc], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0xc0], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd4], eax
jmp 0x440e17
cmp esi, 0x10
jne 0x440bcb
mov ecx, dword [ebx + 0x14]
mov al, byte [ebp + 0x18]
mov edx, dword [ebx + 0x18]
inc ecx
test al, 4
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
je 0x440b69
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x10]
imul ecx, dword [esp + 0x24]
mov edi, dword [ebp + 0x98]
mov dword [esp + 0xc8], eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0xc4], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
test byte [ebp + 0x18], 8
je 0x440e17
xor edi, edi
call dword [0x50bb08]
mov eax, dword [ebp + 0x9c]
xor edx, edx
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 0x14]
test eax, eax
jbe 0x440e17
mov eax, dword [ebp + 0x10]
xor ecx, ecx
test eax, eax
jbe 0x440bbe
mov eax, 6
mov esi, dword [esp + 0xd8]
inc edi
dec eax
mov dword [esi + edi*4 - 4], 0x3f800000
jne 0x440ba3
mov eax, dword [ebp + 0x10]
inc ecx
cmp ecx, eax
jb 0x440b9e
mov eax, dword [ebp + 0x14]
inc edx
cmp edx, eax
jb 0x440b95
jmp 0x440e10
mov edx, dword [ebp + 0x18]
mov esi, dword [esp + reloc.KERNEL32.dll_GetProcessHeap]
test dl, 1
mov dword [esp + 0x10], edx
je 0x440c1f
mov edx, dword [esi]
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], edx
mov edx, dword [esi + 4]
mov dword [esp + 0x9c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
test byte [ebx + 8], 2
jne 0x440c2a
test dl, 2
je 0x440c98
mov ax, word [ebp + 4]
mov dx, word [ebp]
push eax
mov ax, word [ebp + 8]
push edx
push eax
push ecx
mov ecx, dword [esi]
push ecx
call fcn.0043e360
mov edx, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], eax
mov eax, dword [ebp]
shr edx, 1
shr eax, 1
push edx
mov edx, dword [ebx + 0x3c]
shr ecx, 1
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call fcn.0043e360
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], eax
mov eax, dword [ebp + 8]
shr ecx, 1
shr edx, 1
push ecx
mov ecx, dword [ebx + 0x40]
shr eax, 1
push edx
mov edx, dword [esi + 8]
push eax
push ecx
push edx
call fcn.0043e360
add esp, 0x3c
mov dword [esp + 0xf4], eax
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
inc eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xbc], eax
mov al, byte [ebp + 0x18]
test al, 4
je 0x440d18
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x98]
mov eax, dword [ebp + 0x10]
xor edi, edi
test ecx, ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
jbe 0x440d18
xor ecx, ecx
test eax, eax
jbe 0x440d10
imul eax, edi
add eax, ecx
mov esi, edi
imul esi, dword [esp + 0xc8]
lea edx, [eax + eax*2]
add esi, ecx
inc ecx
lea edx, [edx + edx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebx + 0x44]
mov eax, dword [edx + eax*8 + reloc.KERNEL32.dll_GetProcessHeap]
mov edx, dword [esp + 0xc4]
mov dword [edx + esi*4], eax
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jb 0x440cda
mov ecx, dword [ebp + 0x14]
inc edi
cmp edi, ecx
jb 0x440cd4
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0xd0], eax
mov esi, dword [ebx + reloc.KERNEL32.dll_GetProcessHeap]
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], eax
mov eax, dword [ebx + reloc.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0xcc], edx
mov dword [esp + 0x110], edx
mov edi, dword [ebx + reloc.KERNEL32.dll_GetProcessHeap]
cdq
and edx, 7
mov dword [esp + 0xd4], ecx
mov ecx, dword [ebx + reloc.KERNEL32.dll_GetProcessHeap]
add eax, edx
mov dword [esp + 0xe4], esi
mov esi, dword [ebx + reloc.KERNEL32.dll_GetProcessHeap]
sar eax, 3
mov dword [esp + 0xdc], ecx
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], ecx
mov edx, dword [esp + 0xec]
sub ecx, eax
mov eax, dword [ebx + reloc.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0xe8], esi
mov esi, dword [ebx + 0x14]
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], eax
mov eax, dword [ebx + reloc.KERNEL32.dll_GetProcessHeap]
inc esi
mov dword [esp + 0xe0], edi
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], edi
mov edi, dword [esp + reloc.KERNEL32.dll_GetProcessHeap]
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], esi
mov esi, dword [ebx + 0x18]
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], esi
test edi, edi
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], edx
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], eax
mov dword [esp + reloc.KERNEL32.dll_GetProcessHeap], ecx
je 0x440e10
mov ecx, 0xd
lea esi, reloc.KERNEL32.dll_GetProcessHeap
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + reloc.KERNEL32.dll_GetProcessHeap]
mov eax, dword [ebp + 0x90]
xor edi, edi
test eax, eax
jbe 0x440e55
call dword [0x50bb08]
mov edx, dword [ebp + 0x94]
mov ecx, dword [edx + edi*8]
lea eax, [edx + edi*8]
test ecx, ecx
je 0x440e4a
mov eax, dword [eax + 4]
lea edx, [esp + 0x14]
push 0
push edx
push esi
push eax
call ecx
add esp, 0x10
mov eax, dword [ebp + 0x90]
inc edi
cmp edi, eax
jb 0x440e23
call dword [0x50bb08]
cmp esi, 8
jne 0x440eb2
mov edx, dword [esp + reloc.KERNEL32.dll_GetProcessHeap]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
test eax, eax
mov dword [edx], ecx
jg 0x440e80
mov eax, 2
mov ecx, dword [esp + reloc.KERNEL32.dll_GetProcessHeap]
mov edx, dword [esp + 0xd0]
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xcc]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
pop ebp
pop ebx
add esp, 0x124
ret
cmp esi, 0x10
jne 0x441046
test byte [ebp + 0x18], 4
je 0x440f20
mov eax, dword [ebp + 0x14]
xor edx, edx
test eax, eax
mov dword [esp + 0x10], edx
jbe 0x440f5c
mov eax, dword [ebp + 0x10]
xor ecx, ecx
test eax, eax
jbe 0x440f12
imul eax, edx
mov esi, edx
add eax, ecx
imul esi, dword [esp + 0x24]
mov edi, dword [esp + 0xc4]
lea edx, [eax + eax*2]
add esi, ecx
inc ecx
lea edx, [edx + edx*4]
mov esi, dword [edi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebx + 0x44]
mov dword [edx + eax*8 + reloc.KERNEL32.dll_GetProcessHeap], esi
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x10]
cmp ecx, eax
jb 0x440edb
mov eax, dword [ebp + 0x14]
inc edx
cmp edx, eax
mov dword [esp + 0x10], edx
jb 0x440ed2
jmp 0x440f5c
mov eax, dword [ebp + 0x14]
xor esi, esi
test eax, eax
jbe 0x440f5c
mov eax, dword [ebp + 0x10]
xor edi, edi
xor ecx, ecx
cmp eax, edi
jbe 0x440f54
imul eax, esi
add eax, ecx
inc ecx
lea edx, [eax + eax*2]
lea edx, [edx + edx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebx + 0x44]
mov dword [edx + eax*8 + reloc.KERNEL32.dll_GetProcessHeap], edi
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jb 0x440f34
mov eax, dword [ebp + 0x14]
inc esi
cmp esi, eax
jb 0x440f29
test byte [ebp + 0x18], 8
je 0x440fea
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], 0
test eax, eax
jbe 0x441036
mov eax, dword [ebp + 0x10]
xor edi, edi
test eax, eax
jbe 0x440fd8
xor esi, esi
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xd8]
imul eax, dword [esp + 0x24]
add eax, edi
lea eax, [eax + eax*2]
lea ecx, [esi + eax*2]
fld dword [edx + ecx*4]
fmul dword [0x484154]
call fcn.0045c8f6
mov ecx, dword [ebp + 0x10]
imul ecx, dword [esp + 0x10]
add ecx, edi
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
lea edx, [esi + ecx*2]
mov ecx, dword [ebx + 0x44]
inc esi
cmp esi, 6
mov dword [ecx + edx*4 + reloc.KERNEL32.dll_GetProcessHeap], eax
jb 0x440f84
mov eax, dword [ebp + 0x10]
inc edi
cmp edi, eax
jb 0x440f82
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x440f79
jmp 0x441036
mov eax, dword [ebp + 0x14]
xor edi, edi
test eax, eax
jbe 0x441036
mov eax, dword [ebp + 0x10]
xor esi, esi
test eax, eax
jbe 0x44102e
xor ecx, ecx
mov eax, dword [ebp + 0x10]
imul eax, edi
add eax, esi
lea edx, [eax + eax*2]
lea edx, [edx + edx*4]
lea eax, [eax + edx*4]
lea edx, [ecx + eax*2]
mov eax, dword [ebx + 0x44]
inc ecx
cmp ecx, 6
mov dword [eax + edx*4 + reloc.KERNEL32.dll_GetProcessHeap], reloc.wtsapi32.dll_WTSVirtualChannelOpen
jb 0x440ffe
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, eax
jb 0x440ffc
mov eax, dword [ebp + 0x14]
inc edi
cmp edi, eax
jb 0x440ff3
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0xc0]
mov dword [ecx + 0xf0], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret